HIP: Heterogenous-computing Interface for Portability
|
Functions | |
__device__ bool | __heq (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values. | |
__device__ bool | __hequ (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - unordered equal. | |
__device__ bool | __hgt (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - greater than. | |
__device__ bool | __hgtu (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - unordered greater than. | |
__device__ bool | __hge (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - greater than equal. | |
__device__ bool | __hgeu (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - unordered greater than equal. | |
__device__ bool | __hne (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - not equal. | |
__device__ bool | __hneu (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - unordered not equal. | |
__device__ __hip_bfloat16 | __hmax (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - return max. | |
__device__ __hip_bfloat16 | __hmin (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - return min. | |
__device__ bool | __hlt (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - less than operator. | |
__device__ bool | __hltu (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - unordered less than. | |
__device__ bool | __hle (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - less than. | |
__device__ bool | __hleu (const __hip_bfloat16 a, const __hip_bfloat16 b) |
Compare two bfloat162 values - unordered less than equal. | |
__device__ int | __hisinf (const __hip_bfloat16 a) |
Checks if number is inf. | |
__device__ bool | __hisnan (const __hip_bfloat16 a) |
Checks if number is nan. | |
To use these functions, include the header file hip_bf16.h
in your program.