Composable Kernel supported scalar data types#
The Composable Kernel library provides support for the following scalar data types:
Type |
Bit Width |
Description |
---|---|---|
|
64-bit |
Standard IEEE 754 double precision floating point |
|
32-bit |
Standard IEEE 754 single precision floating point |
|
32-bit |
Standard signed 32-bit integer |
|
8-bit |
Standard signed 8-bit integer |
|
8-bit |
Standard unsigned 8-bit integer |
|
1-bit |
Boolean type |
|
16-bit |
IEEE 754 half precision floating point with 5 exponent bits, 10 mantissa bits, and 1 sign bit |
|
16-bit |
Brain floating point with 8 exponent bits, 7 mantissa bits, and 1 sign bit |
|
8-bit |
8-bit floating point (E4M3 format) with 4 exponent bits, 3 mantissa bits, and 1 sign bit |
|
8-bit |
8-bit brain floating point (E5M2 format) with 5 exponent bits, 2 mantissa bits, and 1 sign bit |
|
4-bit |
4-bit floating point format (E2M1 format) with 2 exponent bits, 1 mantissa bit, and 1 sign bit |
|
6-bit |
6-bit floating point format (E2M3 format) with 2 exponent bits, 3 mantissa bits, and 1 sign bit |
|
6-bit |
6-bit brain floating point format (E3M2 format) with 3 exponent bits, 2 mantissa bits, and 1 sign bit |