aboutsummaryrefslogtreecommitdiff
path: root/src/dynamic_fusion/sketch/gpu/operators/GpuDepthwiseConv2d.cpp
diff options
context:
space:
mode:
authorViet-Hoa Do <viet-hoa.do@arm.com>2022-12-23 14:42:55 +0000
committerViet-Hoa Do <viet-hoa.do@arm.com>2022-12-28 15:04:31 +0000
commit81f796b1d49d737d5f24fdc83397dbdbd1fac7d7 (patch)
tree61214f68f9f2db8f804929ec8e01a8379140626b /src/dynamic_fusion/sketch/gpu/operators/GpuDepthwiseConv2d.cpp
parentaecb5d93225deace061cb7038d5844eec32c4e52 (diff)
downloadComputeLibrary-81f796b1d49d737d5f24fdc83397dbdbd1fac7d7.tar.gz
Fix various compilation errors
Partially resolves: COMPMID-5794 Signed-off-by: Viet-Hoa Do <viet-hoa.do@arm.com> Change-Id: I275d0401be978e86507990bdb7dc5b1538a108d8 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8884 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Gunes Bayir <gunes.bayir@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/dynamic_fusion/sketch/gpu/operators/GpuDepthwiseConv2d.cpp')
-rw-r--r--src/dynamic_fusion/sketch/gpu/operators/GpuDepthwiseConv2d.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dynamic_fusion/sketch/gpu/operators/GpuDepthwiseConv2d.cpp b/src/dynamic_fusion/sketch/gpu/operators/GpuDepthwiseConv2d.cpp
index 89f1e999b8..caccbb1830 100644
--- a/src/dynamic_fusion/sketch/gpu/operators/GpuDepthwiseConv2d.cpp
+++ b/src/dynamic_fusion/sketch/gpu/operators/GpuDepthwiseConv2d.cpp
@@ -287,8 +287,7 @@ void GpuDepthwiseConv2d::create_op(GpuWorkloadSketch &sketch,
if(sketch_ctx->gpu_language() == GpuLanguage::OpenCL)
{
- const auto cl_compile_ctx = sketch_ctx->cl_compile_context();
- ARM_COMPUTE_ERROR_ON(cl_compile_ctx == nullptr);
+ ARM_COMPUTE_ERROR_ON_NULLPTR(sketch_ctx->cl_compile_context());
// Add Depthwise Conv2d Component
{