diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2017-07-03 17:39:37 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:15:39 +0100 |
commit | ac69aa137e360340fe9f148f019d93af6c3d8336 (patch) | |
tree | 88c2fb6ea8693c69b19d3b7b38fe26cd916303c8 /utils/Utils.h | |
parent | 05da6dd102c988081c7d5eccb227f559f740ceef (diff) | |
download | ComputeLibrary-ac69aa137e360340fe9f148f019d93af6c3d8336.tar.gz |
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 <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
Diffstat (limited to 'utils/Utils.h')
-rw-r--r-- | utils/Utils.h | 12 |
1 files changed, 6 insertions, 6 deletions
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) { |