Skip to content

Commit f724c2c

Browse files
committed
move assert gpu_times not nan
1 parent f14107d commit f724c2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

code/test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,3 +238,6 @@ def write_junit(f, algos, times, label):
238238
for label, times in times_dic.items():
239239
write_junit(f, algo_executed, times, label)
240240
f.write('</testsuite>\n')
241+
242+
if do_gpu:
243+
assert not numpy.isnan(gpu_times).any()

0 commit comments

Comments
 (0)