Add CUDA 11.8 and alternative means of setting up cgo on Windows #60
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
After some initial problem I'm finally able to compile the
cudatest/main.go
in Windows 10. I need to add-LC:/cuda/v11.8/lib/x64
and-IC:/cuda/v11.8/include
tocgoflags.go
since the version of CUDA I just downloaded is now v11.8.Perhaps there's a better way of future-proofing this entry? maybe rewriting the symlink method defined in readme to also include the version numbers like
mklink /D C:\cuda "c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\"
, then adding-LC:/cuda/lib/x64
tocgoflags.go
?Additionally as I already have an existing Go development environment setup, I had some difficulty compiling using the msys method defined in the readme. What I found is that by installing TDM-GCC,
cgo
simply works without further configuration. I'd like to add this on the readme if it's acceptable.Thanks.