File: inc.h

package info (click to toggle)
hipify 6.0.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,680 kB
  • sloc: cpp: 21,488; perl: 10,478; sh: 129; ruby: 22; python: 5; makefile: 5; 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__)