Skip to content

GPU: add METAL to the device type enumeration - #15769

Open
ktf wants to merge 1 commit into
AliceO2Group:devfrom
ktf:pr15769
Open

GPU: add METAL to the device type enumeration#15769
ktf wants to merge 1 commit into
AliceO2Group:devfrom
ktf:pr15769

Conversation

@ktf

@ktf ktf commented Sep 4, 2026

Copy link
Copy Markdown
Member

Purely additive: a new DeviceType value and its name. GetDeviceType() walks
DEVICE_TYPE_NAMES, so the table is the only other place that needs to know.
The name table is excluded under METAL for the same reason it is under
OPENCL -- no host strings in device code.

Purely additive: a new DeviceType value and its name. GetDeviceType() walks
DEVICE_TYPE_NAMES, so the table is the only other place that needs to know.
The name table is excluded under __METAL__ for the same reason it is under
__OPENCL__ -- no host strings in device code.
@ktf
ktf requested a review from davidrohr as a code owner September 4, 2026 14:20
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