From ac69aa137e360340fe9f148f019d93af6c3d8336 Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Mon, 3 Jul 2017 17:39:37 +0100 Subject: COMPMID-418 Add check and fix comments after preprocessor conditions Change-Id: I1353fd652ee180e3931e58b4ce13d651a48c7e2c Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79567 Tested-by: Kaizen Reviewed-by: Moritz Pflanzer --- utils/Utils.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'utils/Utils.h') diff --git a/utils/Utils.h b/utils/Utils.h index 3c84c824da..74ee09178d 100644 --- a/utils/Utils.h +++ b/utils/Utils.h @@ -153,7 +153,7 @@ public: { image.map(); } -#endif +#endif /* ARM_COMPUTE_CL */ // Check if the file is large enough to fill the image const size_t current_position = _fs.tellg(); _fs.seekg(0, std::ios_base::end); @@ -220,7 +220,7 @@ public: { image.unmap(); } -#endif +#endif /* ARM_COMPUTE_CL */ } catch(const std::ifstream::failure &e) { @@ -267,7 +267,7 @@ void save_to_ppm(T &tensor, const std::string &ppm_filename) { tensor.map(); } -#endif +#endif /* ARM_COMPUTE_CL */ switch(tensor.info()->format()) { @@ -314,7 +314,7 @@ void save_to_ppm(T &tensor, const std::string &ppm_filename) { tensor.unmap(); } -#endif +#endif /* ARM_COMPUTE_CL */ } catch(const std::ofstream::failure &e) { @@ -351,7 +351,7 @@ void load_trained_data(T &tensor, const std::string &filename) { tensor.map(); } -#endif +#endif /* ARM_COMPUTE_CL */ Window window; window.set(arm_compute::Window::DimX, arm_compute::Window::Dimension(0, 1, 1)); @@ -375,7 +375,7 @@ void load_trained_data(T &tensor, const std::string &filename) { tensor.unmap(); } -#endif +#endif /* ARM_COMPUTE_CL */ } catch(const std::ofstream::failure &e) { -- cgit v1.2.1