VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Macros | Functions

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 >
makVrv::DtCheckCuda (T result, char const *const func, const char *const file, int const line, DtDe &de)
 
int makVrv::DtGpuGetMaxGflopsDeviceId (DtDe &de)
 

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

#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().


Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)