Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10936

Build fails with cuDNN 8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: master, 6.22/00
    • Fix Version/s: 6.24/00, 6.22/02
    • Component/s: Build System, TMVA
    • Labels:
      None
    • Environment:

      Arch Linux x86_64, GCC 9.3.0, CUDA 11, cuDNN 8.0.1

      Description

      DNN was implemented using deprecated identifiers which are now removed from the cuDNN release:

      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/RecurrentPropagation.cu(135): error: identifier "cudnnSetRNNDescriptor" is undefined
                detected during:
                  instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeRecurrentDescriptors(TMVA::DNN::TDescriptors *&, RNNLayer *) [with AFloat=Float_t, RNNLayer=TMVA::DNN::RNN::TBasicRNNLayer<TMVA::DNN::TCudnn<Float_t>>]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/inc/TMVA/DNN/Architectures/TCudnn.h(177): here
                  instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeRNNDescriptors(TMVA::DNN::TDescriptors *&, TMVA::DNN::TCudnn<AFloat>::RNNLayer_t *) [with AFloat=Float_t]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu(40): here
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/RecurrentPropagation.cu(135): error: identifier "cudnnSetRNNDescriptor" is undefined
                detected during:
                  instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeRecurrentDescriptors(TMVA::DNN::TDescriptors *&, RNNLayer *) [with AFloat=Float_t, RNNLayer=TMVA::DNN::RNN::TBasicLSTMLayer<TMVA::DNN::TCudnn<Float_t>>]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/inc/TMVA/DNN/Architectures/TCudnn.h(180): here
                  instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeLSTMDescriptors(TMVA::DNN::TDescriptors *&, TMVA::DNN::TCudnn<AFloat>::LSTMLayer_t *) [with AFloat=Float_t]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu(40): here
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/RecurrentPropagation.cu(135): error: identifier "cudnnSetRNNDescriptor" is undefined
                detected during:
                  instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeRecurrentDescriptors(TMVA::DNN::TDescriptors *&, RNNLayer *) [with AFloat=Float_t, RNNLayer=TMVA::DNN::RNN::TBasicGRULayer<TMVA::DNN::TCudnn<Float_t>>]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/inc/TMVA/DNN/Architectures/TCudnn.h(183): here
                  instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeGRUDescriptors(TMVA::DNN::TDescriptors *&, TMVA::DNN::TCudnn<AFloat>::GRULayer_t *) [with AFloat=Float_t]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu(40): here
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(382): error: identifier "cudnnConvolutionFwdPreference_t" is undefined
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(382): error: identifier "CUDNN_CONVOLUTION_FWD_PREFER_FASTEST" is undefined
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(383): error: identifier "CUDNN_CONVOLUTION_FWD_NO_WORKSPACE" is undefined
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(443): error: identifier "cudnnConvolutionBwdDataPreference_t" is undefined
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(444): error: identifier "CUDNN_CONVOLUTION_BWD_DATA_PREFER_FASTEST" is undefined
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(444): error: identifier "CUDNN_CONVOLUTION_BWD_DATA_NO_WORKSPACE" is undefined
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(486): error: identifier "cudnnConvolutionBwdFilterPreference_t" is undefined
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(487): error: identifier "CUDNN_CONVOLUTION_BWD_FILTER_NO_WORKSPACE" is undefined
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(488): error: identifier "CUDNN_CONVOLUTION_BWD_FILTER_PREFER_FASTEST" is undefined
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(387): error: identifier "cudnnGetConvolutionForwardAlgorithm" is undefined
                detected during instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeConvWorkspace(TMVA::DNN::TWorkspace *&, TMVA::DNN::TDescriptors *&, const TMVA::DNN::CNN::TConvParams &, TMVA::DNN::TCudnn<AFloat>::ConvLayer_t *) [with AFloat=Float_t]"
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu(40): here
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(446): error: identifier "cudnnGetConvolutionBackwardDataAlgorithm" is undefined
                detected during instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeConvWorkspace(TMVA::DNN::TWorkspace *&, TMVA::DNN::TDescriptors *&, const TMVA::DNN::CNN::TConvParams &, TMVA::DNN::TCudnn<AFloat>::ConvLayer_t *) [with AFloat=Float_t]"
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu(40): here
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(490): error: identifier "cudnnGetConvolutionBackwardFilterAlgorithm" is undefined
                detected during instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeConvWorkspace(TMVA::DNN::TWorkspace *&, TMVA::DNN::TDescriptors *&, const TMVA::DNN::CNN::TConvParams &, TMVA::DNN::TCudnn<AFloat>::ConvLayer_t *) [with AFloat=Float_t]"
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu(40): here
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/RecurrentPropagation.cu(135): error: identifier "cudnnSetRNNDescriptor" is undefined
                detected during:
                  instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeRecurrentDescriptors(TMVA::DNN::TDescriptors *&, RNNLayer *) [with AFloat=Double_t, RNNLayer=TMVA::DNN::RNN::TBasicRNNLayer<TMVA::DNN::TCudnn<Double_t>>]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/inc/TMVA/DNN/Architectures/TCudnn.h(177): here
                  instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeRNNDescriptors(TMVA::DNN::TDescriptors *&, TMVA::DNN::TCudnn<AFloat>::RNNLayer_t *) [with AFloat=Double_t]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu(41): here
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/RecurrentPropagation.cu(135): error: identifier "cudnnSetRNNDescriptor" is undefined
                detected during:
                  instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeRecurrentDescriptors(TMVA::DNN::TDescriptors *&, RNNLayer *) [with AFloat=Double_t, RNNLayer=TMVA::DNN::RNN::TBasicLSTMLayer<TMVA::DNN::TCudnn<Double_t>>]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/inc/TMVA/DNN/Architectures/TCudnn.h(180): here
                  instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeLSTMDescriptors(TMVA::DNN::TDescriptors *&, TMVA::DNN::TCudnn<AFloat>::LSTMLayer_t *) [with AFloat=Double_t]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu(41): here
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/RecurrentPropagation.cu(135): error: identifier "cudnnSetRNNDescriptor" is undefined
                detected during:
                  instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeRecurrentDescriptors(TMVA::DNN::TDescriptors *&, RNNLayer *) [with AFloat=Double_t, RNNLayer=TMVA::DNN::RNN::TBasicGRULayer<TMVA::DNN::TCudnn<Double_t>>]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/inc/TMVA/DNN/Architectures/TCudnn.h(183): here
                  instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeGRUDescriptors(TMVA::DNN::TDescriptors *&, TMVA::DNN::TCudnn<AFloat>::GRULayer_t *) [with AFloat=Double_t]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu(41): here
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(387): error: identifier "cudnnGetConvolutionForwardAlgorithm" is undefined
                detected during instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeConvWorkspace(TMVA::DNN::TWorkspace *&, TMVA::DNN::TDescriptors *&, const TMVA::DNN::CNN::TConvParams &, TMVA::DNN::TCudnn<AFloat>::ConvLayer_t *) [with AFloat=Double_t]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu(41): here
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(446): error: identifier "cudnnGetConvolutionBackwardDataAlgorithm" is undefined
                detected during instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeConvWorkspace(TMVA::DNN::TWorkspace *&, TMVA::DNN::TDescriptors *&, const TMVA::DNN::CNN::TConvParams &, TMVA::DNN::TCudnn<AFloat>::ConvLayer_t *) [with AFloat=Double_t]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu(41): here
       
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn/Propagate.cu(490): error: identifier "cudnnGetConvolutionBackwardFilterAlgorithm" is undefined
                detected during instantiation of "void TMVA::DNN::TCudnn<AFloat>::InitializeConvWorkspace(TMVA::DNN::TWorkspace *&, TMVA::DNN::TDescriptors *&, const TMVA::DNN::CNN::TConvParams &, TMVA::DNN::TCudnn<AFloat>::ConvLayer_t *) [with AFloat=Double_t]"
      /build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu(41): here
       
      21 errors detected in the compilation of "/build/root/src/root-6.22.00-cuda/tmva/tmva/src/DNN/Architectures/Cudnn.cu".
      

        Attachments

          Activity

            People

            Assignee:
            moneta Lorenzo Moneta
            Reporter:
            kgizdov Konstantin Gizdov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: