Skip to content

[GSAN] Add CUDA feature flag for PTX 7.0 support in GSan build#10282

Merged
Jokeren merged 1 commit into
mainfrom
keren/llvm-fix
May 11, 2026
Merged

[GSAN] Add CUDA feature flag for PTX 7.0 support in GSan build#10282
Jokeren merged 1 commit into
mainfrom
keren/llvm-fix

Conversation

@Jokeren
Copy link
Copy Markdown
Contributor

@Jokeren Jokeren commented May 10, 2026

The GSan runtime is compiled with --cuda-gpu-arch=sm_80, which requires PTX 7.0 or newer. Most LLVM builds infer a compatible PTX version automatically, but some do not and will yield the following error message:

PTX version 4.2 does not support target 'sm_80'. Minimum required PTX version is 7.0.

@Jokeren Jokeren requested a review from ptillet as a code owner May 10, 2026 19:27
@Jokeren Jokeren merged commit fd68aeb into main May 11, 2026
9 checks passed
@Jokeren Jokeren deleted the keren/llvm-fix branch May 11, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants