Skip to content

Usefulness of supports_atomics in its current form #594

Open
@christiangnrd

Description

@christiangnrd

At the moment, supports_atomics returns a boolean, but different backends have different levels of support. For example, Metal essentially only supports 32-bt integers and floats, with 64-bit integer atomics being limited to min and max.

Would it be useful/worth it to add granularity to the function?

Came up when fixing the histogram example for oneAPI and Metal which don't support 64-bit atomics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions