Skip to content

Commit

Permalink
added __restrict__ definition
Browse files Browse the repository at this point in the history
  • Loading branch information
acgreek committed Jan 29, 2013
1 parent d90a0ef commit 091bf61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/cuda_emu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ cudaError_t cudaDeviceSynchronize()
#define __global__

#define __shared__ volatile static
#define __restrict__


#define blockIdx getBlockIdx()
Expand Down Expand Up @@ -263,4 +264,5 @@ void setupCudaSim(const unsigned blocks_x, const unsigned int blocksize_x,
setupCudaSim(dimGrid, dimBlock, func);
}


#endif

0 comments on commit 091bf61

Please sign in to comment.