Home
last modified time | relevance | path

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

/external/gemmlowp/standalone/
Dneon-gemm-kernel-benchmark.cc208 struct CellFormat { struct
258 template <typename CellFormat>
260 switch (CellFormat::kOrder) { in OffsetIntoCell()
262 return w + d * CellFormat::kWidth; in OffsetIntoCell()
264 return d + w * CellFormat::kDepth; in OffsetIntoCell()
266 assert(CellFormat::kWidth == CellFormat::kDepth); in OffsetIntoCell()
267 static const int size = CellFormat::kWidth; in OffsetIntoCell()
285 KernelSideFormat<CellFormat<4, 2, CellOrder::DepthMajor>, 3>,
286 KernelSideFormat<CellFormat<4, 2, CellOrder::DepthMajor>, 1> >
474 KernelSideFormat<CellFormat<3, 8, CellOrder::WidthMajor>, 1>,
[all …]
/external/gemmlowp/internal/
Dpack_neon.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;
131 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, Cells>;
142 typedef typename KernelSideFormat::Cell CellFormat; typedef
144 static const int kCellWidth = CellFormat::kWidth;
145 static const int kKernelWidth = CellFormat::kWidth * kCells;
[all …]
Dkernel.h128 struct CellFormat { struct
184 template <typename CellFormat>
186 const int size = CellFormat::kWidth; in OffsetIntoCell()
187 switch (CellFormat::kOrder) { in OffsetIntoCell()
189 return w + d * CellFormat::kWidth; in OffsetIntoCell()
191 return d + w * CellFormat::kDepth; in OffsetIntoCell()
193 assert(CellFormat::kWidth == CellFormat::kDepth); in OffsetIntoCell()
Dkernel_neon.h35 typedef KernelFormat<KernelSideFormat<CellFormat<4, 2>, 3>,
36 KernelSideFormat<CellFormat<4, 2>, 1> >
295 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 3>,
296 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 1> >
669 KernelSideFormatInt8<CellFormat<4, 16, CellOrder::WidthMajor>, 1>,
670 KernelSideFormatInt8<CellFormat<2, 16, CellOrder::WidthMajor>, 1> >
931 KernelSideFormatInt8<CellFormat<4, 16, CellOrder::WidthMajor>, 1>,
932 KernelSideFormatInt8<CellFormat<4, 16, CellOrder::WidthMajor>, 1> >
1266 typedef KernelFormat<KernelSideFormat<CellFormat<4, 2>, 3>,
1267 KernelSideFormat<CellFormat<4, 2>, 2> >
Dpack_sse.h32 KernelSideFormat<CellFormat<4, 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;
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 …]
Dkernel_sse.h34 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 1>,
35 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 1> >
208 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 3>,
209 KernelSideFormat<CellFormat<4, 2, CellOrder::WidthMajor>, 1> >
Dpack.h210 typedef typename KernelSideFormat::Cell CellFormat; typedef
213 static const int kCellWidth = CellFormat::kWidth;
214 static const int kKernelWidth = CellFormat::kWidth * kCells;
215 static const int kCellDepth = CellFormat::kDepth;
216 static const int kCellSize = CellFormat::kSize;
275 dst_ptr[OffsetIntoCell<CellFormat>(w, d)] = kernel_val_uint8; in Pack()
296 typedef typename KernelSideFormat::Cell CellFormat; typedef
298 static const int kCellWidth = CellFormat::kWidth;
299 static const int kKernelWidth = CellFormat::kWidth * kCells;
300 static const int kCellDepth = CellFormat::kDepth;
Dkernel_default.h87 KernelSideFormat<CellFormat<4, 16, CellOrder::WidthMajor>, 1>,
88 KernelSideFormat<CellFormat<4, 16, CellOrder::WidthMajor>, 1> > >
Dkernel_msa.h45 typedef KernelFormat<KernelSideFormat<CellFormat<4, 2>, 3>,
46 KernelSideFormat<CellFormat<4, 2>, 2> >
/external/gemmlowp/test/
Dtest.cc1535 ReferenceKernel<KernelFormat<KernelSideFormat<CellFormat<1, 1>, 1>, in TestKernels()
1536 KernelSideFormat<CellFormat<1, 1>, 1>>>>( in TestKernels()
1540 ReferenceKernel<KernelFormat<KernelSideFormat<CellFormat<4, 2>, 1>, in TestKernels()
1541 KernelSideFormat<CellFormat<4, 2>, 2>>>>( in TestKernels()
1545 ReferenceKernel<KernelFormat<KernelSideFormat<CellFormat<4, 2>, 4>, in TestKernels()
1546 KernelSideFormat<CellFormat<4, 2>, 5>>>>( in TestKernels()
1550 KernelSideFormat<CellFormat<3, 4, CellOrder::DepthMajor>, 2>, in TestKernels()
1551 KernelSideFormat<CellFormat<5, 4, CellOrder::DepthMajor>, 3>>>>(&context); in TestKernels()
1554 KernelSideFormat<CellFormat<3, 4, CellOrder::WidthMajor>, 2>, in TestKernels()
1555 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;
46 levels of depth at once. The 'cells' and `CellFormat` detail the layout of these