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

The threaded nest's shape decision: the ic block size and the ic x jc thread grid. More...

#include <gemm_blocked.hpp>

Public Attributes

std::size_t mc
 ic block size actually used (<= the cache bound)
std::size_t nib
 ic blocks that mc produces
std::size_t njb
 jc blocks
unsigned ic_nt
 threads across ic
unsigned jc_nt
 teams across jc

Detailed Description

The threaded nest's shape decision: the ic block size and the ic x jc thread grid.

Pure, so it can be unit-tested and enumerated offline (#430) instead of being inferred from a throughput change.

Member Data Documentation

◆ ic_nt

unsigned mtl::detail::gemm_grid::ic_nt

threads across ic

◆ jc_nt

unsigned mtl::detail::gemm_grid::jc_nt

teams across jc

◆ mc

std::size_t mtl::detail::gemm_grid::mc

ic block size actually used (<= the cache bound)

◆ nib

std::size_t mtl::detail::gemm_grid::nib

ic blocks that mc produces

◆ njb

std::size_t mtl::detail::gemm_grid::njb

jc blocks


The documentation for this struct was generated from the following file: