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 /tests/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 'tests/Utils.h')
-rw-r--r-- | tests/Utils.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Utils.h b/tests/Utils.h index 8d5046da34..ad45bffe6e 100644 --- a/tests/Utils.h +++ b/tests/Utils.h @@ -40,9 +40,9 @@ #include <string> #include <type_traits> -#if ARM_COMPUTE_ENABLE_FP16 +#ifdef ARM_COMPUTE_ENABLE_FP16 #include <arm_fp16.h> // needed for float16_t -#endif +#endif /* ARM_COMPUTE_ENABLE_FP16 */ namespace arm_compute { @@ -102,7 +102,7 @@ template <> struct promote<int32_t> { using type = int64_t; }; template <> struct promote<float> { using type = float; }; #ifdef ARM_COMPUTE_ENABLE_FP16 template <> struct promote<float16_t> { using type = float16_t; }; -#endif +#endif /* ARM_COMPUTE_ENABLE_FP16 */ template <typename T> @@ -417,4 +417,4 @@ inline T create_tensor(const TensorShape &shape, DataType data_type, int num_cha } } // namespace test } // namespace arm_compute -#endif +#endif /* __ARM_COMPUTE_TEST_UTILS_H__ */ |