diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-05-01 13:03:59 +0100 |
---|---|---|
committer | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-05-10 14:42:02 +0100 |
commit | 9d0b5f82c2734444145718f12788f2dde436ef45 (patch) | |
tree | b4771f8043f3da4af07c6f33fd803cdfcc394a20 /arm_compute/runtime/CL/functions/CLReductionOperation.h | |
parent | 4bcef43cb5665167c128f3e43f69239889ee34bc (diff) | |
download | ComputeLibrary-9d0b5f82c2734444145718f12788f2dde436ef45.tar.gz |
COMPMID-2177 Fix clang warnings
Change-Id: I78039db8c58d7b14a042c41e54c25fb9cb509bf7
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1092
Reviewed-by: VidhyaSudhan Loganathan <vidhyasudhan.loganathan@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLReductionOperation.h')
-rw-r--r-- | arm_compute/runtime/CL/functions/CLReductionOperation.h | 14 |
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__ */ |