diff options
author | Isabella Gottardi <isabella.gottardi@arm.com> | 2017-07-13 15:55:57 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 1fab09f36bdd1e5473bb019cf9639f4a92b4daa1 (patch) | |
tree | 62842028154146a193d08f5bc36af0c2fc39ab2b /tests/TypePrinter.h | |
parent | 04f089cbcb4407e8d2883525edb661ba15ea922d (diff) | |
download | ComputeLibrary-1fab09f36bdd1e5473bb019cf9639f4a92b4daa1.tar.gz |
COMPMID-424 Implemented reference implementation, new output valid region and validation tests (NEON and CL) for Scale
Change-Id: I056fa3588b807a97cacf0b8afaec56e37ffc92af
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/83872
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/TypePrinter.h')
-rw-r--r-- | tests/TypePrinter.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/TypePrinter.h b/tests/TypePrinter.h index 49e717a48a..394ee9d87c 100644 --- a/tests/TypePrinter.h +++ b/tests/TypePrinter.h @@ -121,6 +121,13 @@ inline ::std::ostream &operator<<(::std::ostream &os, const BorderMode &mode) return os; } +inline std::string to_string(const BorderMode &mode) +{ + std::stringstream str; + str << mode; + return str.str(); +} + /** Formatted output of the NonLinearFilterFunction type. */ inline ::std::ostream &operator<<(::std::ostream &os, const NonLinearFilterFunction &function) { @@ -187,6 +194,13 @@ inline ::std::ostream &operator<<(::std::ostream &os, const InterpolationPolicy return os; } +inline std::string to_string(const InterpolationPolicy &policy) +{ + std::stringstream str; + str << policy; + return str.str(); +} + /** Formatted output of the ConversionPolicy type. */ inline ::std::ostream &operator<<(::std::ostream &os, const ConvertPolicy &policy) { |