From e9b123083bd101ad9c7dd22ba81f0a481e5cb414 Mon Sep 17 00:00:00 2001 From: David Monahan Date: Thu, 12 Aug 2021 10:20:21 +0100 Subject: IVGCVSW-6078 Add support for Dma_buf CustomMemoryAllocator * Updated supported sources in ICustomAllocator * Added MemorySource to the overridden MemoryRegion in ClBackend * Added switch statements to handle mapping/unmapping of differing memory sources * Added Import handler to map allocated DmaBuf memory Signed-off-by: David Monahan Change-Id: I2125f6f6fe72363d87ead62e211fc45e4fa28b3f --- include/armnn/backends/ICustomAllocator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/armnn/backends/ICustomAllocator.hpp b/include/armnn/backends/ICustomAllocator.hpp index 92cbcc2641..2cb5f41f78 100644 --- a/include/armnn/backends/ICustomAllocator.hpp +++ b/include/armnn/backends/ICustomAllocator.hpp @@ -34,8 +34,8 @@ public: // Used to specify what type of memory is being allocated by this allocator. // Supported types are: // MemorySource::Malloc - // Unsupported types are: // MemorySource::DmaBuf + // Unsupported types are: // MemorySource::DmaBufProtected virtual armnn::MemorySource GetMemorySourceType() = 0; -- cgit v1.2.1