Skip to content

GPUTracking: declare the resolve kernel's shared memory as shared - #15860

Merged
ktf merged 1 commit into
AliceO2Group:devfrom
ktf:pr15860
Sep 29, 2026
Merged

ktf merged 1 commit into
AliceO2Group:devfrom
ktf:pr15860

Conversation

@ktf

@ktf ktf commented Sep 28, 2026

Copy link
Copy Markdown
Member

The definitions in GPUTPCGMMergerGPU.cxx qualify smem with GPUsharedref(), and
so does every other declaration in the header; this one did not. It makes no
difference where GPUsharedref() is empty, but on Metal the declaration then
takes a generic reference and the definition a threadgroup one, which are
different types.

The definitions in GPUTPCGMMergerGPU.cxx qualify smem with GPUsharedref(), and
so does every other declaration in the header; this one did not. It makes no
difference where GPUsharedref() is empty, but on Metal the declaration then
takes a generic reference and the definition a threadgroup one, which are
different types.
@ktf
ktf requested a review from davidrohr as a code owner September 28, 2026 18:58
@ktf

ktf commented Sep 28, 2026

Copy link
Copy Markdown
Member Author

@davidrohr this seems to be a genuine defect which is currently working by accident.

@davidrohr

Copy link
Copy Markdown
Collaborator

Actually, the GPUsharedref was only needed for OpenCL1.x
It is no longer needed. Apparently I didn't realize and forgot to remove it :).
Fortunate for you :).
Does APPLE really need it? I think we could remove it... :)

@ktf

ktf commented Sep 28, 2026

Copy link
Copy Markdown
Member Author

I understand it's not actually needed. It does need some reshuffling though. I suggest we attack it once we have something running.

@ktf
ktf merged commit 03d3e50 into AliceO2Group:dev Sep 29, 2026
11 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.

2 participants