#include <stdio.h>
#include <string.h>
#include <iostream>
#include <random_quda.h>
#include <cuda.h>
#include <quda_internal.h>
#include <comm_quda.h>
#include <index_helper.cuh>
Go to the source code of this file.
◆ BLOCKSDIVUP
#define BLOCKSDIVUP |
( |
|
a, |
|
|
|
b |
|
) |
| (((a)+(b)-1)/(b)) |
◆ CUDA_SAFE_CALL
◆ CUDA_SAFE_CALL_NO_SYNC
#define CUDA_SAFE_CALL_NO_SYNC |
( |
|
call | ) |
|
Value:{ \
cudaError err = call; \
if( cudaSuccess != err) { \
fprintf(stderr, "Cuda error in file '%s' in line %i : %s.\n", \
__FILE__, __LINE__, cudaGetErrorString( err) ); \
exit(EXIT_FAILURE); \
} \
}
Definition at line 12 of file random.cu.