Define gpuErrchk

Define Documentation

gpuErrchk(ans)

Error check function for safe CUDA API calling Wrap any cuda runtime API calls with this macro to automatically check the returned cudaError_t