diff options
author | giuros01 <giuseppe.rossini@arm.com> | 2018-11-16 14:45:31 +0000 |
---|---|---|
committer | Giuseppe Rossini <giuseppe.rossini@arm.com> | 2019-01-30 15:06:53 +0000 |
commit | edc21e44313edea693700a6bdfa353edcfbe25be (patch) | |
tree | 02437ac1d0f0eda5f33626c1d4ab068138d50bbc /arm_compute | |
parent | dc310b5f18b6cff41d2570eee4997a42e3aacc8f (diff) | |
download | ComputeLibrary-edc21e44313edea693700a6bdfa353edcfbe25be.tar.gz |
COMPMID-1912: Print functions should be enabled in assert mode
Change-Id: Ic7c4b703bd5de73275ae6352a787969e6de55520
Reviewed-on: https://review.mlplatform.org/600
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Diffstat (limited to 'arm_compute')
-rw-r--r-- | arm_compute/core/Utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arm_compute/core/Utils.h b/arm_compute/core/Utils.h index 44974f1ecc..816999db51 100644 --- a/arm_compute/core/Utils.h +++ b/arm_compute/core/Utils.h @@ -1104,7 +1104,7 @@ bool check_value_range(T val, DataType dt, QuantizationInfo quant_info = Quantiz } } -#ifdef ARM_COMPUTE_DEBUG_ENABLED +#ifdef ARM_COMPUTE_ASSERTS_ENABLED /** Print consecutive elements to an output stream. * * @param[out] s Output stream to print the elements to. @@ -1193,6 +1193,6 @@ void print_consecutive_elements(std::ostream &s, DataType dt, const uint8_t *ptr * @return The maximum width of the elements. */ int max_consecutive_elements_display_width(std::ostream &s, DataType dt, const uint8_t *ptr, unsigned int n); -#endif /* ARM_COMPUTE_DEBUG_ENABLED */ +#endif /* ARM_COMPUTE_ASSERTS_ENABLED */ } #endif /*__ARM_COMPUTE_UTILS_H__ */ |