diff options
author | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2021-06-30 08:39:44 +0000 |
---|---|---|
committer | SiCong Li <sicong.li@arm.com> | 2021-06-30 14:03:17 +0000 |
commit | c63b722591ff23c8c6fe5fb8ef8c8516d40f03aa (patch) | |
tree | cbcf05d2daf6cf0b4f5f73d289cdd0356a57b7b9 /src/core/gpu | |
parent | 4a578b923ed000c67fe0bc1433f945aea634ca9c (diff) | |
download | ComputeLibrary-c63b722591ff23c8c6fe5fb8ef8c8516d40f03aa.tar.gz |
Revert "Rework OpenCL Depthwise Convolution"
This reverts commit 561c176598cd14245e2e7918fdf136d1c888d1da.
Reason for revert: <validation>
Change-Id: I6f2d61c27520439bb538e9265736532104b24cf8
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5127
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/gpu')
-rw-r--r-- | src/core/gpu/cl/ClKernelLibrary.cpp | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/src/core/gpu/cl/ClKernelLibrary.cpp b/src/core/gpu/cl/ClKernelLibrary.cpp index 73da93c1f5..9d516e54a7 100644 --- a/src/core/gpu/cl/ClKernelLibrary.cpp +++ b/src/core/gpu/cl/ClKernelLibrary.cpp @@ -223,13 +223,23 @@ const std::map<std::string, std::string> ClKernelLibrary::_kernel_program_map = { "crop_tensor", "crop_tensor.cl" }, { "deconvolution_reshape", "deconvolution_layer.cl" }, { "deconvolution_upsample", "deconvolution_layer.cl" }, + { "depthwise_convolution_3x3", "depthwise_convolution.cl" }, + { "depthwise_convolution_3x3_f16", "depthwise_convolution.cl" }, + { "depthwise_convolution_3x3_nhwc", "depthwise_convolution.cl" }, + { "depthwise_convolution_3x3_nhwc_stride1", "depthwise_convolution.cl" }, + { "dwc_MxN_native_fp_nhwc", "depthwise_convolution.cl" }, + { "dwc_MxN_native_quantized8_nhwc", "depthwise_convolution_quantized.cl" }, + { "dwc_3x3_native_quantized8_nchw", "depthwise_convolution_quantized.cl" }, + { "dwc_3x3_native_quantized8_dot8_nchw", "depthwise_convolution_quantized.cl" }, { "depth_to_space_nchw", "depth_to_space.cl" }, { "depth_to_space_nhwc", "depth_to_space.cl" }, + { "depthwise_convolution_3x3_stridex1_stridey1_f16", "depthwise_convolution.cl" }, + { "depthwise_convolution_3x3_stridex2_stridey2_f16", "depthwise_convolution.cl" }, + { "depthwise_convolution_3x3_stridex1_stridey1_f32", "depthwise_convolution.cl" }, + { "depthwise_convolution_3x3_stridex2_stridey2_f32", "depthwise_convolution.cl" }, { "dequantization_layer", "dequantization_layer.cl" }, { "dequantization_layer_per_channel_nhwc", "dequantization_layer.cl" }, { "dequantization_layer_per_channel_nchw", "dequantization_layer.cl" }, - { "dwc_native_fp_nhwc", "dwc_native_fp_nhwc.cl" }, - { "dwc_native_quantized_nhwc", "dwc_native_quantized_nhwc.cl" }, { "direct_convolution_nhwc", "direct_convolution.cl" }, { "direct_convolution1x1", "direct_convolution1x1.cl" }, { "direct_convolution1x1_f32_bifrost", "direct_convolution1x1.cl" }, @@ -565,6 +575,14 @@ const std::map<std::string, std::string> ClKernelLibrary::_program_source_map = #include "./cl_kernels/depth_to_space.clembed" }, { + "depthwise_convolution.cl", +#include "./cl_kernels/depthwise_convolution.clembed" + }, + { + "depthwise_convolution_quantized.cl", +#include "./cl_kernels/depthwise_convolution_quantized.clembed" + }, + { "dequantization_layer.cl", #include "./cl_kernels/dequantization_layer.clembed" }, @@ -589,14 +607,6 @@ const std::map<std::string, std::string> ClKernelLibrary::_program_source_map = #include "./cl_kernels/direct_convolution.clembed" }, { - "dwc_native_fp_nhwc.cl", -#include "./cl_kernels/dwc_native_fp_nhwc.clembed" - }, - { - "dwc_native_quantized_nhwc.cl", -#include "./cl_kernels/dwc_native_quantized_nhwc.clembed" - }, - { "elementwise_operation.cl", #include "./cl_kernels/elementwise_operation.clembed" }, |