mirror of https://github.com/AlexeyAB/darknet.git
Fixed behavior if missing library cudnn.lib
This commit is contained in:
parent
e83d8e56d5
commit
d7a30ada7e
|
@ -2,7 +2,9 @@
|
||||||
#include "curand.h"
|
#include "curand.h"
|
||||||
#include "cublas_v2.h"
|
#include "cublas_v2.h"
|
||||||
|
|
||||||
|
#ifdef CUDNN
|
||||||
#pragma comment(lib, "cudnn.lib")
|
#pragma comment(lib, "cudnn.lib")
|
||||||
|
#endif
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "convolutional_layer.h"
|
#include "convolutional_layer.h"
|
||||||
|
|
|
@ -8,7 +8,9 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#ifdef CUDNN
|
||||||
#pragma comment(lib, "cudnn.lib")
|
#pragma comment(lib, "cudnn.lib")
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef AI2
|
#ifdef AI2
|
||||||
#include "xnor_layer.h"
|
#include "xnor_layer.h"
|
||||||
|
|
Loading…
Reference in New Issue