1.1.4. C++ struct for handling vector type of four fp8 values of e5m2 kind.
[FP8 Intrinsics]
Classes
Functions
- __host__ __device__ __nv_fp8x4_e5m2::__nv_fp8x4_e5m2 ( const double4 f )
- __host__ __device__ __nv_fp8x4_e5m2::__nv_fp8x4_e5m2 ( const float4 f )
- __host__ __device__ __nv_fp8x4_e5m2::__nv_fp8x4_e5m2 ( const __nv_bfloat162 flo, const __nv_bfloat162 fhi )
- __host__ __device__ __nv_fp8x4_e5m2::__nv_fp8x4_e5m2 ( const __half2 flo, const __half2 fhi )
- __nv_fp8x4_e5m2::__nv_fp8x4_e5m2 ( )
- __host__ __device__ __nv_fp8x4_e5m2::operator float4 ( ) const
Variables
Functions
- __host__ __device__ __nv_fp8x4_e5m2::__nv_fp8x4_e5m2 ( const double4 f ) [inline]
-
Description
Constructor from double4 vector data type, relies on __NV_SATFINITE behavior for out-of-range values.
- __host__ __device__ __nv_fp8x4_e5m2::__nv_fp8x4_e5m2 ( const float4 f ) [inline]
-
Description
Constructor from float4 vector data type, relies on __NV_SATFINITE behavior for out-of-range values.
- __host__ __device__ __nv_fp8x4_e5m2::__nv_fp8x4_e5m2 ( const __nv_bfloat162 flo, const __nv_bfloat162 fhi ) [inline]
-
Description
Constructor from a pair of __nv_bfloat162 data type values, relies on __NV_SATFINITE behavior for out-of-range values.
- __host__ __device__ __nv_fp8x4_e5m2::__nv_fp8x4_e5m2 ( const __half2 flo, const __half2 fhi ) [inline]
-
Description
Constructor from a pair of __half2 data type values, relies on __NV_SATFINITE behavior for out-of-range values.
- __nv_fp8x4_e5m2::__nv_fp8x4_e5m2 ( )
-
Description
Constructor by default.
- __host__ __device__ __nv_fp8x4_e5m2::operator float4 ( ) const [inline]
-
Description
Conversion operator to float4 vector data type.
Variables
- __nv_fp8x4_storage_t __nv_fp8x4_e5m2::__x
-
Storage variable contains the vector of four fp8 floating-point data values.