Skip to content
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

CUDA 12 support #65

Open
maxekman opened this issue Jul 4, 2023 · 5 comments
Open

CUDA 12 support #65

maxekman opened this issue Jul 4, 2023 · 5 comments

Comments

@maxekman
Copy link

maxekman commented Jul 4, 2023

First of all - nice package! 👍

I would like to ask if anyone is working on updating this package to support CUDA 12?

@neurlang
Copy link
Contributor

you can add:

require gorgonia.org/cu v0.9.5-0.20240520013750-498bd6b70d43

to your go.mod, cuda 12 should work

@maxekman
Copy link
Author

Interesting! Thanks.

@chewxy
Copy link
Member

chewxy commented May 26, 2024

@hunjixin
Copy link
Contributor

# gorgonia.org/cu
..\..\go\pkg\mod\gorgonia.org\cu@v0.9.5\addressing.go:3:11: fatal error: cuda.h: No such file or directory
    3 | // #include <cuda.h>
      |           ^~~~~~~~
compilation terminated.

@hunjixin
Copy link
Contributor

i think we should add cuda 12 support here

////WINDOWS:
//#cgo windows LDFLAGS:-LC:/cuda/v12.0/lib/x64 -LC:/cuda/v5.5/lib/x64 -LC:/cuda/v6.0/lib/x64 -LC:/cuda/v6.5/lib/x64 -LC:/cuda/v7.0/lib/x64 -LC:/cuda/v8.0/lib/x64 -LC:/cuda/v9.0/x64 -LC:/cuda/v11.8/lib/x64
//#cgo windows CFLAGS: -IC:/cuda/v12.0/include -IC:/cuda/v5.5/include -IC:/cuda/v6.0/include -IC:/cuda/v6.5/include -IC:/cuda/v7.0/include -IC:/cuda/v8.0/include -IC:/cuda/v9.0/include -IC:/cuda/v11.8/include

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants