aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLTranspose.cpp
diff options
context:
space:
mode:
authorGian Marco <gianmarco.iodice@arm.com>2017-12-05 16:17:23 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:42:17 +0000
commit7c435f2e32e3441ac6c288e786f25c86b65e1453 (patch)
treedea2494ccc4bd437cdd4f66ff1412f02c7ba7cdb /src/runtime/CL/functions/CLTranspose.cpp
parent07c37f9954555ae3523c85f16e46cf94e9a9e290 (diff)
downloadComputeLibrary-7c435f2e32e3441ac6c288e786f25c86b65e1453.tar.gz
COMPMID-728 - Added validation for transpose
- Added validation in NETranspose - Added validation in CLTranspose Change-Id: I51aa1810c957fda75bdf899f33116d96a76d89a1 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/111999 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CL/functions/CLTranspose.cpp')
-rw-r--r--src/runtime/CL/functions/CLTranspose.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/CL/functions/CLTranspose.cpp b/src/runtime/CL/functions/CLTranspose.cpp
index cd19e255bd..ad5c04124d 100644
--- a/src/runtime/CL/functions/CLTranspose.cpp
+++ b/src/runtime/CL/functions/CLTranspose.cpp
@@ -35,4 +35,9 @@ void CLTranspose::configure(const ICLTensor *input, ICLTensor *output)
auto k = arm_compute::support::cpp14::make_unique<CLTransposeKernel>();
k->configure(input, output);
_kernel = std::move(k);
+}
+
+Error CLTranspose::validate(const ITensorInfo *input, const ITensorInfo *output)
+{
+ return CLTransposeKernel::validate(input, output);
} \ No newline at end of file