diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-06-09 10:08:27 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-06-15 17:57:39 +0000 |
commit | 08302c17cd57356b35d46e17dc8d8f76672da5cf (patch) | |
tree | 3fed9bea3586bc140cc953e935f6ed55e8692dac /utils/TypePrinter.h | |
parent | 450dfb1b4d719d60295bfae56f4c46dcaf044d72 (diff) | |
download | ComputeLibrary-08302c17cd57356b35d46e17dc8d8f76672da5cf.tar.gz |
Add CPU discovery capabilities.
Resolves: COMPMID-4500
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I008c51934ef813fb1f489b531288c4419e701955
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5799
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'utils/TypePrinter.h')
-rw-r--r-- | utils/TypePrinter.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index e849edc092..e8cb6e85b7 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -24,7 +24,6 @@ #ifndef __ARM_COMPUTE_TYPE_PRINTER_H__ #define __ARM_COMPUTE_TYPE_PRINTER_H__ -#include "arm_compute/core/CPP/CPPTypes.h" #include "arm_compute/core/Dimensions.h" #include "arm_compute/core/Error.h" #include "arm_compute/core/GPUTarget.h" @@ -2014,60 +2013,6 @@ inline std::string to_string(const DetectionWindow &detection_window) return str.str(); } -/** Formatted output of the CPUModel type. - * - * @param[out] os Output stream - * @param[in] cpu_model Model to output - * - * @return Modified output stream. - */ -inline ::std::ostream &operator<<(::std::ostream &os, const CPUModel &cpu_model) -{ - switch(cpu_model) - { - case CPUModel::GENERIC: - os << "GENERIC"; - break; - case CPUModel::GENERIC_FP16: - os << "GENERIC_FP16"; - break; - case CPUModel::GENERIC_FP16_DOT: - os << "GENERIC_FP16_DOT"; - break; - case CPUModel::A53: - os << "A53"; - break; - case CPUModel::A55r0: - os << "A55r0"; - break; - case CPUModel::A55r1: - os << "A55r1"; - break; - case CPUModel::A73: - os << "A73"; - break; - case CPUModel::X1: - os << "X1"; - break; - default: - ARM_COMPUTE_ERROR("NOT_SUPPORTED!"); - } - - return os; -} - -/** Formatted output of the CPUModel type. - * - * @param[in] cpu_model Model to output - * - * @return Formatted string. - */ -inline std::string to_string(const CPUModel &cpu_model) -{ - std::stringstream str; - str << cpu_model; - return str.str(); -} /** Formatted output of a vector of objects. * * @param[out] os Output stream |