diff options
author | arovir01 <Aron.Virginas-Tar@arm.com> | 2018-10-01 17:08:59 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-10 16:16:57 +0100 |
commit | 616e775763280992de92287b129dc335be91a24c (patch) | |
tree | 5b7ced2fa8005f4371fe8005ee98cb88d16e0e09 /src/backends/test/TensorCopyUtils.cpp | |
parent | 29cadb3ff3066d6feb1801a921be326bf5ed8f47 (diff) | |
download | armnn-616e775763280992de92287b129dc335be91a24c.tar.gz |
IVGCVSW-1913: Fix for ValidationTest.concat_float_3_relaxed
* Added RefPermuteFloat16Workload to serve as a fallback when CL
does not support the required permute configuration for FP16
* Move Half.hpp to armnnUtils as the utils library should not be
including private header files from the armnn library
Change-Id: Ibf0f698451e8406f7ed7cce470dab60b6d16361d
Diffstat (limited to 'src/backends/test/TensorCopyUtils.cpp')
-rw-r--r-- | src/backends/test/TensorCopyUtils.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/backends/test/TensorCopyUtils.cpp b/src/backends/test/TensorCopyUtils.cpp index e92469aaa3..7e17e8b9fd 100644 --- a/src/backends/test/TensorCopyUtils.cpp +++ b/src/backends/test/TensorCopyUtils.cpp @@ -3,13 +3,11 @@ // SPDX-License-Identifier: MIT // -#include <algorithm> -#include <cstring> -#include <boost/cast.hpp> -#include <Half.hpp> - #include "TensorCopyUtils.hpp" +#include <armnnUtils/Half.hpp> + + #ifdef ARMCOMPUTECL_ENABLED #include <backends/cl/ClTensorHandle.hpp> #endif @@ -24,6 +22,10 @@ #include <backends/CpuTensorHandle.hpp> +#include <boost/cast.hpp> +#include <algorithm> +#include <cstring> + void CopyDataToITensorHandle(armnn::ITensorHandle* tensorHandle, const void* mem) { switch (tensorHandle->GetType()) |