Skip to content

Commit ff06f92

Browse files
mivertowskiclaude
andcommitted
Add required-features to CUDA-only wavesim binaries
Mark test_cuda, bench_packed, and verify_packed binaries as requiring the "cuda" feature. This prevents build failures when building wavesim without CUDA support (CPU-only builds). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6409c4b commit ff06f92

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

crates/ringkernel-wavesim/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,17 @@ path = "src/bin/full_benchmark.rs"
7373
[[bin]]
7474
name = "test_cuda"
7575
path = "src/bin/test_cuda.rs"
76+
required-features = ["cuda"]
7677

7778
[[bin]]
7879
name = "bench_packed"
7980
path = "src/bin/bench_packed.rs"
81+
required-features = ["cuda"]
8082

8183
[[bin]]
8284
name = "verify_packed"
8385
path = "src/bin/verify_packed.rs"
86+
required-features = ["cuda"]
8487

8588
[[example]]
8689
name = "educational_modes"

0 commit comments

Comments
 (0)