|
| __device__ void | print (int3 a) |
| | Prints an int3 from within device code. More...
|
| |
| __device__ int3 | operator- (int3 a, int3 b) |
| | Subtracts two int3. More...
|
| |
| __device__ int3 | operator+ (int3 a, int3 b) |
| | Adds two int3. More...
|
| |
| __device__ int | norm1 (int3 a) |
| | Returns the norm 1 of an int3 (norm of the absolute value). More...
|
| |
| __device__ void | moveSeed (int &movingSeed) |
| | Randomizes the given number, which also serves as the random generation seed. More...
|
| |
| __device__ int | randomize (int &movingSeed) |
| | A wrapper for moveSeed, which also returns the generated random number. More...
|
| |
| __device__ double | randomize_d (int &movingSeed) |
| | Version of randomize that returns a number in range [0,1]. More...
|
| |
| __device__ double | atomicAdd_d (double *address, double val) |
| | Atomic addition, which only uses the built-in atomicCAS function. More...
|
| |