MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::ElementDecodableScheme Concept Reference

Does the scheme decode one element without decoding its block? More...

#include <block_scheme.hpp>

Concept definition

template<typename S>
concept mtl::ElementDecodableScheme = BlockScheme<S> && requires(const std::byte* src, std::size_t j) {
{ S::decode_element(src, j) } -> std::convertible_to<float>;
}
A block-quantized storage format:
Definition block_scheme.hpp:35
Does the scheme decode one element without decoding its block?
Definition block_scheme.hpp:43

Detailed Description

Does the scheme decode one element without decoding its block?