[UAPI] Use a hwmem type to support contiguous mapping
authorDongju Chae <dongju.chae@samsung.com>
Mon, 25 Jan 2021 04:53:38 +0000 (13:53 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Mon, 22 Feb 2021 04:28:04 +0000 (13:28 +0900)
commit9451af280b8af1d782ec9f7e089b1d6a718da0f9
tree380eecba4e06469e5b61d8c2574f119328945b82
parent2cc6c06d2d05f342c730d5d5c1893680cfdc2f60
[UAPI] Use a hwmem type to support contiguous mapping

This patch changes hwmem_alloc/dealloc to require a hwmem type,
to support the physically-contiguous mapping.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
src/core/ne-handler.cc
src/core/ne-hwmem.cc
src/core/ne-hwmem.h
src/core/npu/NPUdrvAPI.h
src/core/npu/NPUdrvAPI_emul.cc
src/core/npu/NPUdrvAPI_triv2.cc