aboutsummaryrefslogtreecommitdiff
path: root/src/dynamic_fusion/sketch/gpu/components/cl/ClComponentActivation.cpp
diff options
context:
space:
mode:
authorAdnan AlSinan <adnan.alsinan@arm.com>2023-07-10 15:20:44 +0100
committerAdnan AlSinan <adnan.alsinan@arm.com>2023-07-14 12:55:26 +0000
commit4184e86508c3b1a744e9687d1112ba5f65f55eeb (patch)
tree582520ac5cdf54800a36e8162c1f9b6f0f6f29d8 /src/dynamic_fusion/sketch/gpu/components/cl/ClComponentActivation.cpp
parenta5577dbe4735656e488aa7a47261b993e49b6562 (diff)
downloadComputeLibrary-4184e86508c3b1a744e9687d1112ba5f65f55eeb.tar.gz
Port ClTemplateActivation into Ckw
Resolves COMPMID-6256 Signed-off-by: Adnan AlSinan <adnan.alsinan@arm.com> Change-Id: I48f6a9dfadefced20802bec1ab4ab843a9deba6e Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9912 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: SiCong Li <sicong.li@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/dynamic_fusion/sketch/gpu/components/cl/ClComponentActivation.cpp')
-rw-r--r--src/dynamic_fusion/sketch/gpu/components/cl/ClComponentActivation.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/dynamic_fusion/sketch/gpu/components/cl/ClComponentActivation.cpp b/src/dynamic_fusion/sketch/gpu/components/cl/ClComponentActivation.cpp
index 3e8d256a08..d2cde40a10 100644
--- a/src/dynamic_fusion/sketch/gpu/components/cl/ClComponentActivation.cpp
+++ b/src/dynamic_fusion/sketch/gpu/components/cl/ClComponentActivation.cpp
@@ -24,6 +24,7 @@
#include "ClComponentActivation.h"
#include "src/core/CL/CLValidate.h"
+#include "src/dynamic_fusion/sketch/gpu/ckw_driver/components/GpuCkwActivation.h"
#include "src/dynamic_fusion/sketch/gpu/template_writer/cl/ClTemplateActivation.h"
namespace arm_compute
@@ -65,7 +66,8 @@ ClComponentActivation::ClComponentActivation(ComponentId
const ArgumentPack<ITensorInfo> &tensors,
const Attributes &attributes)
: IGpuKernelComponent{ id, properties, tensors },
- _component_writer{ std::make_unique<ClTemplateActivation>(id, tensors, attributes) }
+ _component_writer{ std::make_unique<ClTemplateActivation>(id, tensors, attributes) },
+ _ckw_driver{ std::make_unique<GpuCkwActivation>(id, tensors, attributes) }
{
}
@@ -77,6 +79,11 @@ const IGpuTemplateComponentWriter *ClComponentActivation::template_writer() cons
{
return _component_writer.get();
}
+
+const IGpuCkwComponentDriver *ClComponentActivation::ckw_component_driver() const
+{
+ return _ckw_driver.get();
+}
} // namespace dynamic_fusion
} // namespace experimental
} // namespace arm_compute