Compile error on cuDNN v8
xTayEx opened this issue · comments
When compiling on cuDNN v8.7, the following compilation error occurs.
convolution.cu(82): error: identifier "CUDNN_CONVOLUTION_FWD_PREFER_FASTEST" is undefined
convolution.cu(82): error: identifier "cudnnGetConvolutionForwardAlgorithm" is undefined
convolution.cu(87): error: identifier "CUDNN_CONVOLUTION_BWD_FILTER_PREFER_FASTEST" is undefined
convolution.cu(87): error: identifier "cudnnGetConvolutionBackwardFilterAlgorithm" is undefined
convolution.cu(92): error: identifier "CUDNN_CONVOLUTION_BWD_DATA_PREFER_FASTEST" is undefined
convolution.cu(92): error: identifier "cudnnGetConvolutionBackwardDataAlgorithm" is undefined
6 errors detected in the compilation of "convolution.cu".
make: *** [Makefile:43: convolution] Error 1
Hi, have you solved the problem?
This may because after cuda 8.0 these functions have been removed.
Hi, sorry for the confusion.
Although the message show some error in build, train
is build and you can test.
The error message is limited to convolution.cu
file and it is not related to the major software.
I updated Makefile
so that the message will not be shown as I drop the build of convolution.cu
file.
Hi, sorry for the confusion.
Although the message show some error in build,
train
is build and you can test.The error message is limited to
convolution.cu
file and it is not related to the major software.I updated
Makefile
so that the message will not be shown as I drop the build ofconvolution.cu
file.
Thanks! I just realized that the train
has been built and I can now train the model normally