Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
move assert gpu_times not nan
  • Loading branch information
slefrancois committed Oct 7, 2016
commit f724c2c6054c736c548196d2a7a000ec307e0b0d
3 changes: 3 additions & 0 deletions code/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,6 @@ def write_junit(f, algos, times, label):
for label, times in times_dic.items():
write_junit(f, algo_executed, times, label)
f.write('</testsuite>\n')

if do_gpu:
assert not numpy.isnan(gpu_times).any()