Bit

Bit#

2026-10-07

1 min read time

Applies to Linux and Windows

This page covers the bit-manipulation extended API, providing utilities for bitmask generation, bit reversal, and bitfield insert and extract operations.

Header

Content

libhipcxx Availability

bitmask

Generate a bitmask

libhipcxx 3.0

bit_reverse

Reverse the order of bits

libhipcxx 3.0

bitfield_insert

Insert a bitfield

libhipcxx 3.0

bitfield_extract

Extract a bitfield

libhipcxx 3.0