Skip to content

Commit 131e774

Browse files
committed
Move examples/cuda/* to examples/*.
Now that the `examples/optix/` directory is gone, the `cuda/` subdirectory isn't needed.
1 parent 0a056d4 commit 131e774

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+25
-27
lines changed

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ members = [
2828
"crates/rustc_codegen_nvvm",
2929
"crates/rustc_codegen_nvvm_macros",
3030

31-
"examples/cuda/gemm",
32-
"examples/cuda/gemm/kernels",
33-
"examples/cuda/path_tracer",
34-
"examples/cuda/path_tracer/kernels",
35-
"examples/cuda/sha2_crates_io",
36-
"examples/cuda/sha2_crates_io/kernels",
37-
"examples/cuda/vecadd",
38-
"examples/cuda/vecadd/kernels",
31+
"examples/gemm",
32+
"examples/gemm/kernels",
33+
"examples/path_tracer",
34+
"examples/path_tracer/kernels",
35+
"examples/sha2_crates_io",
36+
"examples/sha2_crates_io/kernels",
37+
"examples/vecadd",
38+
"examples/vecadd/kernels",
3939

4040
"samples/introduction/async_api",
4141
"samples/introduction/async_api/kernels",
File renamed without changes.

examples/cuda/gemm/Cargo.toml renamed to examples/gemm/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ version = "0.1.0"
44
edition = "2024"
55

66
[dependencies]
7-
blastoff = { path = "../../../crates/blastoff" }
8-
cuda_std = { path = "../../../crates/cuda_std" }
9-
cust = { path = "../../../crates/cust" }
10-
cust_raw = { path = "../../../crates/cust_raw", features = ["driver"] }
7+
blastoff = { path = "../../crates/blastoff" }
8+
cuda_std = { path = "../../crates/cuda_std" }
9+
cust = { path = "../../crates/cust" }
10+
cust_raw = { path = "../../crates/cust_raw", features = ["driver"] }
1111
ndarray = { version = "0.16", features = ["approx"] }
1212
ndarray-rand = "0.15.0"
1313
rand = "0.9"
File renamed without changes.

examples/cuda/gemm/kernels/Cargo.toml renamed to examples/gemm/kernels/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2024"
55

66
[dependencies]
7-
cuda_std = { path = "../../../../crates/cuda_std" }
7+
cuda_std = { path = "../../../crates/cuda_std" }
88
glam = { version = "0.30.1", default-features = false, features = ["cuda", "nostd-libm"] }
99

1010
[lib]
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)