CUDAapi is responsible for detecting cuDNN, so you can go ahead and open an issue there. Please attach the output of Pkg.build("CuArrays")
with JULIA_DEBUG=CUDAapi
in your environment.
As a workaround, you can just hack the ext.jl
to contain the path to libcudnn.so