Skip to content

Update cuda/atomic backend to be able to use new NVVM intrinsics when available #7480

@jrhemstad

Description

@jrhemstad

The current implementation of cuda::atomic leverages inline PTX for implementing the various atomic operations. Using inline PTX for these operations have historically led to bad codegen because the inline PTX gets treated as a blackbox to the optimizer.

Ideally, we'd like to update the atomic implementation to take advantage of the new NVVM intrinsics that were added in CUDA 12.8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions