We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6d7f53 commit 53d3a5fCopy full SHA for 53d3a5f
xobjects/context_pyopencl.py
@@ -218,7 +218,9 @@ def build_kernels(
218
with open(save_source_as, "w") as fid:
219
fid.write(specialized_source)
220
221
- prg = cl.Program(self.context, specialized_source).build()
+ prg = cl.Program(self.context, specialized_source).build(
222
+ options="-cl-std=CL2.0"
223
+ )
224
225
out_kernels = {}
226
for pyname, kernel in kernel_descriptions.items():
0 commit comments