hipDNN icon indicating copy to clipboard operation
hipDNN copied to clipboard

hipDNN fails to compile in nvcc platform

Open eddy16112 opened this issue 6 years ago • 1 comments

I tried to compile hipdnn on Nvidia platform, and I get the following errors:

/home/wwu/app/hipDNN-NV/library/src/nvcc_detail/hipdnn_cudnn.cpp:2349:66: error: macro "CHECK_CUDNN" passed 7 arguments, but takes just 1
                                             &cuTF, &k, &c, &h, &w);

/home/wwu/app/hipDNN-NV/library/src/nvcc_detail/hipdnn_cudnn.cpp(2348): error: argument of type "int **" is incompatible with parameter of type "int *"

/home/wwu/app/hipDNN-NV/library/src/nvcc_detail/hipdnn_cudnn.cpp(2348): error: argument of type "int **" is incompatible with parameter of type "int *"

/home/wwu/app/hipDNN-NV/library/src/nvcc_detail/hipdnn_cudnn.cpp(2348): error: argument of type "int **" is incompatible with parameter of type "int *"

/home/wwu/app/hipDNN-NV/library/src/nvcc_detail/hipdnn_cudnn.cpp(2348): error: argument of type "int **" is incompatible with parameter of type "int *"

They should be easy to fix.

eddy16112 avatar Jul 31 '19 21:07 eddy16112

besides, there is also parenthesis error hipdnn_cudnn.cpp#L2348-L2349

quickwritereader avatar Jan 08 '21 12:01 quickwritereader