From e1880f0a0095d73a5478289bbfb9b9ab0d598d6e Mon Sep 17 00:00:00 2001 From: Viet-Hoa Do Date: Wed, 28 Jun 2023 10:25:35 +0100 Subject: Fix compute kernel writer build warnings Partially resolves: COMPMID-6283 Signed-off-by: Viet-Hoa Do Change-Id: I40cdbfd30abca2016f4caaa41a24350d1ff35c4c Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9830 Reviewed-by: Jakub Sujak Comments-Addressed: Arm Jenkins Benchmark: Arm Jenkins Tested-by: Arm Jenkins --- compute_kernel_writer/src/KernelWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compute_kernel_writer/src/KernelWriter.cpp') diff --git a/compute_kernel_writer/src/KernelWriter.cpp b/compute_kernel_writer/src/KernelWriter.cpp index 28538e7893..5d79985e87 100644 --- a/compute_kernel_writer/src/KernelWriter.cpp +++ b/compute_kernel_writer/src/KernelWriter.cpp @@ -139,7 +139,7 @@ void KernelWriter::register_operand(OperandBase *operand, bool declaring) void KernelWriter::op_load(TileOperand &tile, TensorOperand &tensor, const TensorTileSampler &sampler) { - auto impl_tensor = prototype::TensorOperand( + prototype::TensorOperand impl_tensor( tensor.name(), prototype::GpuSampler{ sampler.format(), @@ -160,7 +160,7 @@ void KernelWriter::op_load(TileOperand &tile, TensorOperand &tensor, const Tenso void KernelWriter::op_store(TensorOperand &tensor, const TileOperand &tile, const TensorTileSampler &sampler) { - auto impl_tensor = prototype::TensorOperand( + prototype::TensorOperand impl_tensor( tensor.name(), prototype::GpuSampler{ sampler.format(), -- cgit v1.2.1