Home | History | Annotate | Download | only in internal

Lines Matching refs:Format

17 // to have any arbitrary format, allowing tests to cover all sorts of corner
30 // This kernel is templatized in an arbitrary Format template parameter,
31 // allowing it to have any arbitrary format.
34 typedef tFormat Format;
40 Format::Lhs::kCells, Format::Lhs::Cell::kWidth,
41 Format::Lhs::Cell::kDepth,
42 CellOrderName(Format::Lhs::Cell::kOrder), Format::Rhs::kCells,
43 Format::Rhs::Cell::kDepth, Format::Rhs::Cell::kWidth,
44 CellOrderName(Format::Rhs::Cell::kOrder));
52 std::int32_t accumulator[Format::kRows * Format::kCols];
55 const int run_depth_cells = static_cast<int>(run_depth / Format::kDepth);
61 for (int rc = 0; rc < Format::Lhs::kCells; rc++) {
63 (dc * Format::Lhs::kCells + rc) *
64 Format::Lhs::Cell::kWidth *
65 Format::kDepth;
66 for (int cc = 0; cc < Format::Rhs::kCells; cc++) {
68 (dc * Format::Rhs::kCells + cc) *
69 Format::Rhs::Cell::kWidth *
70 Format::kDepth;
75 for (int di = 0; di < Format::kDepth; di++) {
76 for (int ri = 0; ri < Format::Lhs::Cell::kWidth; ri++) {
77 for (int ci = 0; ci < Format::Rhs::Cell::kWidth; ci++) {
80 OffsetIntoCell<typename Format::Lhs::Cell>(ri, di);
83 OffsetIntoCell<typename Format::Rhs::Cell>(ci, di);
85 accumulator + (ri + rc * Format::Lhs::Cell::kWidth) +
86 (ci + cc * Format::Rhs::Cell::kWidth) * Format::kRows;
99 for (int r = 0; r < Format::kRows; r++) {
100 for (int c = 0; c < Format::kCols; c++) {
102 accumulator[r + c * Format::kRows];
108 for (int r = 0; r < Format::kRows; r++) {
109 for (int c = 0; c < Format::kCols; c++) {
111 accumulator[r + c * Format::kRows];