[Cuse/Fix] Add ENABLE_CUSE macro instead of variable
authorDongju Chae <dongju.chae@samsung.com>
Fri, 24 Sep 2021 06:35:23 +0000 (15:35 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Mon, 27 Sep 2021 01:24:41 +0000 (10:24 +0900)
commit95468fcaac4698505ede9d553656b5acc2226888
treebfa557fbc6a4475bfc1794570a249ae46c76ec49
parent4413ecfa96e8740eaec5a075d86ab19d71c85892
[Cuse/Fix] Add ENABLE_CUSE macro instead of variable

This patch explicitly adds ENABLE_CUSE macro rather than
using an internal variable.

Note that in case of .NET app running on the Tizen emulator,
cuse context's pid is not the calling process. So, the pid
info is shared via a file. But, this may not have any sync issue
because an emulator may not support concurrent executions.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
meson.build
meson_options.txt
packaging/npu-engine.spec
src/core/npu/NPUdrvAPI.h
src/core/npu/NPUdrvAPI_triv2.cc
utils/trinity_cuse/trinity-cuse.cc