mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Minor fix
This commit is contained in:
@ -25,6 +25,10 @@ int gpu_index = 0;
|
||||
#endif // USE_CMAKE_LIBS
|
||||
#endif // CUDNN
|
||||
|
||||
#if defined(CUDNN_HALF) && !defined(CUDNN)
|
||||
#error "If you set CUDNN_HALF=1 then you must set CUDNN=1"
|
||||
#endif
|
||||
|
||||
void cuda_set_device(int n)
|
||||
{
|
||||
gpu_index = n;
|
||||
|
Reference in New Issue
Block a user