aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/CLUtils.cpp
diff options
context:
space:
mode:
authorGian Marco Iodice <gianmarco.iodice@arm.com>2021-11-29 12:49:19 +0000
committerSheri Zhang <sheri.zhang@arm.com>2022-01-25 12:48:53 +0000
commit10e88a73518932abc427e6b12d0267d5f52ac569 (patch)
tree641a4e5e6d4b540d90923cc105d29b131c848806 /src/core/CL/CLUtils.cpp
parent639f0f665b4346d287014adc99e14a8497aadf18 (diff)
downloadComputeLibrary-10e88a73518932abc427e6b12d0267d5f52ac569.tar.gz
Rework gemm_mm_reshaped_only_rhs_ kernels with new macros
- Rework gemm_reshaped_rhs_only with new TILE macros - Fuse post ops in gemm_reshaped_rhs_only Resolves COMPMID-4890 Change-Id: I944948ecec6d08deaf3545b80cd3eeac26e44205 Signed-off-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6944 Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Sheri Zhang <sheri.zhang@arm.com>
Diffstat (limited to 'src/core/CL/CLUtils.cpp')
-rw-r--r--src/core/CL/CLUtils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/CL/CLUtils.cpp b/src/core/CL/CLUtils.cpp
index 5de9a55686..34ffbb7c6c 100644
--- a/src/core/CL/CLUtils.cpp
+++ b/src/core/CL/CLUtils.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020-2021 Arm Limited.
+ * Copyright (c) 2020-2022 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -127,6 +127,7 @@ void PostOpCLKernelUtils::set_post_ops_cl_build_options(CLBuildOptions &build_op
{
const auto &post_op = post_ops.get_list().at(post_op_id);
const auto slot_prefix = "-DP" + support::cpp11::to_string(slots[post_op_id]);
+ build_opts.add_option("-DPOST_OP" + support::cpp11::to_string(slots[post_op_id]));
if(post_op->type() == experimental::PostOpType::Activation)
{
const auto _post_op = utils::cast::polymorphic_downcast<const experimental::PostOpAct<ITensorInfo *> *>(post_op.get());