Merge commit '753b6227c507c45f4838971067f3cf158a392d55' into develop

This commit is contained in:
assistant-librarian[bot]
2025-08-13 23:12:01 +00:00
parent ffae627353
commit 9f8adac9f9
17 changed files with 239 additions and 257 deletions

View File

@@ -217,6 +217,17 @@ int run_flatmm_example(int argc, char* argv[])
std::string data_type = arg_parser.get_str("prec");
std::string a_layout = arg_parser.get_str("a_layout");
std::string b_layout = arg_parser.get_str("b_layout");
int k = arg_parser.get_int("k");
int stride_b = arg_parser.get_int("stride_b");
if(b_layout == "C" && stride_b > k)
{
throw std::runtime_error(
"For ColumnMajor layout, StrideB must be smaller than or equal to K (" +
std::to_string(k) + ")");
}
if(a_layout == "R" && b_layout == "C")
{