Skip to content

Commit

Permalink
support cuda toolkit version: 11.7 (#214)
Browse files Browse the repository at this point in the history
* support cuda toolkit version: 11.7

* support cuda toolkit version: 11.7
add cudnn & nccl
1 cudnn/sys/sys_11070.rs
2 nccl/sys/sys_11070.rs

---------

Co-authored-by: wenhaozhao <wenhaozhao@sohu-inc.com>
  • Loading branch information
wenhaozhao and wenhaozhao committed Mar 28, 2024
1 parent 005a999 commit c45c1d2
Show file tree
Hide file tree
Showing 15 changed files with 15,287 additions and 0 deletions.
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

0 comments on commit c45c1d2

Please sign in to comment.