cccc-lite icon indicating copy to clipboard operation
cccc-lite copied to clipboard

C2065: 'MYMIOPEN_DATA_REAL': undeclared identifier

Open ncnnnnn opened this issue 1 year ago • 1 comments

cccc\TensorDesc.cpp(49,71): error C2065: 'MYMIOPEN_DATA_REAL'

ncnnnnn avatar Feb 06 '24 09:02 ncnnnnn

#if ENABLE_HIP
#define CREATE_MIOPEN_DESC(type)                       \
   template <>                                        \
   void OtherDesc::create<miopen##type##_t>(void** p) \
   {                                                  \
       miopenCreate##type((miopen##type##_t*)p);      \
   }

CREATE_MIOPEN_DESC(ConvolutionDescriptor)
CREATE_MIOPEN_DESC(ActivationDescriptor)
CREATE_MIOPEN_DESC(PoolingDescriptor)
#endif

ncnnnnn avatar Feb 06 '24 09:02 ncnnnnn