Skip to content
Draft
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
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ exclude = [
"crates/optix/examples/common",
]

[profile.dev.package.rustc_codegen_nvvm]
[profile.dev.package.rustc_codegen_nvvm_v7]
opt-level = 3

[profile.dev.package.rustc_codegen_nvvm_v19]
opt-level = 3

[workspace.dependencies]
Expand Down
1 change: 1 addition & 0 deletions container/ubuntu22-cuda12/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM nvcr.io/nvidia/cuda:12.8.1-cudnn-devel-ubuntu22.04
# TODO: needs to change to 12.9.0 for llvm-v19

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -qq -y install \
build-essential \
Expand Down
1 change: 1 addition & 0 deletions container/ubuntu24-cuda12/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM nvcr.io/nvidia/cuda:12.8.1-cudnn-devel-ubuntu24.04
# TODO: needs to change to 12.9.0 for llvm-v19

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -qq -y install \
build-essential \
Expand Down
10 changes: 8 additions & 2 deletions crates/cuda_builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ description = "Builder for easily building rustc_codegen_nvvm crates"
repository = "https://github.com/Rust-GPU/Rust-CUDA"
readme = "../../README.md"

[features]
default = ["nvvm-v7"]
nvvm-v7 = ["dep:rustc_codegen_nvvm_v7"]
nvvm-v19 = ["dep:rustc_codegen_nvvm_v19"]

[dependencies]
rustc_codegen_nvvm = { version = "0.3", path = "../rustc_codegen_nvvm" }
rustc_codegen_nvvm_v7 = { version = "0.3", path = "../rustc_codegen_nvvm_v7", optional = true }
rustc_codegen_nvvm_v19 = { version = "0.3", path = "../rustc_codegen_nvvm_v19", optional = true }
nvvm = { path = "../nvvm", version = "0.1" }
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.138"
serde_json = "1.0.138"
Loading
Loading