23 #include <cublas_v2.h> 24 #include <cuda_runtime.h> 29 namespace perception {
33 #define NO_GPU assert(false) 38 #define BASE_CUDA_CHECK(condition) \ 39 { apollo::perception::base::GPUAssert((condition), __FILE__, __LINE__); } 41 inline void GPUAssert(cudaError_t code,
const char *file,
int line,
43 if (code != cudaSuccess) {
44 fprintf(stderr,
"GPUassert: %s %s %d\n", cudaGetErrorString(code), file,
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
void GPUAssert(cudaError_t code, const char *file, int line, bool abort=true)
Definition: common.h:61