Fixed compile error

This commit is contained in:
AlexeyAB 2018-03-17 01:12:00 +03:00
parent e947bf29af
commit 2f52cfeb07
1 changed files with 2 additions and 0 deletions

View File

@ -22,12 +22,14 @@ extern "C" {
#define FRAMES 3
#ifdef GPU
void check_cuda(cudaError_t status) {
if (status != cudaSuccess) {
const char *s = cudaGetErrorString(status);
printf("CUDA Error Prev: %s\n", s);
}
}
#endif
struct detector_gpu_t {
float **probs;