aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/Utils.h
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2018-12-03 13:58:32 +0000
committerMichalis Spyrou <michalis.spyrou@arm.com>2018-12-04 15:57:03 +0000
commit7043d3667a14eae46fc0b16aa1cf745eab9f38b3 (patch)
treeda81c6b470a2337d9f4ae0053798a75d9b0a4f71 /arm_compute/core/Utils.h
parentf554be787e1875ed4f8094cee4146f989dfb85f6 (diff)
downloadComputeLibrary-7043d3667a14eae46fc0b16aa1cf745eab9f38b3.tar.gz
COMPMID-1824 Disable logging completely when building with logging=0
Change-Id: Ie0d5387c0546045e14e62c84c03894a9b0339585 Reviewed-on: https://review.mlplatform.org/335 Reviewed-by: Pablo Marquez <pablo.tello@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/Utils.h')
-rw-r--r--arm_compute/core/Utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arm_compute/core/Utils.h b/arm_compute/core/Utils.h
index f1395a40d9..7c5d87f475 100644
--- a/arm_compute/core/Utils.h
+++ b/arm_compute/core/Utils.h
@@ -1024,6 +1024,7 @@ inline std::string float_to_string_with_full_precision(float val)
return ss.str();
}
+#ifdef ARM_COMPUTE_DEBUG_ENABLED
/** Print consecutive elements to an output stream.
*
* @param[out] s Output stream to print the elements to.
@@ -1112,5 +1113,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_UTILS_H__ */