aboutsummaryrefslogtreecommitdiff
path: root/src/dynamic_fusion/sketch/gpu/GpuLogicalKernel.cpp
diff options
context:
space:
mode:
authorSiCong Li <sicong.li@arm.com>2022-11-09 16:01:44 +0000
committerSiCong Li <sicong.li@arm.com>2022-11-10 17:24:16 +0000
commitfd76611f50b0abe5effbe4b7f7129a745115fdf9 (patch)
tree79290d0b9c914a122fa9b299b97e72e0240ac046 /src/dynamic_fusion/sketch/gpu/GpuLogicalKernel.cpp
parentd4a9cc00a666c7d4c2a35c49d71b322f27e369fc (diff)
downloadComputeLibrary-fd76611f50b0abe5effbe4b7f7129a745115fdf9.tar.gz
Fix compiler warnings in dynamic fusion
Remove conflicting Padding2D from the unused comparison operator in the prototpye Resolve unused variables in release mode Resolves COMPMID-5683 Signed-off-by: SiCong Li <sicong.li@arm.com> Change-Id: I19d74c57e51e6cf64003ddcbc74227608bb866d2 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8590 Reviewed-by: Jakub Sujak <jakub.sujak@arm.com> Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/dynamic_fusion/sketch/gpu/GpuLogicalKernel.cpp')
-rw-r--r--src/dynamic_fusion/sketch/gpu/GpuLogicalKernel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dynamic_fusion/sketch/gpu/GpuLogicalKernel.cpp b/src/dynamic_fusion/sketch/gpu/GpuLogicalKernel.cpp
index 7746f8bbf3..c560e9a931 100644
--- a/src/dynamic_fusion/sketch/gpu/GpuLogicalKernel.cpp
+++ b/src/dynamic_fusion/sketch/gpu/GpuLogicalKernel.cpp
@@ -79,6 +79,7 @@ void GpuLogicalKernel::add_load_store()
tensors);
_store_components.push_back(std::move(store));
auto success = _comp_group.add_component(_store_components.back().get());
+ ARM_COMPUTE_UNUSED(success);
ARM_COMPUTE_ERROR_ON(!success); // It's guaranteed that any load store insertion should be successful
}
}