Closed mrakgr closed 7 years ago
So the default library location was changed between the 7.5 and 8.0 releases? Or was it between 7.0 and 7.5?
Also, did you try compiling against 8.0? I tested with 8.0 on my Mac and it seems to build, but I haven't added any of the new features yet so it's not supported per-se. It would be good to know if it builds on Windows as well, or what is required to do so.
I should also mention I don't have a windows machine to test this with. Does the install location depend the version of windows as well? If you could me help sort this out or submit a PR that would be awesome.
I'll try building it using stack right now. I have all the Cuda SDKs between 6.5-8.0 and looking at the directory structure, I see that all of them have it uniform. I am not sure how the build ever succeeded on Windows. But it would not be hard to change the setup.hs
to look at the correct locations.
Oh, since you asked whether the install location depends on the version of Windows, I'll say that I would be very much surprised that this was the case. It would affect the default drive location of the Program Files
directory where Cuda SDK are installed, but that is about it.
In fact the aforementioned directory
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\x64\
does not exist, instead the file is inC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\lib\x64
.There is also one other bug, as I have multiple versions of Cuda SDK installed, at first it tried using the Cuda 8.0 which was in
CUDA_PATH
. I had to change it to 7.5 manually. Since the package is not using the most up to date version at the moment, I would suggest using theCUDA_PATH_V7_5
variable to look for the default directory.