Home
last modified time | relevance | path

Searched refs:lanes_count (Results 1 – 5 of 5) sorted by relevance

/external/gemmlowp/meta/generators/
Dstreams_common.py19 def _AlignForLanes(lanes_count): argument
20 if lanes_count is 8 or lanes_count is 4:
22 elif lanes_count is 6 or lanes_count is 2:
28 def _AlignForSums(lanes_count): argument
29 if lanes_count is 8:
31 elif lanes_count in [2, 4, 6]:
37 def _GenerateInputs(emitter, registers, lanes_count, input_address, stride): argument
41 for i in range(lanes_count):
57 def _GenerateLoadAggregateStore(emitter, registers, lanes_count, elements_count, argument
61 emitter.EmitComment('Load Aggregate Store: %dx%d.' % (lanes_count,
[all …]
Dmul_1x8_Mx8_neon.py14 def GenerateLoadMultiplyAggregate(emitter, registers, lanes_count, aggregators, argument
38 emitter.EmitVLoadA('1.8', right_load[:lanes_count],
40 emitter.EmitPldOffset(rhs_2, emitter.ImmediateConstant(lanes_count * 32))
45 for i in range(lanes_count):
48 for i in range(lanes_count):
87 def GenerateAggregatorReduceStore(emitter, registers, lanes_count, aggregators, argument
98 right_offset_2 = ReadRight(emitter, registers, rhs_2, lanes_count)
121 if lanes_count == 1:
125 elif lanes_count == 2:
129 elif lanes_count == 3:
[all …]
Dcommon.py73 def SpecializeStream(self, in_type, lanes_count, pack_size, leftovers): argument
75 template_params = [in_type, lanes_count, pack_size, leftovers, self.name]
82 self.EmitPack(in_type, lanes_count, pack_size, leftovers)
/external/gemmlowp/meta/
Dstreams.h64 static int Scratch(const RowMajor& params, int lanes_count, int pack_size) { in Scratch() argument
65 return AlignTo<64>(lanes_count * AlignTo(pack_size, params.stride)); in Scratch()
87 static int Scratch(const RowMajorWithSum& params, int lanes_count, in Scratch() argument
89 return 32 + AlignTo<32>(sizeof(InType) * lanes_count * in Scratch()
112 static int Scratch(const ColumnMajorWithSum& params, int lanes_count, in Scratch() argument
114 return 32 + AlignTo<32>(sizeof(InType) * lanes_count * in Scratch()
119 template <typename InType, int lanes_count, int pack_size, int leftovers>
120 class Stream<InType, lanes_count, pack_size, leftovers, RowMajor> {
126 << ")::Pack() -- " << lanes_count << "x" << pack_size << " + " in Pack()
130 if (lanes_count != 0) { in Pack()
[all …]
Dbase.h76 template <typename InType, int lanes_count, int pack_size, int leftovers,