17 #include <cuda_runtime.h>    22 #define CUDA_CHECK(callstr)\    24     cudaError_t error_code = callstr;\    25     if (error_code != cudaSuccess) {\    26       std::cerr << "CUDA error " << error_code << " at " << __FILE__ << ":";\    27       std::cerr << __LINE__;\    36 void CudaYoloPreprocess(uint8_t* src, 
int src_width, 
int src_height,
    37                         float* dst, 
int dst_width, 
int dst_height,
    38                         const std::vector<float> padding_value,
 All C++ FastDeploy APIs are defined inside this namespace. 
Definition: option.h:16