Skip to content

[FEA]: Use __builtin_bitreverseg in cuda::bit_reverse #7779

@davebayer

Description

@davebayer

Is this a duplicate?

Area

libcu++

Is your feature request related to a problem? Please describe.

clang-23 implements __builtin_bitreverseg builtin that we should use in our cuda::bit_reverse implementation.

Describe the solution you'd like

Use the builtin.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions