Failed cuDNN installation test (./mnistCUDNN)

I figured it out. You have to change
cudnn_samples_v8/samples_common.mk such that the last line includes 30. Then all the tests will run.

So,
SMS ?= 30 35 50 53 60 61 62 $(SMS_VOLTA) $(SMS_A100)