Nvidia’s cuDNN installation doc recommends testing successful
install by compiling the mnistCUDNN project from cudnn_samples_v7.
This generates a chain of errors, documented here:
run sudo emacs /usr/local/cuda/include/cuda_runtime_api.h
Before this line:
typedef void (CUDART_CB *cudaStreamCallback_t)(cudaStream_t stream, cudaError_t status, void *userData);
add this code
#define CUDART_CB __stdcall
Open the file:
And change the line:
Judging from comments above, this seems to have persisted over a year or so.
Is there a reason why the errors are still present in the sample code?