mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Fixed compile error
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user