diff options
author | Gunes Bayir <gunes.bayir@arm.com> | 2022-11-21 21:46:50 +0000 |
---|---|---|
committer | Gunes Bayir <gunes.bayir@arm.com> | 2022-11-28 15:02:59 +0000 |
commit | 7dc0234331f2150a6b4ac5c2b49de419870f7cf5 (patch) | |
tree | 4e514ce8dd98f022fcbde32ca756ddda375cab8c /src/dynamic_fusion/sketch/gpu/components/cl/ClComponentDirectConv2d.cpp | |
parent | 5d01681fe9aa8a04bd5431db9b2866b8d538dbae (diff) | |
download | ComputeLibrary-7dc0234331f2150a6b4ac5c2b49de419870f7cf5.tar.gz |
Implement FP32/16 Depthwise Conv2d operator in dynamic fusion
This patch adds Depthwise Conv2d operator into dynamic fusion interface and adds the associated tests.
Resolves: COMPMID-5517
Change-Id: I385c94dff7fd40c72b8337ef797e508df4499a82
Signed-off-by: Gunes Bayir <gunes.bayir@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8678
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: SiCong Li <sicong.li@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/dynamic_fusion/sketch/gpu/components/cl/ClComponentDirectConv2d.cpp')
-rw-r--r-- | src/dynamic_fusion/sketch/gpu/components/cl/ClComponentDirectConv2d.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/dynamic_fusion/sketch/gpu/components/cl/ClComponentDirectConv2d.cpp b/src/dynamic_fusion/sketch/gpu/components/cl/ClComponentDirectConv2d.cpp index e94cfd1581..dc05825500 100644 --- a/src/dynamic_fusion/sketch/gpu/components/cl/ClComponentDirectConv2d.cpp +++ b/src/dynamic_fusion/sketch/gpu/components/cl/ClComponentDirectConv2d.cpp @@ -35,26 +35,24 @@ namespace experimental { namespace dynamic_fusion { -using Settings = ClComponentDirectConv2dSettings; - -Settings &Settings::export_to_cl_image(bool cl_image) +ClComponentDirectConv2dSettings &ClComponentDirectConv2dSettings::export_to_cl_image(bool cl_image) { _export_to_cl_image = cl_image; return *this; } -bool Settings::export_to_cl_image() const +bool ClComponentDirectConv2dSettings::export_to_cl_image() const { return _export_to_cl_image; } -Settings &Settings::fast_relaxed_math(bool fast_relaxed_math) +ClComponentDirectConv2dSettings &ClComponentDirectConv2dSettings::fast_relaxed_math(bool fast_relaxed_math) { _fast_relaxed_math = fast_relaxed_math; return *this; } -bool Settings::fast_relaxed_math() const +bool ClComponentDirectConv2dSettings::fast_relaxed_math() const { return _fast_relaxed_math; } |