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

Fix include test on OS X.

parent f0ebe48f
No related branches found
No related tags found
No related merge requests found
...@@ -354,10 +354,16 @@ class TestCL: ...@@ -354,10 +354,16 @@ class TestCL:
kernel_src = """ kernel_src = """
#include <empty-header.h> #include <empty-header.h>
kernel void zonk() {} kernel void zonk(global int *a)
{
*a = 5;
}
""" """
cl.Program(context, kernel_src).build('-I.')
cl.Program(context, kernel_src).build('-I.') import os
cl.Program(context, kernel_src).build(["-I", os.getcwd()])
cl.Program(context, kernel_src).build(["-I", os.getcwd()])
@pytools.test.mark_test.opencl @pytools.test.mark_test.opencl
def test_context_dep_memoize(self, ctx_factory): def test_context_dep_memoize(self, ctx_factory):
......
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