/external/XNNPACK/eval/ |
D | f32-expminus.cc | 32 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 …]
|
D | f32-exp.cc | 32 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 …]
|
D | f32-expm1minus.cc | 32 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 …]
|
D | f32-roundd.cc | 28 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 …]
|
D | f32-roundu.cc | 28 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 …]
|
D | f32-roundne.cc | 28 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 …]
|
D | f32-roundz.cc | 28 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 …]
|
D | f32-extexp-ulp.cc | 86 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()
|
D | f32-expminus-ulp.cc | 81 std::vector<float, AlignedAllocator<float, 64>> x(block_size); in ExpError() 82 std::vector<float, AlignedAllocator<float, 64>> y(block_size); in ExpError()
|
D | f32-sqrt-ulp.cc | 81 std::vector<float, AlignedAllocator<float, 64>> x(block_size); in SqrtError() 82 std::vector<float, AlignedAllocator<float, 64>> y(block_size); in SqrtError()
|
D | f32-exp-ulp.cc | 84 std::vector<float, AlignedAllocator<float, 64>> x(block_size); in ExpError() 85 std::vector<float, AlignedAllocator<float, 64>> y(block_size); in ExpError()
|
D | f32-expm1minus-ulp.cc | 81 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/ |
D | AlignedAllocator.h | 21 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/ |
D | f16-relu.cc | 37 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()
|
D | f32-hswish.cc | 32 std::vector<float, AlignedAllocator<float, 64>> input(elements); in f32_hswish() 33 std::vector<float, AlignedAllocator<float, 64>> output(elements); in f32_hswish()
|
D | f32-relu.cc | 35 std::vector<float, AlignedAllocator<float, 64>> x(elements); in f32_relu() 37 std::vector<float, AlignedAllocator<float, 64>> y(elements); in f32_relu()
|
D | f32-conv-hwc2chw.cc | 58 …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()
|
D | f32-conv-hwc.cc | 56 …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()
|
D | f32-vscaleextexp.cc | 39 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()
|
D | f32-vscaleexpminusmax.cc | 41 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()
|
D | f16-spmm.cc | 129 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()
|
D | f32-rmax.cc | 35 std::vector<float, AlignedAllocator<float, 64>> x(elements); in f32_rmax()
|
/external/XNNPACK/test/ |
D | prelu-microkernel-tester.h | 105 …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()
|
D | dwconv2d-microkernel-tester.h | 177 …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());
|
D | ibilinear-microkernel-tester.h | 101 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()
|