ATLAS Offline Software
Macros | Functions
gpuQ.h File Reference

Go to the source code of this file.

Macros

#define gpuQ(ans)   { gpu_assert( ( ans ), __FILE__, __LINE__ ); }
 

Functions

void gpu_assert (cudaError_t code, const char *file, const int line)
 

Macro Definition Documentation

◆ gpuQ

#define gpuQ (   ans)    { gpu_assert( ( ans ), __FILE__, __LINE__ ); }

Definition at line 12 of file gpuQ.h.

Function Documentation

◆ gpu_assert()

void gpu_assert ( cudaError_t  code,
const char *  file,
const int  line 
)