Home
last modified time | relevance | path

Searched refs:kLhs (Results 1 – 9 of 9) sorted by relevance

/external/ruy/ruy/
Dtrace.h385 inline std::string str(Side s) { return s == Side::kLhs ? "LHS" : "RHS"; } in str()
554 ThreadLocalTrace()->Write("LHS: %s", str(params->src[Side::kLhs])); \
573 str(params->packed_matrix[Side::kLhs])); \
577 params->run_pack[Side::kLhs]); \
669 block_map->small_block_dims[Side::kLhs], \
671 block_map->small_block_dims[Side::kLhs] + \
672 block_map->kernel_dims[Side::kLhs], \
678 block_map->large_blocks[Side::kLhs], \
679 block_map->small_block_dims[Side::kLhs] + \
680 block_map->kernel_dims[Side::kLhs], \
[all …]
Dside_pair.h28 kLhs = 0, enumerator
34 return side == Side::kLhs ? Side::kRhs : Side::kLhs; in OtherSide()
61 static_assert(static_cast<int>(Side::kLhs) == 0, "");
Dblock_map_test.cc49 EXPECT_EQ(std::min(block_map.rectangularness_log2[Side::kLhs], in MakeBlockMapTuningTest()
52 EXPECT_EQ(std::max(block_map.rectangularness_log2[Side::kLhs], in MakeBlockMapTuningTest()
145 return std::abs(a[Side::kLhs] - b[Side::kLhs]) + in L1Distance()
159 for (Side side : {Side::kLhs, Side::kRhs}) { in GetBlockByIndexSquareTest()
185 ++block_hit_counts[block_coords[Side::kLhs] + in GetBlockByIndexSquareTest()
Dblock_map.cc39 (*local_pos)[Side::kLhs] = square_index & ((1 << size_log2) - 1); in DecodeTraversalLinear()
54 (*local_pos)[Side::kLhs] = n16 & 0xffff; in DecodeTraversalFractalZ()
62 (*local_pos)[Side::kLhs] ^= (*local_pos)[Side::kRhs]; in DecodeTraversalFractalU()
86 (*local_pos)[Side::kLhs] = y; in DecodeTraversalFractalHilbert()
122 for (Side side : {Side::kLhs, Side::kRhs}) { in GetBlockByIndex()
450 block_map->dims[Side::kLhs] = rows; in MakeBlockMap()
452 block_map->kernel_dims[Side::kLhs] = kernel_rows; in MakeBlockMap()
455 block_map->rectangularness_log2[Side::kLhs] = rows_rectangularness_log2; in MakeBlockMap()
457 block_map->small_block_dims[Side::kLhs] = small_block_rows; in MakeBlockMap()
459 block_map->large_blocks[Side::kLhs] = rows_of_large_blocks; in MakeBlockMap()
[all …]
Dtrmul.cc79 for (Side side : {Side::kLhs, Side::kRhs}) { in Run()
202 SidePair<int> next_runahead_block{block[Side::kLhs] + 1, in EnsurePacked()
204 Side next_runahead_side = Side::kLhs; in EnsurePacked()
208 for (Side side : {Side::kLhs, Side::kRhs}) { in EnsurePacked()
295 params->is_prepacked[Side::kLhs], params->is_prepacked[Side::kRhs]); in TrMul()
297 PEMat& packed_lhs = params->packed_matrix[Side::kLhs]; in TrMul()
299 EMat& lhs = params->src[Side::kLhs]; in TrMul()
324 for (Side side : {Side::kLhs, Side::kRhs}) { in TrMul()
356 for (Side side : {Side::kLhs, Side::kRhs}) { in TrMul()
Dcreate_trmul_params.h134 Side::kLhs, ToKernelLayout<LhsKernelLayout>(), params);
137 params->run_pack[Side::kLhs] =
284 mul_params->channel_dimension() == ChannelDimension::kRow ? Side::kLhs
328 mul_params->channel_dimension() == ChannelDimension::kRow ? Side::kLhs
358 mul_params->channel_dimension() == ChannelDimension::kRow ? Side::kLhs
414 params->src[Side::kLhs] = EraseType(lhs);
Dkernel.h63 const auto& unerased_lhs = UneraseType<LhsScalar>(src[Side::kLhs]);
84 const int start_row = start[Side::kLhs];
86 const int end_row = end[Side::kLhs];
Dblock_map.h156 block_map.rectangularness_log2[Side::kLhs] + in NumBlocks()
Dprepare_packed_matrices.cc71 for (Side side : {Side::kLhs, Side::kRhs}) { in PreparePackedMatrices()