Skip to content
Snippets Groups Projects
Commit e44d00da authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix integer division issue in clmath tests (fix by Paul Ivanov).

parent 0df882e2
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ if have_cl():
sizes = [10, 128, 1024, 1<<10, 1<<13]
sizes = [10, 128, 1<<10, 1<<11, 1<<13]
......@@ -45,6 +45,9 @@ numpy_func_names = {
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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment