diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-09-23 11:57:33 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 7655a67384895868c0afa72bfda9a9b2fcfdf323 (patch) | |
tree | 30c1ebf1d4bb05dbdb287403b2539af8c8657b87 /utils/TypePrinter.h | |
parent | de691f055ac255c798a766483eef63465ac90c75 (diff) | |
download | ComputeLibrary-7655a67384895868c0afa72bfda9a9b2fcfdf323.tar.gz |
COMPMID-507: Move Sobel to new validation
Change-Id: Ic0a9dbd8e646abbf8d9ea52e497a5fe60e499cc7
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88883
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'utils/TypePrinter.h')
-rw-r--r-- | utils/TypePrinter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index 30592fff55..6e2d7e24f3 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -389,6 +389,13 @@ inline ::std::ostream &operator<<(::std::ostream &os, const Format &format) return os; } +inline std::string to_string(const Format &format) +{ + std::stringstream str; + str << format; + return str.str(); +} + /** Formatted output of the Channel type. */ inline ::std::ostream &operator<<(::std::ostream &os, const Channel &channel) { |