File: inc.h

package info (click to toggle)
hipify 7.0.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,336 kB
  • sloc: cpp: 31,275; perl: 17,300; sh: 167; ruby: 23; python: 10; makefile: 9; ansic: 4
file content (4 lines) | stat: -rw-r--r-- 209 bytes parent folder | download | duplicates (2)
1
2
3
4
#define K_THREADS 64
#define K_INDEX() ((gridDim.x * blockIdx.y + blockIdx.x) * blockDim.x + threadIdx.x)
#define RND() ((rand() & 0x7FFF) / float(0x8000))
#define ERRORCHECK() cErrorCheck(__FILE__, __LINE__)