aboutsummaryrefslogtreecommitdiff
path: root/src/dynamic_fusion/sketch/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynamic_fusion/sketch/gpu')
-rw-r--r--src/dynamic_fusion/sketch/gpu/GpuKernelComponentGraph.h1
-rw-r--r--src/dynamic_fusion/sketch/gpu/GpuLogicalKernel.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/dynamic_fusion/sketch/gpu/GpuKernelComponentGraph.h b/src/dynamic_fusion/sketch/gpu/GpuKernelComponentGraph.h
index fbcb2c10ea..e4f498b130 100644
--- a/src/dynamic_fusion/sketch/gpu/GpuKernelComponentGraph.h
+++ b/src/dynamic_fusion/sketch/gpu/GpuKernelComponentGraph.h
@@ -76,6 +76,7 @@ public:
const auto src_tensor_ids = get_tensor_ids(tensors.get_const_src_tensors());
const auto dst_tensor_ids = get_tensor_ids(tensors.get_const_dst_tensors());
bool success = _dependency_graph.add_operator(comp->id(), src_tensor_ids, dst_tensor_ids);
+ ARM_COMPUTE_UNUSED(success);
ARM_COMPUTE_ERROR_ON(!success);
_components[comp->id()] = std::move(comp);
for(auto t : tensors.get_const_src_tensors())
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
}
}