diff --git a/include/cuda_emu.hpp b/include/cuda_emu.hpp index acbb5a7..e2330aa 100644 --- a/include/cuda_emu.hpp +++ b/include/cuda_emu.hpp @@ -105,6 +105,7 @@ cudaError_t cudaDeviceSynchronize() #define __global__ #define __shared__ volatile static +#define __restrict__ #define blockIdx getBlockIdx() @@ -263,4 +264,5 @@ void setupCudaSim(const unsigned blocks_x, const unsigned int blocksize_x, setupCudaSim(dimGrid, dimBlock, func); } + #endif