diff options
author | David Monahan <david.monahan@arm.com> | 2021-08-12 10:20:21 +0100 |
---|---|---|
committer | David Monahan <david.monahan@arm.com> | 2021-08-12 15:00:02 +0100 |
commit | e9b123083bd101ad9c7dd22ba81f0a481e5cb414 (patch) | |
tree | 7a491a31fe77e4a05e650a9fc435bfc2c02f64cf /include/armnn/backends | |
parent | 62573b6aa595a0ee469d7beb8ef4ac8e82211570 (diff) | |
download | armnn-e9b123083bd101ad9c7dd22ba81f0a481e5cb414.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/armnn/backends')
-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; |