Skip to content

Compilation Error in cudnn_conv_layer.cpp: 'CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT’ was not declared in this scope #1025

Open
@tahriribraq

Description

I have edited my makefile correctly for cuDNN and all other dependencies, as you may see attached. However, I am getting the error in my attached terminal windows when compiling src/caffe/layers/cudnn_conv_layer.cpp:5. The following variables were not declared in this scope:
CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT
CUDNN_CONVOLUTION_BWD_DATA_SPECIFY_WORKSPACE_LIMIT
CUDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT

Upon googling, I found another person who faced the same problem: https://forums.developer.nvidia.com/t/jetpack-4-4-l4t-r32-4-3-production-release/140870/21. Someone from Nvidia replied to him saying that these cuDNN defines and functions were previously marked as deprecated and have now been removed. Looks like code in this repo was not updated to support the latest CUDA packages, so can anyone please give a solution? Maybe using an older version of cuDNN? Please help!

I have correctly installed Cuda 11.0, cuDNN 8.0 for Cuda 11.0, latest nvidia drivers(450) on my Ubuntu 20.04 machine with Nvidia's GTX 1050M graphics card.

Your system configuration

Operating system: Ubuntu 20.04 (Focal Fossa)
Compiler: nvcc v11.0
CUDA version (if applicable): 11.0
CUDNN version (if applicable): 8.0
BLAS: OpenBLAS
Python or MATLAB version (for pycaffe and matcaffe respectively): Python 3.8

caffe_cudnn_error

makefileconfig.txt

nvidia_caffe_cudnn_error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions