/external/gemmlowp/public/ |
D | gemmlowp.h | 31 MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder, 51 MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder, 72 template <typename Scalar, typename BitDepthParams, MapOrder LhsOrder, 73 MapOrder RhsOrder, MapOrder ResultOrder, typename GemmContextType>
|
D | map.h | 27 enum class MapOrder { ColMajor, RowMajor }; enum 31 template <typename tScalar, MapOrder tOrder> 35 static constexpr MapOrder kOrder = tOrder; 47 stride_(kOrder == MapOrder::ColMajor ? rows : cols) {} in MatrixMap() 59 int rows_stride() const { return kOrder == MapOrder::ColMajor ? 1 : stride_; } in rows_stride() 60 int cols_stride() const { return kOrder == MapOrder::RowMajor ? 1 : stride_; } in cols_stride()
|
/external/gemmlowp/eight_bit_int_gemm/ |
D | eight_bit_int_gemm.cc | 81 static const MapOrder ResultOrder = in EightBitIntGemmImpl() 82 transpose_c ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmImpl() 83 static const MapOrder LhsOrder = in EightBitIntGemmImpl() 84 transpose_a ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmImpl() 85 static const MapOrder RhsOrder = in EightBitIntGemmImpl() 86 transpose_b ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmImpl() 116 static const MapOrder ResultOrder = in EightBitIntGemmInt32Impl() 117 transpose_c ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmInt32Impl() 118 static const MapOrder LhsOrder = in EightBitIntGemmInt32Impl() 119 transpose_a ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmInt32Impl() [all …]
|
/external/gemmlowp/internal/ |
D | dispatch_gemm_shape.h | 41 template <MapOrder Order> 43 static constexpr MapOrder Value = 44 Order == MapOrder::RowMajor ? MapOrder::ColMajor : MapOrder::RowMajor; 64 template <typename Scalar, MapOrder Order> 67 static constexpr MapOrder TransposedOrder = TransposeMapOrder<Order>::Value; 170 MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder,
|
D | unpack.h | 40 MatrixMap<std::int32_t, MapOrder::ColMajor> Map() { in Map() 41 return MatrixMap<std::int32_t, MapOrder::ColMajor>( in Map() 46 MatrixMap<const std::int32_t, MapOrder::ColMajor> Map() const { in Map() 47 return MatrixMap<const std::int32_t, MapOrder::ColMajor>( in Map() 138 ScopedProfilingLabel label(ResultBlockType::kOrder == MapOrder::ColMajor in UnpackResult() 174 if (ResultBlockType::kOrder == MapOrder::RowMajor) { in UnpackResult() 182 MatrixMap<DstScalarType, MapOrder::ColMajor> dst_colmajor_map( in UnpackResult()
|
D | single_thread_gemm.h | 63 typename BitDepthParams, MapOrder LhsOrder, MapOrder RhsOrder, 64 MapOrder ResultOrder, typename LhsOffset, typename RhsOffset,
|
D | output_neon.h | 277 if (DstType::kOrder == MapOrder::ColMajor) { 297 if (DstType::kOrder == MapOrder::ColMajor) { 312 if (DstType::kOrder == MapOrder::ColMajor) { 347 DstType::kOrder == MapOrder::ColMajor ? src : Transpose(src); 360 if (DstType::kOrder == MapOrder::ColMajor) { 390 if (DstType::kOrder == MapOrder::ColMajor) { 424 if (DstType::kOrder == MapOrder::ColMajor) { 461 if (DstType::kOrder == MapOrder::ColMajor) { 516 if (DstType::kOrder == MapOrder::ColMajor) { 533 if (DstType::kOrder == MapOrder::RowMajor) { [all …]
|
D | output_sse.h | 186 if (DstType::kOrder == MapOrder::ColMajor) { 201 if (DstType::kOrder == MapOrder::ColMajor) { 232 if (DstType::kOrder == MapOrder::ColMajor) { 265 if (DstType::kOrder == MapOrder::ColMajor) { 297 if (DstType::kOrder == MapOrder::ColMajor) { 329 if (DstType::kOrder == MapOrder::ColMajor) { 352 if (DstType::kOrder == MapOrder::ColMajor) { 405 if (DstType::kOrder == MapOrder::ColMajor) { 447 if (DstType::kOrder == MapOrder::ColMajor) { 539 template <typename tScalar, MapOrder tOrder>
|
D | multi_thread_gemm.h | 463 typename BitDepthParams, MapOrder LhsOrder, MapOrder RhsOrder, 464 MapOrder ResultOrder, typename LhsOffset, typename RhsOffset, 633 typename BitDepthParams, MapOrder LhsOrder, MapOrder RhsOrder, 634 MapOrder ResultOrder, typename LhsOffset, typename RhsOffset,
|
D | output_msa.h | 350 if (DstType::kOrder == MapOrder::ColMajor) { 365 if (DstType::kOrder == MapOrder::ColMajor) { 396 if (DstType::kOrder == MapOrder::ColMajor) { 433 if (DstType::kOrder == MapOrder::ColMajor) { 465 if (DstType::kOrder == MapOrder::ColMajor) { 497 if (DstType::kOrder == MapOrder::ColMajor) { 520 if (DstType::kOrder == MapOrder::ColMajor) { 573 if (DstType::kOrder == MapOrder::ColMajor) { 631 if (DstType::kOrder == MapOrder::ColMajor) { 1048 if (DstType::kOrder == MapOrder::ColMajor) { [all …]
|
D | simd_wrappers_common_neon_sse.h | 26 MatrixMap<SrcScalarType, MapOrder::ColMajor>> { 28 const MatrixMap<SrcScalarType, MapOrder::ColMajor>& src, int row, 40 MatrixMap<SrcScalarType, MapOrder::ColMajor>> { 42 const MatrixMap<SrcScalarType, MapOrder::ColMajor>& src, int row, 55 MatrixMap<SrcScalarType, MapOrder::ColMajor>> { 57 const MatrixMap<SrcScalarType, MapOrder::ColMajor>& src, int row, 71 MatrixMap<SrcScalarType, MapOrder::ColMajor>> { 73 const MatrixMap<SrcScalarType, MapOrder::ColMajor>& src, int row,
|
D | compute.h | 67 const MatrixMap<std::int32_t, MapOrder::ColMajor>& packed_result_block) { in MarkPackedResultBlockAsInitialized()
|
D | pack.h | 410 MatrixMapType::kOrder == MapOrder::RowMajor ? SideMapOrder::WidthMajor in PackLhs() 425 MatrixMapType::kOrder == MapOrder::ColMajor ? SideMapOrder::WidthMajor in PackRhs()
|
/external/gemmlowp/test/ |
D | test.cc | 129 template <MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder> 169 template <MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder> 206 template <MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder> 241 template <MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder> 248 const bool transpose_c = ResultOrder == MapOrder::RowMajor; in Gemm() 249 const bool transpose_a = LhsOrder == MapOrder::RowMajor; in Gemm() 250 const bool transpose_b = RhsOrder == MapOrder::RowMajor; in Gemm() 266 template <MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder> 283 const char* OrderName(MapOrder order) { in OrderName() 284 return order == MapOrder::ColMajor ? "ColMajor" : "RowMajor"; in OrderName() [all …]
|
D | benchmark_all_sizes.cc | 52 template <typename tScalar, MapOrder tOrder> 58 static const MapOrder Order = tOrder; 86 stride_ = kOrder == MapOrder::ColMajor ? rows : cols; in Resize() 115 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType; in benchmark_8bit() 116 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType; in benchmark_8bit() 117 typedef Matrix<std::uint8_t, MapOrder::ColMajor> ResultType; in benchmark_8bit() 167 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType; in benchmark_8bit_to_32bit() 168 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType; in benchmark_8bit_to_32bit() 169 typedef Matrix<std::int32_t, MapOrder::ColMajor> ResultType; in benchmark_8bit_to_32bit()
|
D | benchmark.cc | 171 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType; in benchmark() 172 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType; in benchmark() 173 typedef Matrix<std::uint8_t, MapOrder::ColMajor> ResultType; in benchmark() 215 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType; in benchmark_gemm_sizes() 216 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType; in benchmark_gemm_sizes() 217 typedef Matrix<std::uint8_t, MapOrder::ColMajor> ResultType; in benchmark_gemm_sizes()
|
D | test.h | 46 template <typename tScalar, MapOrder tOrder> 52 static constexpr MapOrder Order = tOrder; 80 stride_ = kOrder == MapOrder::ColMajor ? rows : cols; in Resize()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_matmul_op.cc | 41 static const gemmlowp::MapOrder ResultOrder = in GemmlowpMultiply() 42 !TransposeC ? gemmlowp::MapOrder::RowMajor : gemmlowp::MapOrder::ColMajor; in GemmlowpMultiply() 43 static const gemmlowp::MapOrder LhsOrder = in GemmlowpMultiply() 44 !TransposeA ? gemmlowp::MapOrder::RowMajor : gemmlowp::MapOrder::ColMajor; in GemmlowpMultiply() 45 static const gemmlowp::MapOrder RhsOrder = in GemmlowpMultiply() 46 !TransposeB ? gemmlowp::MapOrder::RowMajor : gemmlowp::MapOrder::ColMajor; in GemmlowpMultiply()
|
D | quantized_conv_ops.cc | 409 static const gemmlowp::MapOrder ResultOrder = in operator ()() 410 !transpose_c ? gemmlowp::MapOrder::RowMajor in operator ()() 411 : gemmlowp::MapOrder::ColMajor; in operator ()() 412 static const gemmlowp::MapOrder LhsOrder = in operator ()() 413 !transpose_a ? gemmlowp::MapOrder::RowMajor in operator ()() 414 : gemmlowp::MapOrder::ColMajor; in operator ()() 415 static const gemmlowp::MapOrder RhsOrder = in operator ()() 416 !transpose_b ? gemmlowp::MapOrder::RowMajor in operator ()() 417 : gemmlowp::MapOrder::ColMajor; in operator ()()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | cpu_backend_gemm_gemmlowp.h | 88 gemmlowp::MatrixMap<const SrcScalar, gemmlowp::MapOrder::RowMajor> 90 gemmlowp::MatrixMap<const SrcScalar, gemmlowp::MapOrder::ColMajor> 92 gemmlowp::MatrixMap<DstScalar, gemmlowp::MapOrder::ColMajor> gemmlowp_dst( 148 gemmlowp::MatrixMap<const SrcScalar, gemmlowp::MapOrder::RowMajor> 150 gemmlowp::MatrixMap<const SrcScalar, gemmlowp::MapOrder::ColMajor> 152 gemmlowp::MatrixMap<DstScalar, gemmlowp::MapOrder::ColMajor> gemmlowp_dst(
|
/external/gemmlowp/doc/ |
D | quantization_example.cc | 26 template <typename tScalar, gemmlowp::MapOrder tOrder> 42 template <gemmlowp::MapOrder tOrder> 114 template <gemmlowp::MapOrder tLhsOrder, gemmlowp::MapOrder tRhsOrder, 115 gemmlowp::MapOrder tResultOrder> 153 template <typename tScalar, gemmlowp::MapOrder tOrder> 181 template <typename tScalar, gemmlowp::MapOrder tOrder> 249 const auto kOrder = gemmlowp::MapOrder::ColMajor; in main()
|
D | public.md | 33 MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder,
|
/external/XNNPACK/bench/ |
D | qu8-gemm.cc | 182 gemmlowp::MatrixMap<const uint8_t, gemmlowp::MapOrder::RowMajor> AM(a.data(), mc, kc, kc); in GemmlowpBenchmark() 183 …gemmlowp::MatrixMap<const uint8_t, gemmlowp::MapOrder::ColMajor> BM(k.data() + buffer_index * kEle… in GemmlowpBenchmark() 184 …gemmlowp::MatrixMap<uint8_t, gemmlowp::MapOrder::RowMajor> CM(c.data() + buffer_index * c_elements… in GemmlowpBenchmark()
|
/external/ruy/ruy/ |
D | test.h | 744 template <typename Scalar, gemmlowp::MapOrder tOrder> 747 RUY_CHECK(src.layout().order() == (tOrder == gemmlowp::MapOrder::ColMajor 755 template <typename Scalar, gemmlowp::MapOrder tOrder> 758 RUY_CHECK(src->layout().order() == (tOrder == gemmlowp::MapOrder::ColMajor 771 static constexpr gemmlowp::MapOrder kValue = gemmlowp::MapOrder::ColMajor; 776 static constexpr gemmlowp::MapOrder kValue = gemmlowp::MapOrder::RowMajor; 789 static constexpr gemmlowp::MapOrder kGemmlowpLhsOrder = 791 static constexpr gemmlowp::MapOrder kGemmlowpRhsOrder = 793 static constexpr gemmlowp::MapOrder kGemmlowpDstOrder =
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | legacy_optimized_ops.h | 1134 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in FullyConnected() 1136 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in FullyConnected() 1138 gemmlowp::MatrixMap<uint8, gemmlowp::MapOrder::ColMajor> output_matrix( in FullyConnected() 1692 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> weights_matrix( in FullyConnected() 1694 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in FullyConnected() 1696 gemmlowp::MatrixMap<int16, gemmlowp::MapOrder::ColMajor> output_matrix( in FullyConnected() 2151 gemmlowp::MatrixMap<const int8, gemmlowp::MapOrder::RowMajor> filter_matrix( in FullyConnected() 2153 gemmlowp::MatrixMap<const int8, gemmlowp::MapOrder::ColMajor> input_matrix( in FullyConnected() 2155 gemmlowp::MatrixMap<int8, gemmlowp::MapOrder::ColMajor> output_matrix( in FullyConnected() 2714 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in Conv() [all …]
|