Home
last modified time | relevance | path

Searched refs:MapOrder (Results 1 – 25 of 25) sorted by relevance

/external/gemmlowp/public/
Dgemmlowp.h31 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>
Dmap.h27 enum class MapOrder { ColMajor, RowMajor }; enum
31 template <typename tScalar, MapOrder tOrder>
35 static const 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/
Deight_bit_int_gemm.cc84 static const MapOrder ResultOrder = in EightBitIntGemmImpl()
85 transpose_c ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmImpl()
86 static const MapOrder LhsOrder = in EightBitIntGemmImpl()
87 transpose_a ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmImpl()
88 static const MapOrder RhsOrder = in EightBitIntGemmImpl()
89 transpose_b ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmImpl()
119 static const MapOrder ResultOrder = in EightBitIntGemmInt32Impl()
120 transpose_c ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmInt32Impl()
121 static const MapOrder LhsOrder = in EightBitIntGemmInt32Impl()
122 transpose_a ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmInt32Impl()
[all …]
/external/gemmlowp/test/
Dtest.cc129 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 …]
Dbenchmark_all_sizes.cc48 template <typename tScalar, MapOrder tOrder>
54 static const MapOrder Order = tOrder;
82 stride_ = kOrder == MapOrder::ColMajor ? rows : cols; in Resize()
111 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType; in benchmark_8bit()
112 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType; in benchmark_8bit()
113 typedef Matrix<std::uint8_t, MapOrder::ColMajor> ResultType; in benchmark_8bit()
163 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType; in benchmark_8bit_to_32bit()
164 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType; in benchmark_8bit_to_32bit()
165 typedef Matrix<std::int32_t, MapOrder::ColMajor> ResultType; in benchmark_8bit_to_32bit()
Dbenchmark.cc162 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType; in benchmark()
163 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType; in benchmark()
164 typedef Matrix<std::uint8_t, MapOrder::ColMajor> ResultType; in benchmark()
206 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType; in benchmark_gemm_sizes()
207 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType; in benchmark_gemm_sizes()
208 typedef Matrix<std::uint8_t, MapOrder::ColMajor> ResultType; in benchmark_gemm_sizes()
Dtest.h46 template <typename tScalar, MapOrder tOrder>
52 static const MapOrder Order = tOrder;
80 stride_ = kOrder == MapOrder::ColMajor ? rows : cols; in Resize()
/external/gemmlowp/internal/
Ddispatch_gemm_shape.h41 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;
152 MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder,
Dunpack.h40 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()
136 ScopedProfilingLabel label(ResultBlockType::kOrder == MapOrder::ColMajor in UnpackResult()
172 if (ResultBlockType::kOrder == MapOrder::RowMajor) { in UnpackResult()
180 MatrixMap<DstScalarType, MapOrder::ColMajor> dst_colmajor_map( in UnpackResult()
Doutput_neon.h193 if (DstType::kOrder == MapOrder::ColMajor) {
213 if (DstType::kOrder == MapOrder::ColMajor) {
228 if (DstType::kOrder == MapOrder::ColMajor) {
263 DstType::kOrder == MapOrder::ColMajor ? src : Transpose(src);
276 if (DstType::kOrder == MapOrder::ColMajor) {
306 if (DstType::kOrder == MapOrder::ColMajor) {
340 if (DstType::kOrder == MapOrder::ColMajor) {
377 if (DstType::kOrder == MapOrder::ColMajor) {
432 if (DstType::kOrder == MapOrder::ColMajor) {
449 if (DstType::kOrder == MapOrder::RowMajor) {
[all …]
Dsingle_thread_gemm.h63 typename BitDepthParams, MapOrder LhsOrder, MapOrder RhsOrder,
64 MapOrder ResultOrder, typename LhsOffset, typename RhsOffset,
Dmulti_thread_gemm.h435 typename BitDepthParams, MapOrder LhsOrder, MapOrder RhsOrder,
436 MapOrder ResultOrder, typename LhsOffset, typename RhsOffset,
605 typename BitDepthParams, MapOrder LhsOrder, MapOrder RhsOrder,
606 MapOrder ResultOrder, typename LhsOffset, typename RhsOffset,
Doutput_sse.h186 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) {
Doutput_msa.h248 if (DstType::kOrder == MapOrder::ColMajor) {
263 if (DstType::kOrder == MapOrder::ColMajor) {
294 if (DstType::kOrder == MapOrder::ColMajor) {
331 if (DstType::kOrder == MapOrder::ColMajor) {
363 if (DstType::kOrder == MapOrder::ColMajor) {
395 if (DstType::kOrder == MapOrder::ColMajor) {
418 if (DstType::kOrder == MapOrder::ColMajor) {
471 if (DstType::kOrder == MapOrder::ColMajor) {
529 if (DstType::kOrder == MapOrder::ColMajor) {
Dsimd_wrappers_common_neon_sse.h26 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,
Dcompute.h67 const MatrixMap<std::int32_t, MapOrder::ColMajor>& packed_result_block) { in MarkPackedResultBlockAsInitialized()
Dpack.h402 MatrixMapType::kOrder == MapOrder::RowMajor ? SideMapOrder::WidthMajor in PackLhs()
417 MatrixMapType::kOrder == MapOrder::ColMajor ? SideMapOrder::WidthMajor in PackRhs()
Dsimd_wrappers.h293 MatrixMap<SrcScalarType, MapOrder::ColMajor>> {
295 using SrcObjectType = MatrixMap<SrcScalarType, MapOrder::ColMajor>;
/external/tensorflow/tensorflow/core/kernels/
Dquantized_matmul_op.cc41 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()
Dquantized_conv_ops.cc409 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/gemmlowp/doc/
Dquantization_example.cc26 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()
Dpublic.md33 MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder,
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h1191 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in FullyConnected()
1193 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in FullyConnected()
1195 gemmlowp::MatrixMap<uint8, gemmlowp::MapOrder::ColMajor> output_matrix( in FullyConnected()
1291 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> weights_matrix( in FullyConnected()
1293 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in FullyConnected()
1295 gemmlowp::MatrixMap<int16, gemmlowp::MapOrder::ColMajor> output_matrix( in FullyConnected()
2436 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in Conv()
2438 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in Conv()
2440 gemmlowp::MatrixMap<uint8, gemmlowp::MapOrder::ColMajor> output_matrix( in Conv()
2622 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in ConvAsGemm()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h1210 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in FullyConnected()
1212 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in FullyConnected()
1214 gemmlowp::MatrixMap<uint8, gemmlowp::MapOrder::ColMajor> output_matrix( in FullyConnected()
1283 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> weights_matrix( in FullyConnected()
1285 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in FullyConnected()
1287 gemmlowp::MatrixMap<int16, gemmlowp::MapOrder::ColMajor> output_matrix( in FullyConnected()
2454 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in Conv()
2456 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in Conv()
2458 gemmlowp::MatrixMap<uint8, gemmlowp::MapOrder::ColMajor> output_matrix( in Conv()
3776 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> in LstmCell()
[all …]
Dlegacy_optimized_ops.h767 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in ConvAsGemm()
769 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in ConvAsGemm()
771 gemmlowp::MatrixMap<uint8, gemmlowp::MapOrder::ColMajor> output_matrix( in ConvAsGemm()