Go to the source code of this file.
Macros | |
| #define | CUDA_CHECK(condition) gpuAssert(condition, __FILE__, __LINE__); |
| #define | CUBLAS_CHECK(condition) gpuAssert_cublas(condition, __FILE__, __LINE__); |
| #define | CUFFT_CHECK(condition) gpuAssert_cufft(condition, __FILE__, __LINE__); |
| #define | VPI_CHECK(STMT) gpuAssert_vpi((STMT), __FILE__, __LINE__); \ |
Functions | |
| 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... | |
| #define CUBLAS_CHECK | ( | condition | ) | gpuAssert_cublas(condition, __FILE__, __LINE__); |
Definition at line 226 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/cuda_common.hpp.
| #define CUDA_CHECK | ( | condition | ) | gpuAssert(condition, __FILE__, __LINE__); |
Definition at line 223 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/cuda_common.hpp.
| #define CUFFT_CHECK | ( | condition | ) | gpuAssert_cufft(condition, __FILE__, __LINE__); |
Definition at line 229 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/cuda_common.hpp.
| #define VPI_CHECK | ( | STMT | ) | gpuAssert_vpi((STMT), __FILE__, __LINE__); \ |
Definition at line 233 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/cuda_common.hpp.
|
static |
Return the symbolic name of a cuBLAS status.
| [in] | error | cuBLAS status value. |
Definition at line 96 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/cuda_common.hpp.
Referenced by gpuAssert_cublas().
|
static |
Return the symbolic name of a cuFFT status.
| [in] | error | cuFFT status value. |
Definition at line 41 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/cuda_common.hpp.
Referenced by gpuAssert_cufft().
|
inline |
Report a CUDA runtime error and optionally throw an exception.
| [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 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/cuda_common.hpp.
|
inline |
Report a CUDA driver error and optionally throw an exception.
| [in] | code | CUDA driver 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 142 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/cuda_common.hpp.
|
inline |
Report a cuBLAS error and optionally throw an exception.
| [in] | code | cuBLAS 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 176 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/cuda_common.hpp.
References _cublasGetErrorEnum().
|
inline |
Report a cuFFT error and optionally throw an exception.
| [in] | code | cuFFT 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 192 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/cuda_common.hpp.
References _cufftGetErrorEnum().
|
inline |
Report a VPI error and optionally throw an exception.
| [in] | code | VPI 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 209 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/cuda_common.hpp.