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

Everything a model needs. More...

#include <nc_model.hpp>

Public Attributes

std::size_t n
 the problem's n
std::size_t kc
 as the nest will step it
std::size_t nr
 register tile width; nc stays a multiple
std::size_t sdata
 sizeof(element)
std::size_t l3_default_bytes
 hw_traits' compile-time figure
std::size_t l3_detected_bytes
 cache_info's, 0 if undetected
std::size_t l3_sharing_cores
 physical cores sharing one L3, 0 if unknown
unsigned jc_nt
 teams across jc, from a first grid pass

Detailed Description

Everything a model needs.

Kept as one struct so adding a model cannot silently change a signature the sweep and the harness both call.

Member Data Documentation

◆ jc_nt

unsigned mtl::detail::nc_model_inputs::jc_nt

teams across jc, from a first grid pass

◆ kc

std::size_t mtl::detail::nc_model_inputs::kc

as the nest will step it

◆ l3_default_bytes

std::size_t mtl::detail::nc_model_inputs::l3_default_bytes

hw_traits' compile-time figure

◆ l3_detected_bytes

std::size_t mtl::detail::nc_model_inputs::l3_detected_bytes

cache_info's, 0 if undetected

◆ l3_sharing_cores

std::size_t mtl::detail::nc_model_inputs::l3_sharing_cores

physical cores sharing one L3, 0 if unknown

◆ n

std::size_t mtl::detail::nc_model_inputs::n

the problem's n

◆ nr

std::size_t mtl::detail::nc_model_inputs::nr

register tile width; nc stays a multiple

◆ sdata

std::size_t mtl::detail::nc_model_inputs::sdata

sizeof(element)


The documentation for this struct was generated from the following file:
  • /home/runner/work/mtl5/mtl5/include/mtl/detail/nc_model.hpp