Comments (4)
Oh sorry, forgot about that. Yes, this was the reason for the breaking 3.0 release: I removed most of the version databases in this package to lower the maintenance burden. Downstream users have to have some notion about the versions of a library that they support anyway, so I opted for having them pass that instead. For CUDNN, generally passing [v"7"]
or whatever you require should work.
For CUDA itself, a minimal set of versions is maintained as it is required to discover the toolkit itself. You can them figure out the version of that toolkit by calling parse_toolkit_version
with a tool that has a --version
option (like nvdisasm
or ptxas
) and use that version to discover libraries that have the same version as the toolkit (CUBLAS, CUFFT, etc).
from cudaapi.jl.
Where exactly is the CUDNN DLL? Also please run with JULIA_DEBUG=CUDAapi.
from cudaapi.jl.
cudnn.lib
is in C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\lib\x64
cudnn64_7.dll
is in C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin
Debug: Looking for CUDA toolkit via environment variables CUDA_PATH
└ @ CUDAapi C:\Julia-1.3.0\.julia\packages\CUDAapi\wYUAO\src\CUDAapi.jl:8
┌ Debug: Request to look for library cudnn
│ locations =
│ 1-element Array{String,1}:
│ "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.1"
└ @ CUDAapi C:\Julia-1.3.0\.julia\packages\CUDAapi\wYUAO\src\CUDAapi.jl:8
┌ Debug: Looking for library cudnn64, cudnn
│ locations =
│ 6-element Array{String,1}:
│ "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.1"
│ ⋮
│ "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.1\\bin\\x64"
└ @ CUDAapi C:\Julia-1.3.0\.julia\packages\CUDAapi\wYUAO\src\CUDAapi.jl:8
Fortunately I had an older sysimage compiled for Knet, which uses:
CUDAapi uuid = "3895d2a7-ec45-59b8-82bb-cfc6a382f9b3"
version = "2.1.0"
This one works
from cudaapi.jl.
Update:
It seems that versions
variable from find_cuda_library
is not populated.
version = "2.1.0" of CUDAapi has:
find_cuda_library(name::String, toolkit_dirs::Vector{String}=String[];
versions::Vector{VersionNumber}=reverse(get(cuda_versions, name, cuda_versions["toolkit"])),
kwargs...)
while latest version has:
function find_cuda_library(name::String, toolkit_dirs::Vector{String}=String[],
versions::Vector{VersionNumber}=VersionNumber[]; kwargs...)
from cudaapi.jl.
Related Issues (20)
- Remove warning HOT 3
- @runtime_ccall thread safety HOT 5
- could not load library: "C:\Users\USER\.julia\artifacts\~~~\bin\cudnn64_7.dll" HOT 2
- Could not find nvToolsExt (libnvToolsExt.dylib.1.0 or libnvToolsExt.dylib.1) in /Users/imac/.julia/artifacts/b502baf54095dff4a69fd6aba8667124583f6929/lib HOT 1
- ERROR: Could not find a suitable GCC HOT 4
- Unable to find cudnn HOT 9
- Cannot find cuDNN that was installed via anaconda (without sudo) HOT 4
- Fix hardcoded CUDA versions to folder name autodetection? HOT 2
- macOS CI for CUDA 10+ HOT 1
- CI does not spot: libcudadevrt.lib is actually cudadevrt.lib on windows HOT 4
- find_library word_size
- Longer term goal with other CUDA libraries HOT 4
- Finding 8.0 files instead of 10.1 ones HOT 5
- CUDA discovery failing with 1.3.0-rc1 HOT 1
- Discovery fails if CUDA env vars are set to empty variable HOT 2
- Float64 HOT 1
- CUDA version warning throws MethodError: no method matching version()
- Sort paths from CUDAapi.find_toolkit() in the descending order? HOT 2
- find_host_compiler was removed, but is still exported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cudaapi.jl.