Home
last modified time | relevance | path

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

/external/gemmlowp/standalone/
Dneon-gemm-kernel-benchmark.cc193 struct CellFormat { struct
243 template <typename CellFormat>
245 switch (CellFormat::kOrder) { in OffsetIntoCell()
247 return w + d * CellFormat::kWidth; in OffsetIntoCell()
249 return d + w * CellFormat::kDepth; in OffsetIntoCell()
251 assert(CellFormat::kWidth == CellFormat::kDepth); in OffsetIntoCell()
252 static const int size = CellFormat::kWidth; in OffsetIntoCell()
270 KernelSideFormat<CellFormat<4, 2, CellOrder::DepthMajor>, 3>,
271 KernelSideFormat<CellFormat<4, 2, CellOrder::DepthMajor>, 1> >
459 KernelSideFormat<CellFormat<3, 8, CellOrder::WidthMajor>, 1>,
[all …]
/external/gemmlowp/internal/
Dkernel.h128 struct CellFormat { struct
184 template <typename CellFormat>
186 switch (CellFormat::kOrder) { in OffsetIntoCell()
188 return w + d * CellFormat::kWidth; in OffsetIntoCell()
190 return d + w * CellFormat::kDepth; in OffsetIntoCell()
192 assert(CellFormat::kWidth == CellFormat::kDepth); in OffsetIntoCell()
193 static const int size = CellFormat::kWidth; in OffsetIntoCell()
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_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> >
1267 typedef KernelFormat<KernelSideFormat<CellFormat<4, 2>, 3>,
1268 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;
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.h102 KernelSideFormat<CellFormat<4, 16, CellOrder::WidthMajor>, 1>,
103 KernelSideFormat<CellFormat<4, 16, CellOrder::WidthMajor>, 1> > >
/external/gemmlowp/test/
Dtest.cc1536 ReferenceKernel<KernelFormat<KernelSideFormat<CellFormat<1, 1>, 1>, in TestKernels()
1537 KernelSideFormat<CellFormat<1, 1>, 1>>>>( in TestKernels()
1541 ReferenceKernel<KernelFormat<KernelSideFormat<CellFormat<4, 2>, 1>, in TestKernels()
1542 KernelSideFormat<CellFormat<4, 2>, 2>>>>( in TestKernels()
1546 ReferenceKernel<KernelFormat<KernelSideFormat<CellFormat<4, 2>, 4>, in TestKernels()
1547 KernelSideFormat<CellFormat<4, 2>, 5>>>>( in TestKernels()
1551 KernelSideFormat<CellFormat<3, 4, CellOrder::DepthMajor>, 2>, in TestKernels()
1552 KernelSideFormat<CellFormat<5, 4, CellOrder::DepthMajor>, 3>>>>(&context); in TestKernels()
1555 KernelSideFormat<CellFormat<3, 4, CellOrder::WidthMajor>, 2>, in TestKernels()
1556 KernelSideFormat<CellFormat<5, 4, CellOrder::WidthMajor>, 3>>>>(&context); in TestKernels()
[all …]
/external/gemmlowp/doc/
Dkernels.txt41 typedef KernelFormat<KernelSideFormat<CellFormat<4, 2>, 3>,
42 KernelSideFormat<CellFormat<4, 2>, 1> > Format;
51 rhs, and handles two levels of depth at once. The 'cells' and 'CellFormat'
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