![]() |
VR-Forces Developer's Guide
|
Go to the source code of this file.
Namespaces | |
| makVrv | |
Macros | |
| #define | DtCheckCudaErrors(val, de) DtCheckCuda((val), #val, __FILE__, __LINE__, de) |
Functions | |
| template<typename T > | |
| T | makVrv::DtCheckCuda (T result, char const *const func, const char *const file, int const line, DtDe &de) |
| int | makVrv::DtGpuGetMaxGflopsDeviceId (DtDe &de) |
Contains modified utilities from the helper_cuda.h file. The only difference here, is that if an error happen in one of these functions it will not exit after the error.
| #define DtCheckCudaErrors | ( | val, | |
| de | |||
| ) | DtCheckCuda((val), #val, __FILE__, __LINE__, de) |
This is exactly the same function as checkCudaErrors() from helper_cuda.h (From NVidia CUDA) except it does not exit the application when if finds an error This will output the proper CUDA error strings in the event that a CUDA host call returns an error.
Referenced by makVrv::DtGpuGetMaxGflopsDeviceId().