/external/XNNPACK/test/ |
D | f32-vadd-relu.cc | 51 TEST(F32_VADD_RELU__WASMSIMD_X4, inplace_a) { in TEST() argument 55 .inplace_a(true) in TEST() 73 .inplace_a(true) in TEST() 112 TEST(F32_VADD_RELU__WASMSIMD_X8, inplace_a) { in TEST() argument 116 .inplace_a(true) in TEST() 134 .inplace_a(true) in TEST() 173 TEST(F32_VADD_RELU__WASMSIMD_X16, inplace_a) { in TEST() argument 177 .inplace_a(true) in TEST() 195 .inplace_a(true) in TEST() 218 TEST(F32_VADD_RELU__WASM_X1, inplace_a) { in TEST() argument [all …]
|
D | f32-vdiv-relu.cc | 51 TEST(F32_VDIV_RELU__WASMSIMD_X4, inplace_a) { in TEST() argument 55 .inplace_a(true) in TEST() 73 .inplace_a(true) in TEST() 112 TEST(F32_VDIV_RELU__WASMSIMD_X8, inplace_a) { in TEST() argument 116 .inplace_a(true) in TEST() 134 .inplace_a(true) in TEST() 173 TEST(F32_VDIV_RELU__WASMSIMD_X16, inplace_a) { in TEST() argument 177 .inplace_a(true) in TEST() 195 .inplace_a(true) in TEST() 218 TEST(F32_VDIV_RELU__WASM_X1, inplace_a) { in TEST() argument [all …]
|
D | f32-vmul-relu.cc | 51 TEST(F32_VMUL_RELU__WASMSIMD_X4, inplace_a) { in TEST() argument 55 .inplace_a(true) in TEST() 73 .inplace_a(true) in TEST() 112 TEST(F32_VMUL_RELU__WASMSIMD_X8, inplace_a) { in TEST() argument 116 .inplace_a(true) in TEST() 134 .inplace_a(true) in TEST() 173 TEST(F32_VMUL_RELU__WASMSIMD_X16, inplace_a) { in TEST() argument 177 .inplace_a(true) in TEST() 195 .inplace_a(true) in TEST() 218 TEST(F32_VMUL_RELU__WASM_X1, inplace_a) { in TEST() argument [all …]
|
D | f32-vsub-relu.cc | 51 TEST(F32_VSUB_RELU__WASMSIMD_X4, inplace_a) { in TEST() argument 55 .inplace_a(true) in TEST() 73 .inplace_a(true) in TEST() 112 TEST(F32_VSUB_RELU__WASMSIMD_X8, inplace_a) { in TEST() argument 116 .inplace_a(true) in TEST() 134 .inplace_a(true) in TEST() 173 TEST(F32_VSUB_RELU__WASMSIMD_X16, inplace_a) { in TEST() argument 177 .inplace_a(true) in TEST() 195 .inplace_a(true) in TEST() 218 TEST(F32_VSUB_RELU__WASM_X1, inplace_a) { in TEST() argument [all …]
|
D | f32-vmax.cc | 55 TEST(F32_VMAX__NEON_X4, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 123 TEST(F32_VMAX__NEON_X8, inplace_a) { in TEST() argument 128 .inplace_a(true) in TEST() 148 .inplace_a(true) in TEST() 191 TEST(F32_VMAX__SSE_X4, inplace_a) { in TEST() argument 196 .inplace_a(true) in TEST() 216 .inplace_a(true) in TEST() 259 TEST(F32_VMAX__SSE_X8, inplace_a) { in TEST() argument [all …]
|
D | f32-vmin.cc | 55 TEST(F32_VMIN__NEON_X4, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 123 TEST(F32_VMIN__NEON_X8, inplace_a) { in TEST() argument 128 .inplace_a(true) in TEST() 148 .inplace_a(true) in TEST() 191 TEST(F32_VMIN__SSE_X4, inplace_a) { in TEST() argument 196 .inplace_a(true) in TEST() 216 .inplace_a(true) in TEST() 259 TEST(F32_VMIN__SSE_X8, inplace_a) { in TEST() argument [all …]
|
D | f32-vsqrdiff.cc | 55 TEST(F32_VSQRDIFF__NEON_X4, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 123 TEST(F32_VSQRDIFF__NEON_X8, inplace_a) { in TEST() argument 128 .inplace_a(true) in TEST() 148 .inplace_a(true) in TEST() 191 TEST(F32_VSQRDIFF__SSE_X4, inplace_a) { in TEST() argument 196 .inplace_a(true) in TEST() 216 .inplace_a(true) in TEST() 259 TEST(F32_VSQRDIFF__SSE_X8, inplace_a) { in TEST() argument [all …]
|
D | f32-vsub.cc | 51 TEST(F32_VSUB__WASMSIMD_X4, inplace_a) { in TEST() argument 55 .inplace_a(true) in TEST() 73 .inplace_a(true) in TEST() 112 TEST(F32_VSUB__WASMSIMD_X8, inplace_a) { in TEST() argument 116 .inplace_a(true) in TEST() 134 .inplace_a(true) in TEST() 173 TEST(F32_VSUB__WASMSIMD_X16, inplace_a) { in TEST() argument 177 .inplace_a(true) in TEST() 195 .inplace_a(true) in TEST() 217 TEST(F32_VSUB__SCALAR_X1, inplace_a) { in TEST() argument [all …]
|
D | f32-vmul.cc | 51 TEST(F32_VMUL__WASMSIMD_X4, inplace_a) { in TEST() argument 55 .inplace_a(true) in TEST() 73 .inplace_a(true) in TEST() 112 TEST(F32_VMUL__WASMSIMD_X8, inplace_a) { in TEST() argument 116 .inplace_a(true) in TEST() 134 .inplace_a(true) in TEST() 173 TEST(F32_VMUL__WASMSIMD_X16, inplace_a) { in TEST() argument 177 .inplace_a(true) in TEST() 195 .inplace_a(true) in TEST() 217 TEST(F32_VMUL__SCALAR_X1, inplace_a) { in TEST() argument [all …]
|
D | f32-vdiv.cc | 51 TEST(F32_VDIV__WASMSIMD_X4, inplace_a) { in TEST() argument 55 .inplace_a(true) in TEST() 73 .inplace_a(true) in TEST() 112 TEST(F32_VDIV__WASMSIMD_X8, inplace_a) { in TEST() argument 116 .inplace_a(true) in TEST() 134 .inplace_a(true) in TEST() 173 TEST(F32_VDIV__WASMSIMD_X16, inplace_a) { in TEST() argument 177 .inplace_a(true) in TEST() 195 .inplace_a(true) in TEST() 217 TEST(F32_VDIV__SCALAR_X1, inplace_a) { in TEST() argument [all …]
|
D | f32-vadd.cc | 51 TEST(F32_VADD__WASMSIMD_X4, inplace_a) { in TEST() argument 55 .inplace_a(true) in TEST() 73 .inplace_a(true) in TEST() 112 TEST(F32_VADD__WASMSIMD_X8, inplace_a) { in TEST() argument 116 .inplace_a(true) in TEST() 134 .inplace_a(true) in TEST() 173 TEST(F32_VADD__WASMSIMD_X16, inplace_a) { in TEST() argument 177 .inplace_a(true) in TEST() 195 .inplace_a(true) in TEST() 217 TEST(F32_VADD__SCALAR_X1, inplace_a) { in TEST() argument [all …]
|
D | f32-vadd-minmax.cc | 55 TEST(F32_VADD_MINMAX__NEON_X4, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 143 TEST(F32_VADD_MINMAX__NEON_X8, inplace_a) { in TEST() argument 148 .inplace_a(true) in TEST() 168 .inplace_a(true) in TEST() 231 TEST(F32_VADD_MINMAX__SSE_X4, inplace_a) { in TEST() argument 236 .inplace_a(true) in TEST() 256 .inplace_a(true) in TEST() 319 TEST(F32_VADD_MINMAX__SSE_X8, inplace_a) { in TEST() argument [all …]
|
D | f32-vdiv-minmax.cc | 55 TEST(F32_VDIV_MINMAX__NEON_X4, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 143 TEST(F32_VDIV_MINMAX__NEON_X8, inplace_a) { in TEST() argument 148 .inplace_a(true) in TEST() 168 .inplace_a(true) in TEST() 231 TEST(F32_VDIV_MINMAX__SSE_X4, inplace_a) { in TEST() argument 236 .inplace_a(true) in TEST() 256 .inplace_a(true) in TEST() 319 TEST(F32_VDIV_MINMAX__SSE_X8, inplace_a) { in TEST() argument [all …]
|
D | f32-vmul-minmax.cc | 55 TEST(F32_VMUL_MINMAX__NEON_X4, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 143 TEST(F32_VMUL_MINMAX__NEON_X8, inplace_a) { in TEST() argument 148 .inplace_a(true) in TEST() 168 .inplace_a(true) in TEST() 231 TEST(F32_VMUL_MINMAX__SSE_X4, inplace_a) { in TEST() argument 236 .inplace_a(true) in TEST() 256 .inplace_a(true) in TEST() 319 TEST(F32_VMUL_MINMAX__SSE_X8, inplace_a) { in TEST() argument [all …]
|
D | f32-vsub-minmax.cc | 55 TEST(F32_VSUB_MINMAX__NEON_X4, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 143 TEST(F32_VSUB_MINMAX__NEON_X8, inplace_a) { in TEST() argument 148 .inplace_a(true) in TEST() 168 .inplace_a(true) in TEST() 231 TEST(F32_VSUB_MINMAX__SSE_X4, inplace_a) { in TEST() argument 236 .inplace_a(true) in TEST() 256 .inplace_a(true) in TEST() 319 TEST(F32_VSUB_MINMAX__SSE_X8, inplace_a) { in TEST() argument [all …]
|
D | vbinary-microkernel-tester.h | 52 inline VBinOpMicrokernelTester& inplace_a(bool inplace_a) { in inplace_a() argument 53 this->inplace_a_ = inplace_a; in inplace_a() 57 inline bool inplace_a() const { in inplace_a() function 105 …std::vector<uint16_t> y(batch_size() + (inplace_a() || inplace_b() ? XNN_EXTRA_BYTES / sizeof(uint… in Test() 110 if (inplace_a() || inplace_b()) { in Test() 115 const uint16_t* a_data = inplace_a() ? y.data() : a.data(); in Test() 167 …std::vector<uint16_t> y(batch_size() + (inplace_a() || inplace_b() ? XNN_EXTRA_BYTES / sizeof(uint… in Test() 172 if (inplace_a() || inplace_b()) { in Test() 177 const uint16_t* a_data = inplace_a() ? y.data() : a.data(); in Test() 246 …std::vector<float> y(batch_size() + (inplace_a() || inplace_b() ? XNN_EXTRA_BYTES / sizeof(float) … [all …]
|
D | f16-vmin.cc | 55 TEST(F16_VMIN__NEONFP16ARITH_X8, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 123 TEST(F16_VMIN__NEONFP16ARITH_X16, inplace_a) { in TEST() argument 128 .inplace_a(true) in TEST() 148 .inplace_a(true) in TEST()
|
D | f16-vsqrdiff.cc | 55 TEST(F16_VSQRDIFF__NEONFP16ARITH_X8, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 123 TEST(F16_VSQRDIFF__NEONFP16ARITH_X16, inplace_a) { in TEST() argument 128 .inplace_a(true) in TEST() 148 .inplace_a(true) in TEST()
|
D | f16-vmax.cc | 55 TEST(F16_VMAX__NEONFP16ARITH_X8, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 123 TEST(F16_VMAX__NEONFP16ARITH_X16, inplace_a) { in TEST() argument 128 .inplace_a(true) in TEST() 148 .inplace_a(true) in TEST()
|
D | qs8-vadd-minmax.cc | 55 TEST(QS8_VADD_MINMAX__NEON_LD64_X8, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 215 TEST(QS8_VADD_MINMAX__NEON_LD64_X16, inplace_a) { in TEST() argument 220 .inplace_a(true) in TEST() 240 .inplace_a(true) in TEST() 375 TEST(QS8_VADD_MINMAX__NEON_LD64_X24, inplace_a) { in TEST() argument 380 .inplace_a(true) in TEST() 400 .inplace_a(true) in TEST() 535 TEST(QS8_VADD_MINMAX__NEON_LD64_X32, inplace_a) { in TEST() argument [all …]
|
D | f16-vsub-minmax.cc | 55 TEST(F16_VSUB_MINMAX__NEONFP16ARITH_X8, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 143 TEST(F16_VSUB_MINMAX__NEONFP16ARITH_X16, inplace_a) { in TEST() argument 148 .inplace_a(true) in TEST() 168 .inplace_a(true) in TEST()
|
D | f16-vadd-minmax.cc | 55 TEST(F16_VADD_MINMAX__NEONFP16ARITH_X8, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 143 TEST(F16_VADD_MINMAX__NEONFP16ARITH_X16, inplace_a) { in TEST() argument 148 .inplace_a(true) in TEST() 168 .inplace_a(true) in TEST()
|
D | f16-vmul-minmax.cc | 55 TEST(F16_VMUL_MINMAX__NEONFP16ARITH_X8, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 143 TEST(F16_VMUL_MINMAX__NEONFP16ARITH_X16, inplace_a) { in TEST() argument 148 .inplace_a(true) in TEST() 168 .inplace_a(true) in TEST()
|
D | f16-vdiv-minmax.cc | 55 TEST(F16_VDIV_MINMAX__NEONFP16ARITH_X8, inplace_a) { in TEST() argument 60 .inplace_a(true) in TEST() 80 .inplace_a(true) in TEST() 143 TEST(F16_VDIV_MINMAX__NEONFP16ARITH_X16, inplace_a) { in TEST() argument 148 .inplace_a(true) in TEST() 168 .inplace_a(true) in TEST()
|
D | vadd-microkernel-tester.h | 45 inline VAddMicrokernelTester& inplace_a(bool inplace_a) { in inplace_a() function 46 this->inplace_a_ = inplace_a; in inplace_a() 50 inline bool inplace_a() const { in inplace_a() function 157 …std::vector<uint8_t> y(batch_size() + (inplace_a() || inplace_b() ? XNN_EXTRA_BYTES / sizeof(uint8… 163 if (inplace_a() || inplace_b()) { 168 const uint8_t* a_data = inplace_a() ? y.data() : a.data(); 228 …std::vector<int8_t> y(batch_size() + (inplace_a() || inplace_b() ? XNN_EXTRA_BYTES / sizeof(int8_t… 234 if (inplace_a() || inplace_b()) { 239 const int8_t* a_data = inplace_a() ? y.data() : a.data();
|