Skip to content

Commit

Permalink
Made it possible to run some of the GEMM kernels using CUDA (those wi…
Browse files Browse the repository at this point in the history
…thout shared memory)
  • Loading branch information
CNugteren committed Jun 29, 2016
1 parent 6177c14 commit 0526f9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samples/cl_to_cuda.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#define __local __shared__
#define restrict __restrict__
#define __constant const
#define inline __device__ inline // assumes all device functions are annotated with inline in OpenCL

// Replaces OpenCL synchronisation with CUDA synchronisation
#define barrier(x) __syncthreads()
Expand Down

0 comments on commit 0526f9d

Please sign in to comment.