diff options
author | Pablo Marquez Tello <pablo.tello@arm.com> | 2021-08-10 10:22:51 +0100 |
---|---|---|
committer | Nikhil Raj Arm <nikhil.raj@arm.com> | 2021-08-10 11:56:27 +0000 |
commit | 288d3cb4beb7bbfdb2f8ce2811a07bf285a00d21 (patch) | |
tree | 56d4d7583f66c7716d95ef6946e583a24e9171e5 /src | |
parent | ced49dc53189c10daae2726bf49e8fcd2f09bf71 (diff) | |
download | ComputeLibrary-288d3cb4beb7bbfdb2f8ce2811a07bf285a00d21.tar.gz |
Fix compiler error in CLActivationLayer
* GCC 7.4 + Ubuntu 16
* Resolves COMPMID-4761.
Change-Id: Id259f00c860b23c4a20881dd0c6ab6468cf17385
Signed-off-by: Pablo Marquez Tello <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6070
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Nikhil Raj Arm <nikhil.raj@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/runtime/gpu/cl/operators/ClActivation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/gpu/cl/operators/ClActivation.cpp b/src/runtime/gpu/cl/operators/ClActivation.cpp index bef42d7fae..34a2f94fdc 100644 --- a/src/runtime/gpu/cl/operators/ClActivation.cpp +++ b/src/runtime/gpu/cl/operators/ClActivation.cpp @@ -69,7 +69,7 @@ std::tuple<IOperator *, StatusCode> ClContext::create_activation(const AclTensor if(op == nullptr) { ARM_COMPUTE_LOG_ERROR_ACL("Couldn't allocate internal resources"); - return { nullptr, StatusCode::OutOfMemory }; + return std::make_tuple(nullptr, StatusCode::OutOfMemory); } op->set_internal_operator(std::move(act_op)); |