MXINT8: a scale byte, then 32 two's-complement int8 elements. 33 bytes.
More...
#include <mx_schemes.hpp>
|
| static float | decode_element (const std::byte *src, std::size_t j) noexcept |
| | Element j < block_size of the block at src: asserted, as element access is (#826).
|
| static void | decode (const std::byte *src, float *dst) noexcept |
MXINT8: a scale byte, then 32 two's-complement int8 elements. 33 bytes.
◆ decode()
| void mtl::mx::mxint8::decode |
( |
const std::byte * | src, |
|
|
float * | dst ) |
|
inlinestaticnoexcept |
◆ decode_element()
| float mtl::mx::mxint8::decode_element |
( |
const std::byte * | src, |
|
|
std::size_t | j ) |
|
inlinestaticnoexcept |
Element j < block_size of the block at src: asserted, as element access is (#826).
For j >= 32 it read past the block.
◆ block_bytes
| std::size_t mtl::mx::mxint8::block_bytes = 1 + 32 |
|
staticconstexpr |
◆ block_size
| std::size_t mtl::mx::mxint8::block_size = 32 |
|
staticconstexpr |
The documentation for this struct was generated from the following file: