Home
last modified time | relevance | path

Searched refs:CellFormat (Results 1 – 14 of 14) sorted by relevance

/external/gemmlowp/standalone/
Dneon-gemm-kernel-benchmark.cc208 struct CellFormat { struct
303 template <typename CellFormat>
305 switch (CellFormat::kOrder) { in OffsetIntoCell()
307 return w + d * CellFormat::kWidth; in OffsetIntoCell()
309 return d + w * CellFormat::kDepth; in OffsetIntoCell()
311 assert(CellFormat::kWidth == CellFormat::kDepth); in OffsetIntoCell()
312 static const int size = CellFormat::kWidth; in OffsetIntoCell()
330 KernelSideFormat<CellFormat<4, 2, CellOrder::DepthMajor>, 3>,
331 KernelSideFormat<CellFormat<4, 2, CellOrder::DepthMajor>, 1> >
519 KernelSideFormat<CellFormat<3, 8, CellOrder::WidthMajor>, 1>,
[all …]
/external/gemmlowp/internal/
Dkernel_neon.h35 typedef KernelFormat<KernelSideFormat<CellFormat<4, 2>, 3>,
36 KernelSideFormat<CellFormat<4, 2>, 1> >
296 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 3>,
297 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 1> >
671 KernelSideFormatInt8<CellFormat<4, 16, CellOrder::WidthMajor>, 1>,
672 KernelSideFormatInt8<CellFormat<2, 16, CellOrder::WidthMajor>, 1> >
933 KernelSideFormatInt8Inputs<CellFormat<4, 16, CellOrder::WidthMajor>, 1>,
934 KernelSideFormatInt8Inputs<CellFormat<2, 16, CellOrder::WidthMajor>, 1> >
945 KernelSideFormatInt8<CellFormat<4, 16, CellOrder::WidthMajor>, 1>,
946 KernelSideFormatInt8<CellFormat<4, 16, CellOrder::WidthMajor>, 1> >
[all …]
Dpack_neon.h33 using DepthMajorSideFormatNCells4x2 = KernelSideFormat<CellFormat<4, 2>, Cells>;
44 typedef typename KernelSideFormat::Cell CellFormat; typedef
46 static const int kCellWidth = CellFormat::kWidth;
47 static const int kKernelWidth = CellFormat::kWidth * kCells;
48 static const int kCellDepth = CellFormat::kDepth;
49 static const int kCellSize = CellFormat::kSize;
134 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, Cells>;
145 typedef typename KernelSideFormat::Cell CellFormat; typedef
147 static const int kCellWidth = CellFormat::kWidth;
148 static const int kKernelWidth = CellFormat::kWidth * kCells;
[all …]
Dkernel.h128 struct CellFormat { struct
196 template <typename CellFormat>
198 const int size = CellFormat::kWidth; in OffsetIntoCell()
199 switch (CellFormat::kOrder) { in OffsetIntoCell()
201 return w + d * CellFormat::kWidth; in OffsetIntoCell()
203 return d + w * CellFormat::kDepth; in OffsetIntoCell()
205 assert(CellFormat::kWidth == CellFormat::kDepth); in OffsetIntoCell()
Dpack_msa.h30 using DepthMajorSideFormatNCells4x2 = KernelSideFormat<CellFormat<4, 2>, Cells>;
41 typedef typename KernelSideFormat::Cell CellFormat; typedef
43 static const int kCellWidth = CellFormat::kWidth;
44 static const int kKernelWidth = CellFormat::kWidth * kCells;
45 static const int kCellDepth = CellFormat::kDepth;
46 static const int kCellSize = CellFormat::kSize;
184 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, Cells>;
195 typedef typename KernelSideFormat::Cell CellFormat; typedef
197 static const int kCellWidth = CellFormat::kWidth;
198 static const int kKernelWidth = CellFormat::kWidth * kCells;
[all …]
Dpack_avx.h32 KernelSideFormat<CellFormat<8, 2, CellOrder::WidthMajor>, Cells>;
43 typedef typename KernelSideFormat::Cell CellFormat; typedef
45 static const int kCellWidth = CellFormat::kWidth;
46 static const int kKernelWidth = CellFormat::kWidth * kCells;
47 static const int kCellDepth = CellFormat::kDepth;
48 static const int kCellSize = CellFormat::kSize;
186 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, Cells>;
197 typedef typename KernelSideFormat::Cell CellFormat; typedef
199 static const int kCellWidth = CellFormat::kWidth;
200 static const int kKernelWidth = CellFormat::kWidth * kCells;
[all …]
Dpack_sse.h32 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, Cells>;
43 typedef typename KernelSideFormat::Cell CellFormat; typedef
45 static constexpr int kCellWidth = CellFormat::kWidth;
46 static constexpr int kKernelWidth = CellFormat::kWidth * kCells;
47 static constexpr int kCellDepth = CellFormat::kDepth;
48 static constexpr int kCellSize = CellFormat::kSize;
Dkernel_sse.h34 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 1>,
35 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 1> >
209 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 3>,
210 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 1> >
Dpack.h214 typedef typename KernelSideFormat::Cell CellFormat; typedef
218 static constexpr int kCellWidth = CellFormat::kWidth;
219 static constexpr int kKernelWidth = CellFormat::kWidth * kCells;
220 static constexpr int kCellDepth = CellFormat::kDepth;
221 static constexpr int kCellSize = CellFormat::kSize;
283 dst_ptr[OffsetIntoCell<CellFormat>(w, d)] = kernel_val_uint8; in Pack()
304 typedef typename KernelSideFormat::Cell CellFormat; typedef
306 static constexpr int kCellWidth = CellFormat::kWidth;
307 static constexpr int kKernelWidth = CellFormat::kWidth * kCells;
308 static constexpr int kCellDepth = CellFormat::kDepth;
Dkernel_msa.h45 typedef KernelFormat<KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 3>,
46 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 2> >
283 KernelSideFormatInt8<CellFormat<4, 16, CellOrder::WidthMajor>, 1>,
284 KernelSideFormatInt8<CellFormat<4, 16, CellOrder::WidthMajor>, 1> >
Dkernel_avx.h32 typedef KernelFormat<KernelSideFormat<CellFormat<8, 2, CellOrder::WidthMajor>, 3>,
33 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 1>>
Dkernel_default.h105 KernelSideFormat<CellFormat<4, 16, CellOrder::WidthMajor>, 1>,
106 KernelSideFormat<CellFormat<4, 16, CellOrder::WidthMajor>, 1> > >
/external/gemmlowp/test/
Dtest.cc1613 ReferenceKernel<KernelFormat<KernelSideFormat<CellFormat<1, 1>, 1>, in TestKernels()
1614 KernelSideFormat<CellFormat<1, 1>, 1>>>>( in TestKernels()
1618 ReferenceKernel<KernelFormat<KernelSideFormat<CellFormat<4, 2>, 1>, in TestKernels()
1619 KernelSideFormat<CellFormat<4, 2>, 2>>>>( in TestKernels()
1623 ReferenceKernel<KernelFormat<KernelSideFormat<CellFormat<4, 2>, 4>, in TestKernels()
1624 KernelSideFormat<CellFormat<4, 2>, 5>>>>( in TestKernels()
1628 KernelSideFormat<CellFormat<3, 4, CellOrder::DepthMajor>, 2>, in TestKernels()
1629 KernelSideFormat<CellFormat<5, 4, CellOrder::DepthMajor>, 3>>>>(&context); in TestKernels()
1632 KernelSideFormat<CellFormat<3, 4, CellOrder::WidthMajor>, 2>, in TestKernels()
1633 KernelSideFormat<CellFormat<5, 4, CellOrder::WidthMajor>, 3>>>>(&context); in TestKernels()
[all …]
/external/gemmlowp/doc/
Dkernel.md37 typedef KernelFormat<KernelSideFormat<CellFormat<4, 2>, 3>,
38 KernelSideFormat<CellFormat<4, 2>, 1> > Format;
50 rhs, and handles two levels of depth at once. The 'cells' and `CellFormat`