Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanwerkhoven committed Jun 13, 2016
1 parent 1b477b3 commit b53812a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ branches:
only:
- master
notifications:
email: false
email:
on_failure: change
on_succes: never
2 changes: 1 addition & 1 deletion kernel_tuner/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def _get_device_interface(lang, device):
raise UnImplementedException("Sorry, support for languages other than CUDA, OpenCL, or C is not implemented yet")
return dev

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

0 comments on commit b53812a

Please sign in to comment.