VR-Vantage
Loading...
Searching...
No Matches

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. More...

Go to the source code of this file.

Namespaces

namespace  makVrv
 Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarations.

Macros

#define DtCheckCudaErrors(val, 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)
 This function returns the best GPU (with maximum GFLOPS).

Detailed Description

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.

Macro Definition Documentation

◆ DtCheckCudaErrors

#define DtCheckCudaErrors ( val,
de )
Value:
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().