JuliaGPU / CUDA_Runtime_Discovery.jl

Counterpart of CUDA_Runtime_jll, but for discovering a local toolkit.
Other
0 stars 4 forks source link

Mismatch between find_library and find_cuda_library #11

Open maleadt opened 5 years ago

maleadt commented 5 years ago

Libdl requires the lib prefix, CUDAapi doesn't.

qin-yu commented 4 years ago

Libdl requires the lib prefix, CUDAapi doesn't.

Do you mean

Libdl.find_library("libccalltest", [private_libdir])

vs

CUDAapi.find_cuda_binary("ptxas", dirs)

So may I just change CUDAapi.find_library() so it remove lib for windows instead of adding lib-prefix for unix?

So we can finally do this?

CUDAapi.find_cuda_binary("libptxas", dirs)