Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrictions to CudNN and CUDA toolkit version. #81

Open
Erik-Koning opened this issue May 11, 2018 · 8 comments
Open

Restrictions to CudNN and CUDA toolkit version. #81

Erik-Koning opened this issue May 11, 2018 · 8 comments

Comments

@Erik-Koning
Copy link

I am trying to run neural_artistic_style with the Nvidia CUDA toolkit 9.1 and 7.1 cudNN. Are these newer version from nividia not supported? I have ran into many problems such as the GPU architecture not supported error in this project, and other errors in neural_artistic_style.

@Erik-Koning Erik-Koning changed the title Restrictions to CudNN and CUDA toolkits version. Restrictions to CudNN and CUDA toolkit version. May 11, 2018
@Erik-Koning
Copy link
Author

When making cudarray specifically i also recieve the error:
src/nnet/cudnn.cpp:169:5**: error: too few arguments to function** ‘cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionDescriptor_t, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t)'));

@prannayk
Copy link

Yes it does seem that this library does not work with CUDA 8.0 or above

@The-Oracle
Copy link

The-Oracle commented Dec 11, 2018

For cudNN 7.x and CUDA 9.x compatibility, make the following change in cudnn.cpp, replace lines 167-169 with the following:

CUDNN_CHECK(cudnnSetConvolution2dDescriptor(
conv_desc, pad_y, pad_x, stride_y, stride_x, 1, 1, CUDNN_CONVOLUTION, CUDNN_DATA_FLOAT
));

This will get you past the compilation error, I have not yet had the chance to test the library with cudNN 7 and CUDA 9.

@yueanga
Copy link

yueanga commented Mar 11, 2021

For cudNN 7.x and CUDA 9.x compatibility, make the following change in cudnn.cpp, replace lines 167-169 with the following:

CUDNN_CHECK(cudnnSetConvolution2dDescriptor(
conv_desc, pad_y, pad_x, stride_y, stride_x, 1, 1, CUDNN_CONVOLUTION, CUDNN_DATA_FLOAT
));

This will get you past the compilation error, I have not yet had the chance to test the library with cudNN 7 and CUDA 9.

it worked with cuda10 as well
thank you so much!!!!

@MobtgZhang
Copy link

I am trying to install cudarry,but the version of cuda-toolkit is cuda10.2 and cuDNN 8.2.1.32,I meet the same problems as you,how can I solve this problem?

src/nnet/cudnn.cpp:169:5: error: too few arguments to function ‘cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionDescriptor_t, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t)’
));
^

@MobtgZhang
Copy link

and how about the installation of cuda10.x and cuda11.x for cudarray?

@Bernadette-Mohr
Copy link

and how about the installation of cuda10.x and cuda11.x for cudarray?

For me, the change in the code also worked for cuda 11.6.

@SWEDEN1003
Copy link

For cudNN 7.x and CUDA 9.x compatibility, make the following change in cudnn.cpp, replace lines 167-169 with the following:

CUDNN_CHECK(cudnnSetConvolution2dDescriptor( conv_desc, pad_y, pad_x, stride_y, stride_x, 1, 1, CUDNN_CONVOLUTION, CUDNN_DATA_FLOAT ));

This will get you past the compilation error, I have not yet had the chance to test the library with cudNN 7 and CUDA 9.

For me, it can work for cuda -11.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants