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/validation/TensorFactory.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/validation/TensorFactory.h')
-rw-r--r-- | tests/validation/TensorFactory.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/validation/TensorFactory.h b/tests/validation/TensorFactory.h index d842baddde..2f33dd283d 100644 --- a/tests/validation/TensorFactory.h +++ b/tests/validation/TensorFactory.h @@ -32,7 +32,7 @@ #if ARM_COMPUTE_ENABLE_FP16 #include <arm_fp16.h> // needed for float16_t -#endif +#endif /* ARM_COMPUTE_ENABLE_FP16 */ namespace arm_compute { @@ -45,7 +45,7 @@ using TensorVariant = boost::variant < Tensor<uint8_t>, Tensor<int8_t>, Tensor<uint32_t>, Tensor<int32_t>, #ifdef ARM_COMPUTE_ENABLE_FP16 Tensor<float16_t>, -#endif +#endif /* ARM_COMPUTE_ENABLE_FP16 */ Tensor<float >>; /** Helper to create a constant type if the passed reference is constant. */ @@ -100,7 +100,7 @@ public: using value_type_f16 = typename match_const<R, float16_t>::type; v = Tensor<float16_t>(shape, dt, fixed_point_position, reinterpret_cast<value_type_f16 *>(data)); break; -#endif +#endif /* ARM_COMPUTE_ENABLE_FP16 */ case DataType::F32: using value_type_f32 = typename match_const<R, float>::type; v = Tensor<float>(shape, dt, fixed_point_position, reinterpret_cast<value_type_f32 *>(data)); |