diff options
author | David Monahan <david.monahan@arm.com> | 2021-08-12 10:20:21 +0100 |
---|---|---|
committer | Matthew Sloyan <matthew.sloyan@arm.com> | 2021-08-12 17:52:17 +0100 |
commit | 8a5e59bc9bdc862add31aff31734aa50c3122ca4 (patch) | |
tree | 7a491a31fe77e4a05e650a9fc435bfc2c02f64cf /include | |
parent | 3e364ca52901475335c36a9cbb3a8360287a467c (diff) | |
download | armnn-8a5e59bc9bdc862add31aff31734aa50c3122ca4.tar.gz |
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 <david.monahan@arm.com>
Change-Id: I2125f6f6fe72363d87ead62e211fc45e4fa28b3f
Diffstat (limited to 'include')
-rw-r--r-- | include/armnn/backends/ICustomAllocator.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |