These built-in functions are available for the Nvidia PTX target:
unsigned int
__builtin_nvptx_brev (unsigned int x)
¶Reverse the bit order of a 32-bit unsigned integer.
unsigned long long
__builtin_nvptx_brevll (unsigned long long x)
¶Reverse the bit order of a 64-bit unsigned integer.