# The installed package should contain the file: # /usr/doc/cudnn-@VERSION@/cudnn_test.c # # To test the installation of this cudnn package, # copy that file to somewhere with write permission, # then compile and run it e.g. ( . /etc/profile.d/cuda-13*.sh && \ cd /tmp && \ cp /usr/doc/cudnn-*/cudnn_test.c . && \ gcc cudnn_test.c -o cudnn_test \ $(pkg-config --cflags-only-I cuda) \ $(pkg-config --cflags-only-I cudnn) \ $(pkg-config --libs cudnn) && \ ./cudnn_test ) # (this assumes cudatoolkit_13 is installed - adjust as required) # # Alternatively, in a system with cudnn installed, just run this # README.slackware file as a bash script i.e. # bash /usr/doc/cudnn-*/README.slackware # # If all is OK, this should output something (depending on the # runtime version) like: # cuDNN runtime version: 92200 # OK # # If something is wrong, the output will be something like: # cudnnCreate failed: CUDNN_STATUS_NOT_INITIALIZED # (or some other "failed" message)