diff options
author | Gunes Bayir <gunes.bayir@arm.com> | 2022-08-11 12:15:39 +0100 |
---|---|---|
committer | Gunes Bayir <gunes.bayir@arm.com> | 2022-08-18 16:31:44 +0000 |
commit | 53929b1fd4dd3c27f5afb5b8626e27605ebe62cf (patch) | |
tree | 39d12e25aa5b9d7552f14b5e4838da0e8a4230c8 /src/cpu/kernels/CpuKernelSelectionTypes.h | |
parent | 9ee8a3e542a8f4fa05816f1a4b82543c0deffbba (diff) | |
download | ComputeLibrary-53929b1fd4dd3c27f5afb5b8626e27605ebe62cf.tar.gz |
Use Neon™ kernels for FP Bilinear Resize for SVE
Removes FP Bilinear SVE kernels and uses Neon™ kernels instead
Resolves: COMPMID-5449
Signed-off-by: Gunes Bayir <gunes.bayir@arm.com>
Change-Id: I8e01de44bd884cb6578ca0b9358509b69bc31ca2
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8100
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Reviewed-by: Pablo Marquez Tello <pablo.tello@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/cpu/kernels/CpuKernelSelectionTypes.h')
-rw-r--r-- | src/cpu/kernels/CpuKernelSelectionTypes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cpu/kernels/CpuKernelSelectionTypes.h b/src/cpu/kernels/CpuKernelSelectionTypes.h index 19c41f9fcd..e3ecc4e709 100644 --- a/src/cpu/kernels/CpuKernelSelectionTypes.h +++ b/src/cpu/kernels/CpuKernelSelectionTypes.h @@ -90,6 +90,13 @@ struct CpuAddKernelDataTypeISASelectorData bool can_interpret_inputs_as_1d_array; }; +struct ScaleKernelDataTypeISASelectorData +{ + DataType dt; + cpuinfo::CpuIsaInfo isa; + InterpolationPolicy interpolation_policy; +}; + // Selector pointer types using DataTypeISASelectorPtr = std::add_pointer<bool(const DataTypeISASelectorData &data)>::type; using DataTypeDataLayoutSelectorPtr = std::add_pointer<bool(const DataTypeDataLayoutISASelectorData &data)>::type; @@ -99,6 +106,7 @@ using DepthwiseConv2dNativeDataTypeISASelectorPtr = std::add_pointer<bool(const using CastDataTypeISASelectorDataPtr = std::add_pointer<bool(const CastDataTypeISASelectorData &data)>::type; using ActivationDataTypeISASelectorDataPtr = std::add_pointer<bool(const ActivationDataTypeISASelectorData &data)>::type; using CpuAddKernelDataTypeISASelectorDataPtr = std::add_pointer<bool(const CpuAddKernelDataTypeISASelectorData &data)>::type; +using ScaleKernelDataTypeISASelectorDataPtr = std::add_pointer<bool(const ScaleKernelDataTypeISASelectorData &data)>::type; } // namespace kernels } // namespace cpu |