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

support cuda toolkit version: 11.7 #214

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ cuda_11080 = []
cuda_12000 = []
cuda_12010 = []
cuda_12020 = []
cuda_11070 = []

nvrtc = []
driver = ["nvrtc"]
Expand Down
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ fn link_cuda() {
"12010" => println!("cargo:rustc-cfg=feature=\"cuda_12010\""),
"12000" => println!("cargo:rustc-cfg=feature=\"cuda_12000\""),
"11080" => println!("cargo:rustc-cfg=feature=\"cuda_11080\""),
"11070" => println!("cargo:rustc-cfg=feature=\"cuda_11070\""),
v => panic!("Unsupported cuda toolkit version: `{v}`. Please raise a github issue."),
}
}
Expand Down
5 changes: 5 additions & 0 deletions src/cublas/sys/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#[cfg(feature = "cuda_11070")]
mod sys_11070;
#[cfg(feature = "cuda_11070")]
pub use sys_11070::*;

#[cfg(feature = "cuda_11080")]
mod sys_11080;
#[cfg(feature = "cuda_11080")]
Expand Down
Loading
Loading