ROCm / hipDNN

A thin wrapper around miOpen and cuDNN
37 stars 15 forks source link

hipDNN fails to compile in nvcc platform #47

Open eddy16112 opened 5 years ago

eddy16112 commented 5 years ago

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.

quickwritereader commented 3 years ago

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