Skip to content

Commit b53812a

Browse files
small fix
1 parent 1b477b3 commit b53812a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ branches:
1111
only:
1212
- master
1313
notifications:
14-
email: false
14+
email:
15+
on_failure: change
16+
on_succes: never

kernel_tuner/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def _get_device_interface(lang, device):
503503
raise UnImplementedException("Sorry, support for languages other than CUDA, OpenCL, or C is not implemented yet")
504504
return dev
505505

506-
def _check_kernel_correctness(dev, func, gpu_args, threads, grid, answer, instance_string, atol):
506+
def _check_kernel_correctness(dev, func, gpu_args, threads, grid, answer, instance_string, atol=1e-6):
507507
"""runs the kernel once and checks the result against answer"""
508508
for result, expected in zip(gpu_args, answer):
509509
if expected is not None:

0 commit comments

Comments
 (0)