aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/CL/functions/CLReductionOperation.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLReductionOperation.h')
-rw-r--r--arm_compute/runtime/CL/functions/CLReductionOperation.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/arm_compute/runtime/CL/functions/CLReductionOperation.h b/arm_compute/runtime/CL/functions/CLReductionOperation.h
index 977562d993..4b0adc243d 100644
--- a/arm_compute/runtime/CL/functions/CLReductionOperation.h
+++ b/arm_compute/runtime/CL/functions/CLReductionOperation.h
@@ -75,13 +75,13 @@ public:
void run() override;
private:
- CLMemoryGroup _memory_group;
- std::unique_ptr<CLTensor[]> _results_vector{ nullptr };
- std::unique_ptr<CLReductionOperationKernel[]> _reduction_kernels_vector{ nullptr };
- std::unique_ptr<CLFillBorderKernel[]> _border_handlers_vector{ nullptr };
- unsigned int _num_of_stages;
- unsigned int _reduction_axis;
- bool _is_serial;
+ CLMemoryGroup _memory_group;
+ std::vector<CLTensor> _results_vector;
+ std::vector<CLReductionOperationKernel> _reduction_kernels_vector;
+ std::vector<CLFillBorderKernel> _border_handlers_vector;
+ unsigned int _num_of_stages;
+ unsigned int _reduction_axis;
+ bool _is_serial;
};
} // namespace arm_compute
#endif /*__ARM_COMPUTE_CLREDUCTIONOPERATION_H__ */