Volatile-memory-accces OpenCL target
Compare changes
Files
2- Andreas Klöckner authored
+ 39
− 0
@@ -647,4 +647,43 @@ class OpenCLCASTBuilder(CASTBuilder):
cc @jdsteve2
Use as
from loopy.target.pyopencl import VolatileMemPyOpenCLTarget
knl = lp.make_kernel(
...,
target=VolatileMemPyOpenCLTarget())