Skip to content

Commit baad988

Browse files
committed
actually fixing the bug on the time kernel counter
1 parent 1b6d0c0 commit baad988

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎httomo/method_wrappers/generic.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def execute(self, block: T) -> T:
334334
block = self._run_method(block, args)
335335
block = self._postprocess_data(block)
336336

337-
if self.is_cpu:
337+
if self.is_gpu:
338338
self._gpu_time_info.kernel = t.elapsed
339339
else:
340340
self._gpu_time_info.kernel = 0

0 commit comments

Comments
 (0)