Home
last modified time | relevance | path

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

123

/external/XNNPACK/eval/
Df32-expminus.cc32 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
33 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
46 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
47 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
60 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
61 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
80 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
81 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
98 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
99 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
[all …]
Df32-exp.cc32 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
33 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
46 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
47 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
60 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
61 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
80 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
81 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
100 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
101 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
[all …]
Df32-expm1minus.cc32 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
33 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
46 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
47 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
66 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
67 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
84 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
85 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
105 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
106 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
[all …]
Df32-roundd.cc28 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
29 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
40 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
41 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
52 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
53 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
70 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
71 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
88 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
89 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
[all …]
Df32-roundu.cc28 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
29 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
40 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
41 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
52 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
53 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
70 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
71 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
88 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
89 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
[all …]
Df32-roundne.cc28 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
29 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
46 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
47 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
64 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
65 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
82 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
83 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
100 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
101 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
[all …]
Df32-roundz.cc28 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
29 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
46 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
47 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
64 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
65 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
82 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
83 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
100 std::vector<float, AlignedAllocator<float, 64>> inputs(kBlockSize); in TEST()
101 std::vector<float, AlignedAllocator<float, 64>> outputs(kBlockSize); in TEST()
[all …]
Df32-extexp-ulp.cc86 std::vector<float, AlignedAllocator<float, 64>> x(block_size); in ExtExpError()
87 std::vector<float, AlignedAllocator<float, 64>> m(block_size); in ExtExpError()
88 std::vector<float, AlignedAllocator<float, 64>> e(block_size); in ExtExpError()
Df32-expminus-ulp.cc81 std::vector<float, AlignedAllocator<float, 64>> x(block_size); in ExpError()
82 std::vector<float, AlignedAllocator<float, 64>> y(block_size); in ExpError()
Df32-sqrt-ulp.cc81 std::vector<float, AlignedAllocator<float, 64>> x(block_size); in SqrtError()
82 std::vector<float, AlignedAllocator<float, 64>> y(block_size); in SqrtError()
Df32-exp-ulp.cc84 std::vector<float, AlignedAllocator<float, 64>> x(block_size); in ExpError()
85 std::vector<float, AlignedAllocator<float, 64>> y(block_size); in ExpError()
Df32-expm1minus-ulp.cc81 std::vector<float, AlignedAllocator<float, 64>> x(block_size); in ExpM1Error()
82 std::vector<float, AlignedAllocator<float, 64>> y(block_size); in ExpM1Error()
/external/XNNPACK/src/xnnpack/
DAlignedAllocator.h21 class AlignedAllocator; variable
24 class AlignedAllocator<void, Alignment> {
32 typedef AlignedAllocator<U, Alignment> other;
37 class AlignedAllocator {
53 typedef AlignedAllocator<U, Alignment> other;
57 inline AlignedAllocator() noexcept {} in AlignedAllocator() function
60 inline AlignedAllocator( in AlignedAllocator() function
61 const AlignedAllocator<U, Alignment>& other) noexcept {} in AlignedAllocator()
78 typename AlignedAllocator<void, Alignment>::const_pointer hint = 0) {
/external/XNNPACK/bench/
Df16-relu.cc37 std::vector<uint16_t, AlignedAllocator<uint16_t, 64>> x(elements); in f16_relu()
39 std::vector<uint16_t, AlignedAllocator<uint16_t, 64>> y(elements); in f16_relu()
Df32-hswish.cc32 std::vector<float, AlignedAllocator<float, 64>> input(elements); in f32_hswish()
33 std::vector<float, AlignedAllocator<float, 64>> output(elements); in f32_hswish()
Df32-relu.cc35 std::vector<float, AlignedAllocator<float, 64>> x(elements); in f32_relu()
37 std::vector<float, AlignedAllocator<float, 64>> y(elements); in f32_relu()
Df32-conv-hwc2chw.cc58 …std::vector<float, AlignedAllocator<float, 32>> zero(input_channels * input_width + XNN_EXTRA_BYTE… in DConvHWC2CHW3X3S2P1Benchmark()
67 std::vector<float, AlignedAllocator<float, 32>> packed_weights(weights_elements * num_buffers); in DConvHWC2CHW3X3S2P1Benchmark()
Df32-conv-hwc.cc56 …std::vector<float, AlignedAllocator<float, 32>> zero(input_channels * input_width + XNN_EXTRA_BYTE… in DConv3X3S2P1Benchmark()
65 std::vector<float, AlignedAllocator<float, 32>> packed_weights(weights_elements * num_buffers); in DConv3X3S2P1Benchmark()
Df32-vscaleextexp.cc39 std::vector<float, AlignedAllocator<float, 64>> x(elements); in f32_vscaleextexp()
40 std::vector<float, AlignedAllocator<float, 64>> y(packed_n * num_buffers); in f32_vscaleextexp()
Df32-vscaleexpminusmax.cc41 std::vector<float, AlignedAllocator<float, 64>> x(elements); in f32_vscaleexpminusmax()
42 std::vector<float, AlignedAllocator<float, 64>> y(packed_elements * num_buffers); in f32_vscaleexpminusmax()
Df16-spmm.cc129 std::vector<float, AlignedAllocator<float, 64>> a(kc * mc); in SpMMBenchmark()
130 std::vector<float, AlignedAllocator<float, 64>> c(num_buffers * c_elements); in SpMMBenchmark()
Df32-rmax.cc35 std::vector<float, AlignedAllocator<float, 64>> x(elements); in f32_rmax()
/external/XNNPACK/test/
Dprelu-microkernel-tester.h105 …std::vector<uint16_t, AlignedAllocator<uint16_t, 64>> w(channels() + XNN_EXTRA_BYTES / sizeof(uint… in Test()
151 std::vector<float, AlignedAllocator<float, 64>> w(channels() + XNN_EXTRA_BYTES / sizeof(float)); in Test()
Ddwconv2d-microkernel-tester.h177 …std::vector<float, AlignedAllocator<float, 64>> input(input_height() * input_width() + 2 * XNN_EXT…
180 std::vector<float, AlignedAllocator<float, 64>> output(output_height() * output_width());
Dibilinear-microkernel-tester.h101 std::vector<float, AlignedAllocator<float, 64>> packed_weights(pixels() * 2); in Test()
155 std::vector<float, AlignedAllocator<float, 64>> packed_weights(pixels() * 2); in TestCHW()

123