One dtype's table: a tuned/<op>.<device>.txt file holds one per dtype.
Definition at line 265 of file select.hh.
#include </home/runner/work/BatchLAS/BatchLAS/src/select/select.hh>
◆ nearest()
| const TableRow * batchlas::select::Table::nearest |
( |
const Key & | key | ) |
const |
Rows matching the longest prefix of the :exact keys (in '# keys:' order; exact keys are dropped from the right until some row matches, possibly all of them), then min sum w*|log2(row/key)|, ties lexicographic by the :log keys in declared order.
- Exceptions
-
| std::invalid_argument | if key lacks a table key. |
◆ nearest_scan()
| const TableRow * batchlas::select::Table::nearest_scan |
( |
const std::vector< std::string > & | kv, |
|
|
const std::vector< double > & | kl ) const |
◆ file
| std::string batchlas::select::Table::file |
basename, e.g. "potrf.sm_120.txt"
Definition at line 266 of file select.hh.
◆ op
| std::string batchlas::select::Table::op |
◆ dtype
| std::string batchlas::select::Table::dtype |
◆ device
| std::string batchlas::select::Table::device |
◆ family
| std::string batchlas::select::Table::family |
◆ arch_number
| int batchlas::select::Table::arch_number = 0 |
◆ source
| std::string batchlas::select::Table::source |
the header's source= value, e.g. "transcribed:2b46acab"
Definition at line 269 of file select.hh.
◆ is_override
| bool batchlas::select::Table::is_override = false |
read from BATCHLAS_TUNED_DIR
Definition at line 270 of file select.hh.
◆ keys
| std::vector<TableKey> batchlas::select::Table::keys |
◆ rows
| std::vector<TableRow> batchlas::select::Table::rows |
◆ memo
| std::shared_ptr<Memo> batchlas::select::Table::memo |