From 091bf61b43b3b72e2fc5d8cb00b10283932f07ac Mon Sep 17 00:00:00 2001 From: Anthony C Date: Tue, 29 Jan 2013 07:40:58 -0500 Subject: [PATCH] added __restrict__ definition --- include/cuda_emu.hpp | 2 ++ 1 file changed, 2 insertions(+) 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