-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use with cuda in Window #409
Comments
Yes I didn't configure Cuda/Cudnn for windows. I didn't have a Windows PC with a Nvidia GPU when I wrote the Cuda backend. Hopefuly the only thing needed is to change the paths to the compiler here: Lines 3 to 32 in 5bf4327
|
thanks, I've found that and changed already. But I wonder are there any ways to a unified config file for all OS ? |
Ideally I want to completely do away with the config files. I don't like them at all but at the moment they are a necessary evil. Let's go over the config file: Lines 3 to 32 in 71ccad0
This could be removed if NVCC becomes an official compiler in Nim with the proper flags. There is still one issue left though: either I distribute precompiled CUDA-enabled binaries or users ensure that CUDA/nvcc is in their path which AFAIK isn't automatic on Windows. I tried using Clang but Clang support always has a versioning delay with CUDA, see #372 (comment) when I tried in August
Apparently the new Clang 9.1 supports Cuda 10.1 (though Clang is still annoying to install on Windows) Lines 34 to 41 in 71ccad0
and Lines 47 to 57 in 71ccad0
Would require to replace BLAS and LAPACK which is something I've started to do in Laser but besides the matrix multiplication which is now as fast as OpenBLAS in pure Nim, I need QR decomposition, LU decomposition, Eigenvalues and solver implemented as well (from https://github.com/mratsim/Arraymancer/tree/master/src/linear_algebra/helpers) Lines 59 to 67 in 71ccad0
would require removing OpenMP, for which Weave is a very viable alternative and actually probably much better as it does not suffer from: https://github.com/zy97140/omp-benchmark-for-pytorch Lines 69 to 81 in 71ccad0
This isn't necessary anymore since: nim-lang/Nim#12662 |
Hi, I cannot compile wwith the flag -d:cudnn in Window
My computer use:
GTX 1060
cuda 10.0
cudnn 7
The text was updated successfully, but these errors were encountered: