Go to the source code of this file.
|
| static const char * | _cufftGetErrorEnum (cufftResult error) |
| | Return the symbolic name of a cuFFT status. More...
|
| |
| static const char * | _cublasGetErrorEnum (cublasStatus_t error) |
| | Return the symbolic name of a cuBLAS status. More...
|
| |
| void | gpuAssert (CUresult code, const char *file, int line, bool abort=true) |
| | Report a CUDA driver error and optionally throw an exception. More...
|
| |
| void | gpuAssert (cudaError_t code, const char *file, int line, bool abort=true) |
| | Report a CUDA runtime error and optionally throw an exception. More...
|
| |
| void | gpuAssert_cublas (cublasStatus_t code, const char *file, int line, bool abort=true) |
| | Report a cuBLAS error and optionally throw an exception. More...
|
| |
| void | gpuAssert_cufft (cufftResult code, const char *file, int line, bool abort=true) |
| | Report a cuFFT error and optionally throw an exception. More...
|
| |
| void | gpuAssert_vpi (VPIStatus code, const char *file, int line, bool abort=true) |
| | Report a VPI error and optionally throw an exception. More...
|
| |
◆ CUBLAS_CHECK
| #define CUBLAS_CHECK |
( |
|
condition | ) |
gpuAssert_cublas(condition, __FILE__, __LINE__); |
◆ CUDA_CHECK
| #define CUDA_CHECK |
( |
|
condition | ) |
gpuAssert(condition, __FILE__, __LINE__); |
◆ CUFFT_CHECK
| #define CUFFT_CHECK |
( |
|
condition | ) |
gpuAssert_cufft(condition, __FILE__, __LINE__); |
◆ VPI_CHECK
| #define VPI_CHECK |
( |
|
STMT | ) |
gpuAssert_vpi((STMT), __FILE__, __LINE__); \ |
◆ _cublasGetErrorEnum()
| static const char* _cublasGetErrorEnum |
( |
cublasStatus_t |
error | ) |
|
|
static |
◆ _cufftGetErrorEnum()
| static const char* _cufftGetErrorEnum |
( |
cufftResult |
error | ) |
|
|
static |
◆ gpuAssert() [1/2]
| void gpuAssert |
( |
cudaError_t |
code, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
bool |
abort = true |
|
) |
| |
|
inline |
Report a CUDA runtime error and optionally throw an exception.
- Parameters
-
| [in] | code | CUDA runtime status to check. |
| [in] | file | Source filename associated with the check. |
| [in] | line | Source line associated with the check. |
| [in] | abort | Enables throwing an exception after reporting an error. |
Definition at line 160 of file sources/libs/nvmultiobjecttracker/include/modules/utility/cuda_common.hpp.
◆ gpuAssert() [2/2]
| void gpuAssert |
( |
CUresult |
code, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
bool |
abort = true |
|
) |
| |
|
inline |
◆ gpuAssert_cublas()
| void gpuAssert_cublas |
( |
cublasStatus_t |
code, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
bool |
abort = true |
|
) |
| |
|
inline |
◆ gpuAssert_cufft()
| void gpuAssert_cufft |
( |
cufftResult |
code, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
bool |
abort = true |
|
) |
| |
|
inline |
◆ gpuAssert_vpi()
| void gpuAssert_vpi |
( |
VPIStatus |
code, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
bool |
abort = true |
|
) |
| |
|
inline |