Skip to content

Allow user set CUDA Clang#1966

Merged
jeremylt merged 4 commits into
mainfrom
jeremy/cuda-clang
May 18, 2026
Merged

Allow user set CUDA Clang#1966
jeremylt merged 4 commits into
mainfrom
jeremy/cuda-clang

Conversation

@jeremylt

Copy link
Copy Markdown
Member

Purpose:

This PR lets the user specify the Clang CXX for CUDA JiT. If this is not valid or not set, then we attempt to detect the Clang version in the Rust toolchain. Finally we default to clang++ if neither is successful.

Closes: #1965

LLM/GenAI Disclosure:

None

By submitting this PR, the author certifies to its contents as described by the Developer's Certificate of Origin.
Please follow the Contributing Guidelines for all PRs.

@jeremylt jeremylt force-pushed the jeremy/cuda-clang branch 7 times, most recently from 5f39c7d to 061ecd4 Compare May 18, 2026 18:30
@jeremylt jeremylt force-pushed the jeremy/cuda-clang branch from 061ecd4 to c317590 Compare May 18, 2026 18:33
@jeremylt jeremylt force-pushed the jeremy/cuda-clang branch 2 times, most recently from f59d04b to 3af2bb6 Compare May 18, 2026 18:57
@jeremylt jeremylt force-pushed the jeremy/cuda-clang branch 3 times, most recently from 2230247 to a066b23 Compare May 18, 2026 20:22
@jeremylt jeremylt force-pushed the jeremy/cuda-clang branch from a066b23 to 7d38473 Compare May 18, 2026 20:34
@jeremylt

Copy link
Copy Markdown
Member Author

Ok, all set

To investigate in follow-up:

warning: feature `asm_experimental_arch` is declared but not used
 --> src/lib.rs:3:12
  |
3 | #![feature(asm_experimental_arch, abi_ptx, core_intrinsics)]
  |            ^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default
warning: feature `abi_ptx` is declared but not used
 --> src/lib.rs:3:35
  |
3 | #![feature(asm_experimental_arch, abi_ptx, core_intrinsics)]
  |                                   ^^^^^^^
warning: `ex1-volume-rs` (lib) generated 2 warnings

@jeremylt jeremylt merged commit b3a08a8 into main May 18, 2026
29 of 31 checks passed
@jeremylt jeremylt deleted the jeremy/cuda-clang branch May 18, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Revert Rust + CUDA CI Disabling

1 participant