diff options
Diffstat (limited to 'src/core/CL/CLUtils.cpp')
-rw-r--r-- | src/core/CL/CLUtils.cpp | 3 |
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()); |