cuda on windows

364 views
Skip to first unread message

boris....@gmail.com

unread,
Jun 28, 2017, 3:59:27 PM6/28/17
to clojure-cortex
For those interested in getting gpu-accelerated cortex to work on windows; after some puzzling with finding the right libraries, this worked for me:

- Download and install cuda_8.0.61_win10.exe
- Download cuDNN v5.1 (Jan 20, 2017), for CUDA 8.0
- use [org.bytedeco.javacpp-presets/cuda "8.0-1.2"] in project.clj
- add to path C:\Users\yourname\javacpp-1.2 (you can get these 4 libraries by copying them from C:\Users\yourname\AppData\Temp\javacpp...randomnumbers-1.2 directory, if you get complaints about a missing jnicudnn.dll
- add to path C:\Users\yourname\cuda5.1-for-8.0\bin

And now cortex seems to work gpu accelerated on windows.

Harold

unread,
Jun 29, 2017, 11:02:18 AM6/29/17
to clojure-cortex
Boris,

Thanks!

I've linked this from the README, here:

Take care,
-Harold
Reply all
Reply to author
Forward
0 new messages