diff options
Diffstat (limited to 'src/kernels/opencl_to_cuda.h')
-rw-r--r-- | src/kernels/opencl_to_cuda.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernels/opencl_to_cuda.h b/src/kernels/opencl_to_cuda.h index 94a1549e..fac30dfc 100644 --- a/src/kernels/opencl_to_cuda.h +++ b/src/kernels/opencl_to_cuda.h @@ -18,6 +18,7 @@ R"( // CLBlast specific additions #define CUDA 1 +#define LOCAL_PTR // pointers to local memory don't have to be annotated in CUDA // Replaces the OpenCL get_xxx_ID with CUDA equivalents __device__ int get_local_id(const int x) { |