mirror of https://github.com/AlexeyAB/darknet.git
Fixed compile error
This commit is contained in:
parent
e947bf29af
commit
2f52cfeb07
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue