Go to the source code of this file.
◆ Assert
◆ Assertf
| #define Assertf |
( |
|
cond, |
|
|
|
fmt, |
|
|
|
... |
|
) |
| |
Value: do { \
if (!(cond)) { \
fprintf(stderr, "Assert failed 💀. %s in file %s:%d, message: " fmt "\n", #cond, __FILE__, __LINE__, __VA_ARGS__); \
abort(); \
} \
} while (false)
Definition at line 62 of file 9.0/sources/includes/ds3d/common/helper/check.hpp.
◆ Asserts
| #define Asserts |
( |
|
cond, |
|
|
|
s |
|
) |
| |
◆ checkCudaErrors
| #define checkCudaErrors |
( |
|
cudaErrorCode | ) |
|
Value: { \
cudaError_t status = cudaErrorCode; \
if (status != 0) { \
std::cout << "Cuda failure: " << cudaGetErrorString(status) << " at line " << __LINE__ \
<< " in file " << __FILE__ << " error status: " << status << std::endl; \
abort(); \
} \
}
Definition at line 52 of file 9.0/sources/includes/ds3d/common/helper/check.hpp.
◆ checkKernel
| #define checkKernel |
( |
|
... | ) |
|
◆ checkRuntime
◆ dprintf
◆ DS3D_INFER_ASSERT
| #define DS3D_INFER_ASSERT |
( |
|
expr | ) |
|
◆ DS3D_NVUNUSED
| #define DS3D_NVUNUSED |
( |
|
a | ) |
{ (void)(a); } |
◆ DS3D_NVUNUSED2
| #define DS3D_NVUNUSED2 |
( |
|
a, |
|
|
|
b |
|
) |
| |