We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2772dca commit 1ff436eCopy full SHA for 1ff436e
dlib/cuda/cudnn_dlibapi.h
@@ -4,10 +4,10 @@
4
#define DLIB_DNN_CuDNN_H_
5
6
#ifdef DLIB_USE_CUDA
7
-
8
#include "cuda_errors.h"
9
#include <memory>
10
#include "cuda_data_ptr.h"
+#endif // DLIB_USE_CUDA
11
12
namespace dlib
13
{
@@ -25,6 +25,7 @@ namespace dlib
25
!*/
26
enum class operation_mode { CHANNEL_WISE = 0, PLANE_WISE = 1 };
27
28
+#ifdef DLIB_USE_CUDA
29
namespace cuda
30
31
@@ -429,9 +430,8 @@ namespace dlib
429
430
// ------------------------------------------------------------------------------------
431
432
}
-}
433
434
#endif // DLIB_USE_CUDA
+}
435
436
#endif // DLIB_DNN_CuDNN_H_
437
0 commit comments