diff options
Diffstat (limited to 'src/dynamic_fusion/sketch/gpu/operators')
4 files changed, 5 insertions, 1 deletions
diff --git a/src/dynamic_fusion/sketch/gpu/operators/GpuConv2d.cpp b/src/dynamic_fusion/sketch/gpu/operators/GpuConv2d.cpp index e00f09563f..d29d84844e 100644 --- a/src/dynamic_fusion/sketch/gpu/operators/GpuConv2d.cpp +++ b/src/dynamic_fusion/sketch/gpu/operators/GpuConv2d.cpp @@ -204,12 +204,13 @@ ITensorInfo *GpuConv2d::create_op(GpuWorkloadSketch &sketch, const auto sketch_ctx = sketch.implementation().context(); - const auto gpu_target = sketch_ctx->gpu_target(); + const auto gpu_target = sketch_ctx->gpu_target(); 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_UNUSED(cl_compile_ctx); // Add Direct Conv2d Component { diff --git a/src/dynamic_fusion/sketch/gpu/operators/GpuPool2d.cpp b/src/dynamic_fusion/sketch/gpu/operators/GpuPool2d.cpp index c602f45164..e464be8607 100644 --- a/src/dynamic_fusion/sketch/gpu/operators/GpuPool2d.cpp +++ b/src/dynamic_fusion/sketch/gpu/operators/GpuPool2d.cpp @@ -169,6 +169,7 @@ void GpuPool2d::create_op(GpuWorkloadSketch &sketch, if(sketch_ctx->gpu_language() == GpuLanguage::OpenCL) { const auto cl_compile_ctx = sketch_ctx->cl_compile_context(); + ARM_COMPUTE_UNUSED(cl_compile_ctx); ARM_COMPUTE_ERROR_ON(cl_compile_ctx == nullptr); // Add Component diff --git a/src/dynamic_fusion/sketch/gpu/operators/GpuReshape.cpp b/src/dynamic_fusion/sketch/gpu/operators/GpuReshape.cpp index f5645f325f..0f43a578df 100644 --- a/src/dynamic_fusion/sketch/gpu/operators/GpuReshape.cpp +++ b/src/dynamic_fusion/sketch/gpu/operators/GpuReshape.cpp @@ -130,6 +130,7 @@ ITensorInfo *GpuReshape::create_op(GpuWorkloadSketch &sketch, if(sketch_ctx->gpu_language() == GpuLanguage::OpenCL) { const auto cl_compile_ctx = sketch_ctx->cl_compile_context(); + ARM_COMPUTE_UNUSED(cl_compile_ctx); ARM_COMPUTE_ERROR_ON(cl_compile_ctx == nullptr); // Add ElementwiseBinary Component diff --git a/src/dynamic_fusion/sketch/gpu/operators/GpuSoftmax.cpp b/src/dynamic_fusion/sketch/gpu/operators/GpuSoftmax.cpp index db74538f91..291a1e5bda 100644 --- a/src/dynamic_fusion/sketch/gpu/operators/GpuSoftmax.cpp +++ b/src/dynamic_fusion/sketch/gpu/operators/GpuSoftmax.cpp @@ -154,6 +154,7 @@ void GpuSoftmax::create_op(GpuWorkloadSketch &sketch, if(sketch_ctx->gpu_language() == GpuLanguage::OpenCL) { const auto cl_compile_ctx = sketch_ctx->cl_compile_context(); + ARM_COMPUTE_UNUSED(cl_compile_ctx); ARM_COMPUTE_ERROR_ON(cl_compile_ctx == nullptr); // Add Direct Conv2d Component |