gorgonia / cu

package cu provides an idiomatic interface to the CUDA Driver API.
Apache License 2.0
475 stars 64 forks source link

How to use with CUDA 9? #17

Closed kolkov closed 6 years ago

kolkov commented 7 years ago

Hi! I use Visual Studio 2017 and CUDA 8.0 can't install with this version. How to use with CUDA 9.0 RC?

chewxy commented 7 years ago

I'm sorry I don't quite follow. Let me try to see if I understand you: you're on Windows, using Visual Studio... And you can't use the package with CUDA 8. Is CUDA 8 installed?

On 13 Sep. 2017 9:39 pm, "Andrey Kolkov" notifications@github.com wrote:

Hi! I use Visual Studio 2017 and CUDA 8.0 can't install with this version. How to use with CUDA 9.0 RC?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chewxy/cu/issues/17, or mute the thread https://github.com/notifications/unsubscribe-auth/AAczUlw-2OSFzB4n3I2yw37uskfceIw4ks5sh77xgaJpZM4PV-fl .

chewxy commented 7 years ago

I'll work on CUDA 9 soon... right now this supports CUDA 8 only

kolkov commented 7 years ago

Have you watched already, are there many differences in the new version, except for the version number? Thanks!

chewxy commented 7 years ago

I read the pre-release notes a few weeks ago. I've not looked into it in-depth because I don't quite have the bandwidth right now

Xuanyi Chew @chewxy on Twitter Read: my blog http://blog.chewxy.com +61403928398

On Wed, Sep 13, 2017 at 10:56 PM, Andrey Kolkov notifications@github.com wrote:

Have you watched already, are there many differences in the new version, except for the version number? Thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/chewxy/cu/issues/17#issuecomment-329158844, or mute the thread https://github.com/notifications/unsubscribe-auth/AAczUkAa6fLa41sGSa0Y_kGhKrulO1Gnks5sh9EMgaJpZM4PV-fl .

kolkov commented 7 years ago

Yes, I work in Windows. I can not install CUDA 8 by a standard way. The installer fails with new version of Visual Studio. ((

kolkov commented 7 years ago

I found an instruction how to install CUDA 8 with Visual Stubio 2017! Thanks! https://www.olegtarasov.me/how-to-build-cuda-toolkit-projects-in-visual-studio-2017/

kolkov commented 7 years ago

CUDA 9 released now. https://developer.nvidia.com/cuda-toolkit/whatsnew http://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html

kolkov commented 7 years ago

I tryed to use CUDA 9 and got this error:

# github.com/chewxy/cu
C:/Program Files/mingw-w64/x86_64-5.2.0-posix-seh-rt_v4-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcuda
collect2.exe: error: ld returned 1 exit status
chewxy commented 6 years ago

It works now :)