Skip to content
Permalink
Browse files
Fix integer division issue in clmath tests (fix by Paul Ivanov).
  • Loading branch information
inducer committed Oct 30, 2010
1 parent 0df882e commit e44d00da9e7d411c30e1b08a6088e51967f2d3c0
Showing with 4 additions and 1 deletion.
  1. +4 −1 test/test_clmath.py
@@ -21,7 +21,7 @@ def have_cl():



sizes = [10, 128, 1024, 1<<10, 1<<13]
sizes = [10, 128, 1<<10, 1<<11, 1<<13]



@@ -45,6 +45,9 @@ def has_double_support(dev):


def make_unary_function_test(name, (a, b)=(0, 1), threshold=0):
a = float(a)
b = float(b)

def test(ctx_getter):
context = ctx_getter()
queue = cl.CommandQueue(context)

0 comments on commit e44d00d

Please sign in to comment.