[CUSE] Allow multiple calls when getting profile buffer
authorDongju Chae <dongju.chae@samsung.com>
Fri, 16 Jul 2021 07:03:32 +0000 (16:03 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Mon, 19 Jul 2021 02:32:11 +0000 (11:32 +0900)
commitb9115da4f72c102f50c91208ff950bd499cc88bd
tree68413d5951a11f062874802be2ffbf2b44d76fce
parent0753bf86ea723a96f1d16fb46ccf6659735067a1
[CUSE] Allow multiple calls when getting profile buffer

This patch allows multiple calls when getting profile buffer.

Note that CUSE does not allows memory transfer with
larger than 32 * PAGE_SIZE bytes in a single request.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
src/core/npu/NPUdrvAPI_triv2.cc
utils/trinity_cuse/trinity-cuse-triv2.cc
utils/trinity_cuse/trinity-cuse.cc
utils/trinity_cuse/trinity-cuse.h