#include <cuda_runtime.h>
#include <nvgraph.h>
Go to the source code of this file.
|
| void | checkCuda (cudaError_t result, const char *file, const int line) |
| |
| void | checkNvgraph (nvgraphStatus_t result, const char *file, const int line) |
| |
◆ CUDA_RUNTIME
| #define CUDA_RUNTIME |
( |
|
stmt | ) |
checkCuda(stmt, __FILE__, __LINE__); |
◆ NVGRAPH
| #define NVGRAPH |
( |
|
stmt | ) |
checkNvgraph(stmt, __FILE__, __LINE__); |
◆ checkCuda()
| void checkCuda |
( |
cudaError_t |
result, |
|
|
const char * |
file, |
|
|
const int |
line |
|
) |
| |
◆ checkNvgraph()
| void checkNvgraph |
( |
nvgraphStatus_t |
result, |
|
|
const char * |
file, |
|
|
const int |
line |
|
) |
| |