aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2021-07-26 13:19:33 +0100
committerFrancis Murtagh <francis.murtagh@arm.com>2021-07-27 13:55:05 +0000
commitf5d5e6caa0b653111adfa6d473a1a76c4494d202 (patch)
tree9f222b374ab3721451fdef23c7d49871e4d9241d
parentee37b1939a70ab343c33bc26a3c08edf40ed817e (diff)
downloadarmnn-f5d5e6caa0b653111adfa6d473a1a76c4494d202.tar.gz
IVGCVSW-6011 Update Mali to r30p0 on debian hikeys
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: I977a75b403a879603f0291a58be21a227201a273
-rw-r--r--src/backends/cl/ClImportTensorHandle.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backends/cl/ClImportTensorHandle.hpp b/src/backends/cl/ClImportTensorHandle.hpp
index 752f793320..3fca7cb127 100644
--- a/src/backends/cl/ClImportTensorHandle.hpp
+++ b/src/backends/cl/ClImportTensorHandle.hpp
@@ -117,6 +117,8 @@ public:
{
CL_IMPORT_TYPE_ARM,
CL_IMPORT_TYPE_DMA_BUF_ARM,
+ CL_IMPORT_DMA_BUF_DATA_CONSISTENCY_WITH_HOST_ARM,
+ CL_TRUE,
0
};
@@ -144,7 +146,7 @@ private:
CL_MEM_READ_WRITE, importProperties, memory, totalBytes, &error);
if (error != CL_SUCCESS)
{
- throw MemoryImportException("ClImportTensorHandle::Invalid imported memory");
+ throw MemoryImportException("ClImportTensorHandle::Invalid imported memory" + std::to_string(error));
}
cl::Buffer wrappedBuffer(buffer);