Skip to content

Common: put the namespace-scope constants in the constant address space - #15825

Merged
ktf merged 1 commit into
AliceO2Group:devfrom
ktf:pr15825
Sep 22, 2026
Merged

ktf merged 1 commit into
AliceO2Group:devfrom
ktf:pr15825

Conversation

@ktf

@ktf ktf commented Sep 21, 2026

Copy link
Copy Markdown
Member

MSL requires every program-scope variable to live in the constant address space.
GPUglobalconstexpr() already spells that out per backend, so the constants that
reach device code go through it: the particle masses in PhysicsConstants.h, which
arrive via PID.h, and the LHC timing and TPC geometry constants.

MSL requires every program-scope variable to live in the constant address space.
GPUglobalconstexpr() already spells that out per backend, so the constants that
reach device code go through it: the particle masses in PhysicsConstants.h, which
arrive via PID.h, and the LHC timing and TPC geometry constants.
@ktf
ktf merged commit 0f3fb8b into AliceO2Group:dev Sep 22, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant