aboutsummaryrefslogtreecommitdiff
path: root/compute_kernel_writer/src/KernelWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compute_kernel_writer/src/KernelWriter.cpp')
-rw-r--r--compute_kernel_writer/src/KernelWriter.cpp4
1 files changed, 2 insertions, 2 deletions
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(),