platform/adaptation/npu/trix-engine.git
3 years ago[DLOG] change dlog tag name
Dongju Chae [Fri, 15 Oct 2021 10:15:55 +0000 (19:15 +0900)]
[DLOG] change dlog tag name

This patch changes dlog tag name from npu-engine to TRIV2.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Release] npu-engine v2.4.2 release
Dongju Chae [Thu, 14 Oct 2021 07:59:26 +0000 (16:59 +0900)]
[Release] npu-engine v2.4.2 release

This patch makes new release for npu-engine, v2.4.2.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[FIX/SVACE] Fix svace error (integer overflow)
Dongju Chae [Thu, 14 Oct 2021 07:38:30 +0000 (16:38 +0900)]
[FIX/SVACE] Fix svace error (integer overflow)

This patch fixes svace error, integer overflow, due to tainted
operands.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[FIX/DSPM] Use envionment variable to check dspm size
Dongju Chae [Tue, 12 Oct 2021 06:50:12 +0000 (15:50 +0900)]
[FIX/DSPM] Use envionment variable to check dspm size

This patch uses envionment variable of libmrpsim to check
the dspm size.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Pkg/Cuse] Apply smack rules in the post script
Dongju Chae [Mon, 27 Sep 2021 01:47:21 +0000 (10:47 +0900)]
[Pkg/Cuse] Apply smack rules in the post script

This patch applies cuse-driver related smack rules in
the post script.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Cuse/Fix] Add ENABLE_CUSE macro instead of variable
Dongju Chae [Fri, 24 Sep 2021 06:35:23 +0000 (15:35 +0900)]
[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>
3 years ago[Release] npu-engine v2.4.1 release
Dongju Chae [Fri, 17 Sep 2021 06:59:52 +0000 (15:59 +0900)]
[Release] npu-engine v2.4.1 release

This patch makes new release for npu-engine, v2.4.1.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Test/Fix] Change data type to DATA_TYPE_MODEL
Dongju Chae [Mon, 13 Sep 2021 03:16:13 +0000 (12:16 +0900)]
[Test/Fix] Change data type to DATA_TYPE_MODEL

This patch change a data type to DATA_TYPE_MODEL which
describe the data type that a model internally assumes.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Emul/Profile] Add PID info. to profile data path
Dongju Chae [Fri, 3 Sep 2021 04:46:04 +0000 (13:46 +0900)]
[Emul/Profile] Add PID info. to profile data path

This patch adds PID info. to profile data path. It will prevent
concurrent accesses to the same file from multiple users.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Coverity] Resolve newly reported coverity issues
Dongju Chae [Thu, 26 Aug 2021 07:18:14 +0000 (16:18 +0900)]
[Coverity] Resolve newly reported coverity issues

This patch resolves newly reported coverity issues.
It seems that the latest version of coverity detects more
conservatively.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Release] npu-engine v2.4.0 release
Dongju Chae [Mon, 23 Aug 2021 06:34:44 +0000 (15:34 +0900)]
[Release] npu-engine v2.4.0 release

This patch makes new release for npu-engine, v2.4.0.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Test] Add missing result message in interleave apptest
Dongju Chae [Tue, 24 Aug 2021 03:39:44 +0000 (12:39 +0900)]
[Test] Add missing result message in interleave apptest

This patch adds missing result message in interleave apptest.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Fix] Use LAYOUT_MODEL for dmabuf apptest
Dongju Chae [Tue, 24 Aug 2021 03:17:04 +0000 (12:17 +0900)]
[Fix] Use LAYOUT_MODEL for dmabuf apptest

This patch uses LAYOUT_MODEL for dmabuf apptest.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Docs] Update testing guide in FPGA
Dongju Chae [Tue, 24 Aug 2021 03:16:07 +0000 (12:16 +0900)]
[Docs] Update testing guide in FPGA

This patch updates testing guide in FPGA.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Docs] Update npu-engine version info
Dongju Chae [Mon, 23 Aug 2021 06:48:24 +0000 (15:48 +0900)]
[Docs] Update npu-engine version info

This patch updates npu-engine version info.
- npu-engine: v2.4.0
- testdata: v2.3.8

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Fix] Use v2.3.8 models for testing
Dongju Chae [Mon, 23 Aug 2021 10:11:16 +0000 (19:11 +0900)]
[Fix] Use v2.3.8 models for testing

This patch uses v2.3.8 models for testing.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Plugin] Rename nnstreamer subplugin
Dongju Chae [Thu, 19 Aug 2021 02:13:16 +0000 (11:13 +0900)]
[Plugin] Rename nnstreamer subplugin

This patch renames nnstreamer subplugin from srnpu to trix-engine.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Release] npu-engine v2.3.16 release
Dongju Chae [Wed, 11 Aug 2021 07:42:15 +0000 (16:42 +0900)]
[Release] npu-engine v2.3.16 release

This patch makes new release for npu-engine, v2.3.16.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Bug] fix layout checking when calculating tensor size
Dongju Chae [Thu, 12 Aug 2021 01:46:46 +0000 (10:46 +0900)]
[Bug] fix layout checking when calculating tensor size

This patch fixes layout checking when calculating tensor size.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Coverage] Increase code coverage
Dongju Chae [Wed, 11 Aug 2021 09:02:17 +0000 (18:02 +0900)]
[Coverage] Increase code coverage

This patch increases code coverage.
- Line Coverage: 89.1%
- Func Coverage: 92.2%

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Profile] Allow multiple calls to get profile data
Dongju Chae [Tue, 10 Aug 2021 04:32:34 +0000 (13:32 +0900)]
[Profile] Allow multiple calls to get profile data

This patch revises profiling codes to allow multiple calls
to get profile data.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Action] Use debug mode to check PR
Dongju Chae [Tue, 10 Aug 2021 06:45:09 +0000 (15:45 +0900)]
[Action] Use debug mode to check PR

This patch uses debug mode to check PR.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Bug/Fix] Don't access request instance after callback
Dongju Chae [Tue, 10 Aug 2021 06:31:02 +0000 (15:31 +0900)]
[Bug/Fix] Don't access request instance after callback

This patch fixes double free bug. The callback handler
should not access the request instance after user callback.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Action] Update pr checker to make core dump
Dongju Chae [Tue, 10 Aug 2021 05:58:37 +0000 (14:58 +0900)]
[Action] Update pr checker to make core dump

This patch updates pr checker to make core dump on failures.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Action] Add workflow to upload core dump
Dongju Chae [Tue, 10 Aug 2021 03:21:25 +0000 (12:21 +0900)]
[Action] Add workflow to upload core dump

This patch adds action workflow to upload core dump on failures

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Valgrind] Remove valgrind warnings.
Dongju Chae [Mon, 9 Aug 2021 05:01:37 +0000 (14:01 +0900)]
[Valgrind] Remove valgrind warnings.

This patch removes valgrind warnings mostly related to value
initialization.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Test] Refactoring setting test model
Dongju Chae [Mon, 9 Aug 2021 09:24:47 +0000 (18:24 +0900)]
[Test] Refactoring setting test model

This patch performs code refactoring setting the test model
used in libnpuhost unittests.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Misc] Change the default loglevel to 2
Dongju Chae [Tue, 10 Aug 2021 01:14:05 +0000 (10:14 +0900)]
[Misc] Change the default loglevel to 2

This patch changes the default loglevel to 2.
It will show warning messages as well as error messages.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Misc] Update README.md
Dongju Chae [Mon, 9 Aug 2021 09:34:37 +0000 (18:34 +0900)]
[Misc] Update README.md

This patch updates README.md to describe ubuntu 20.04 support.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Format] Revise the format of whole source codes
Dongju Chae [Fri, 6 Aug 2021 06:54:11 +0000 (15:54 +0900)]
[Format] Revise the format of whole source codes

This patch revises the format of whole source codes using
column limit 100.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Clang/Format] Update column limit to 100
Dongju Chae [Fri, 6 Aug 2021 06:52:39 +0000 (15:52 +0900)]
[Clang/Format] Update column limit to 100

This patch updates column limit to 100. The original width 80 is
too strict and does not provide readability in our cases.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Coverage] Increase coverage for libnpuhost APIs
Dongju Chae [Fri, 6 Aug 2021 06:01:52 +0000 (15:01 +0900)]
[Coverage] Increase coverage for libnpuhost APIs

This patch increases code coverage for libnpuhost APIs.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Converage] Increase code coverage for input services
Dongju Chae [Fri, 6 Aug 2021 02:42:37 +0000 (11:42 +0900)]
[Converage] Increase code coverage for input services

This patch increases code coverage for input services.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Docs] Update some documents
Dongju Chae [Thu, 5 Aug 2021 06:56:14 +0000 (15:56 +0900)]
[Docs] Update some documents

This patch updates some documents to describe the latest NPU-DDK.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Release] npu-engine v2.3.15 release
Dongju Chae [Tue, 3 Aug 2021 05:58:04 +0000 (14:58 +0900)]
[Release] npu-engine v2.3.15 release

This patch makes new release for npu-engine, v2.3.15.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Layout] Skip layout conversion for raw data layout
Dongju Chae [Thu, 5 Aug 2021 01:12:04 +0000 (10:12 +0900)]
[Layout] Skip layout conversion for raw data layout

This patch makes the data converter skip layout conversion
for raw data layout.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Layout] Add warning when setting data info
Dongju Chae [Thu, 5 Aug 2021 02:54:29 +0000 (11:54 +0900)]
[Layout] Add warning when setting data info

This patch adds warning messages when setting data info of
raw tensor data.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Model] Fix tensor size calculation
Dongju Chae [Wed, 4 Aug 2021 07:13:58 +0000 (16:13 +0900)]
[Model] Fix tensor size calculation

This patch fixes tensor size calculation.
The special handling is applied NONE/TRIV2 layout only.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[layout] Add raw data layout
Dongju Chae [Wed, 4 Aug 2021 07:00:52 +0000 (16:00 +0900)]
[layout] Add raw data layout

This patch adds new enum value, DATA_LAYOUT_RAW.

When it's specified, npu-engine skips data layout conversion which means
the tensor size should be matched with the corresponding segment size.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Doc] Add extra description for FastModels
Dongju Chae [Tue, 3 Aug 2021 02:02:33 +0000 (11:02 +0900)]
[Doc] Add extra description for FastModels

This patch adds extra description for FastModels.

NPU-DDK FM is not available to non-SR users if they don't have
valid licenses.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Doc] Fix wrong package name
Dongju Chae [Sun, 1 Aug 2021 22:52:26 +0000 (07:52 +0900)]
[Doc] Fix wrong package name

This patch fixes wrong package name.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Docs] Remove deprecated APIs in docs
Dongju Chae [Wed, 28 Jul 2021 08:06:44 +0000 (17:06 +0900)]
[Docs] Remove deprecated APIs in docs

This patch removes deprecated APIs in docs.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[FPGA] Fix logic to compare output data
Dongju Chae [Tue, 27 Jul 2021 08:18:54 +0000 (17:18 +0900)]
[FPGA] Fix logic to compare output data

This patch fixes logic to compare output data.
Also, don't use output buffers allocated by a NPU driver in FPGA.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Doc] Add some documents for NPU kernel modules
Dongju Chae [Wed, 28 Jul 2021 00:50:50 +0000 (09:50 +0900)]
[Doc] Add some documents for NPU kernel modules

This patch adds some documents how to install NPU kernel modules.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Utils] Update model-inspect to show segment data layout
Dongju Chae [Tue, 27 Jul 2021 06:14:35 +0000 (15:14 +0900)]
[Utils] Update model-inspect to show segment data layout

This patch updates model-inspect to show segment data layout.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[FPGA] Fix the memcpy size of fpga workaround
Dongju Chae [Tue, 27 Jul 2021 06:14:35 +0000 (15:14 +0900)]
[FPGA] Fix the memcpy size of fpga workaround

This patch fixes the memcpy size of fpga workaround.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Test] Fix the print format of bulk test.
Dongju Chae [Tue, 27 Jul 2021 01:56:57 +0000 (10:56 +0900)]
[Test] Fix the print format of bulk test.

This patch fixes the print format of bulk test.
When an error occurs, a weird value can be printed.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[visa] Add num visa insts
Dongju Chae [Fri, 23 Jul 2021 03:19:52 +0000 (12:19 +0900)]
[visa] Add num visa insts

This patch adds num visa insts.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[DSPM] Check the model's DSPM size
Dongju Chae [Fri, 23 Jul 2021 02:05:15 +0000 (11:05 +0900)]
[DSPM] Check the model's DSPM size

This patch handles the minimum DSPM size that a model assumes.
If NPU does not have enough DSPM size, the request's denied.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Coverage] increase coverage of npu api header
Dongju Chae [Fri, 23 Jul 2021 01:30:04 +0000 (10:30 +0900)]
[Coverage] increase coverage of npu api header

This patch increases coverage of npu api header.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Dist] Add missing option to use CUSE driver
Dongju Chae [Thu, 22 Jul 2021 04:46:52 +0000 (13:46 +0900)]
[Dist] Add missing option to use CUSE driver

This patch adds missing option to use CUSE driver.
It uses device driver APIs but internally using simulator codes.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Fix] fix the position of goto label
Dongju Chae [Thu, 22 Jul 2021 04:07:14 +0000 (13:07 +0900)]
[Fix] fix the position of goto label

This patch fixes the position of goto label.
It should be inside ifndef block.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Release] npu-engine v2.3.14 release
Dongju Chae [Wed, 21 Jul 2021 10:01:41 +0000 (19:01 +0900)]
[Release] npu-engine v2.3.14 release

This patch makes new release for npu-engine, v2.3.14.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[libnpuhost] Use NULL instead of nullptr
Dongju Chae [Wed, 21 Jul 2021 09:54:19 +0000 (18:54 +0900)]
[libnpuhost] Use NULL instead of nullptr

This patch removes nullptr because C programs cannot recognize
nullptr.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Cuse/Stat] Add request statistics in cuse driver
Dongju Chae [Wed, 21 Jul 2021 03:00:05 +0000 (12:00 +0900)]
[Cuse/Stat] Add request statistics in cuse driver

This patch adds request statistics in cuse driver including
some code refactoring.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[CUSE] Support app statistics in CUSE
Dongju Chae [Tue, 20 Jul 2021 02:34:18 +0000 (11:34 +0900)]
[CUSE] Support app statistics in CUSE

This ptach support app statistics in CUSE device driver.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[API/CUSE] Get profile data submitted by other process
Dongju Chae [Mon, 19 Jul 2021 07:02:40 +0000 (16:02 +0900)]
[API/CUSE] Get profile data submitted by other process

This patch allows to obtain profile data of requests submitted
by another processes. It might be useful for some system apps
such as a profiler.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Action] Update artifact deploy event
Dongju Chae [Tue, 20 Jul 2021 02:50:44 +0000 (11:50 +0900)]
[Action] Update artifact deploy event

This patch updates the event of artifact deploy.

The previous frequent uploading sometimes interrupts
users who want to download packages via apt.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Req] use request id from kernel driver
Dongju Chae [Mon, 19 Jul 2021 01:28:01 +0000 (10:28 +0900)]
[Req] use request id from kernel driver

This patch uses request id from kernel drvier.
It makes system-wise unique request id.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[CUSE] Allow multiple calls when getting profile buffer
Dongju Chae [Fri, 16 Jul 2021 07:03:32 +0000 (16:03 +0900)]
[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>
3 years ago[Docs] Update documents for Tizen Sample
Dongju Chae [Fri, 16 Jul 2021 07:45:24 +0000 (16:45 +0900)]
[Docs] Update documents for Tizen Sample

This patch update documents for Tizen Sample.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[CUSE] Change permissions of created device node
Dongju Chae [Thu, 15 Jul 2021 06:11:28 +0000 (15:11 +0900)]
[CUSE] Change permissions of created device node

This patch changes permissioss of created device node.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[FIX] Handle newly added extended metasize field
Dongju Chae [Wed, 14 Jul 2021 03:03:10 +0000 (12:03 +0900)]
[FIX] Handle newly added extended metasize field

This patch handles extended metasize field which was newly
added to npubinfmt.h.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[API] Add an optional scheduler param when setting npu scheduler
Dongju Chae [Tue, 13 Jul 2021 06:06:30 +0000 (15:06 +0900)]
[API] Add an optional scheduler param when setting npu scheduler

This patch adds an optional scheduler parameter when setting
NPU scheduler. Note that kernel requests do not require such a param.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Plugin/Test] Plugin test refactoring
Dongju Chae [Tue, 13 Jul 2021 02:31:58 +0000 (11:31 +0900)]
[Plugin/Test] Plugin test refactoring

This patch changes plugin test program paths.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Release] NPU Engine v2.3.13 release
Dongju Chae [Mon, 12 Jul 2021 07:58:17 +0000 (16:58 +0900)]
[Release] NPU Engine v2.3.13 release

This patch makes new release for npu-engine, v2.3.13.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[API] Add setNPU_requestScheduler
Dongju Chae [Mon, 12 Jul 2021 07:37:17 +0000 (16:37 +0900)]
[API] Add setNPU_requestScheduler

This patch adds setNPU_requestScheduler() to replace the original
setNPU_requestNpumgrParam() which is not intuitive.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[npubinfmt] Add extended metasize to npubinfmt.h
Dongju Chae [Fri, 9 Jul 2021 05:58:39 +0000 (14:58 +0900)]
[npubinfmt] Add extended metasize to npubinfmt.h

This patch explicltly adds extended metasize to npubinfmt.h.
The related macros are deprecated when the size is larger than 1MB.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Action] Add extra labels for labeler action
Dongju Chae [Mon, 12 Jul 2021 08:02:28 +0000 (17:02 +0900)]
[Action] Add extra labels for labeler action

This patch adds extra labels for labeler action.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Utils] Fix text format of trinity_smi's app status
Dongju Chae [Mon, 12 Jul 2021 04:56:06 +0000 (13:56 +0900)]
[Utils] Fix text format of trinity_smi's app status

This patch fixes text format of trinity_smi's app status.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Docs] Update artifactory url
Dongju Chae [Mon, 12 Jul 2021 01:15:10 +0000 (10:15 +0900)]
[Docs] Update artifactory url

This patch updates artifactory url changed according to the upgraded JFrog.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Apptest] Add test checking how to handle SIGKILL events
Dongju Chae [Fri, 9 Jul 2021 01:41:30 +0000 (10:41 +0900)]
[Apptest] Add test checking how to handle SIGKILL events

This patch adds extra apptest to check how to handle SIGKILL events.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Action] Move ubuntu-apptest to github action from TAOS-CI
Dongju Chae [Thu, 8 Jul 2021 06:25:27 +0000 (15:25 +0900)]
[Action] Move ubuntu-apptest to github action from TAOS-CI

This patch moves ubuntu-apptest to github action from TAOS-CI.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[NNS/Test] Add nnstreamer plugin test
Dongju Chae [Wed, 7 Jul 2021 12:32:03 +0000 (21:32 +0900)]
[NNS/Test] Add nnstreamer plugin test

This patch adds nnstreamer plugin test.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Dist] Ignore stdout messages from simulator
Dongju Chae [Thu, 8 Jul 2021 06:36:06 +0000 (15:36 +0900)]
[Dist] Ignore stdout messages from simulator

This patch ignore stdout messages from simulator
by redirecting std::cout to /dev/null.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Utils] Dependency refactoring test utils
Dongju Chae [Wed, 7 Jul 2021 11:40:10 +0000 (20:40 +0900)]
[Utils] Dependency refactoring test utils

This patch performs dependency refactoring for test utils.

The gtest dependency will be used other tests like plugins as well as
unittests.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[libnpuhost] Add minor comment
Dongju Chae [Wed, 7 Jul 2021 12:15:07 +0000 (21:15 +0900)]
[libnpuhost] Add minor comment

This patch adds minor comment to libnpuhost.h to check labeler.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Action] Update labeler rules
Dongju Chae [Wed, 7 Jul 2021 12:19:30 +0000 (21:19 +0900)]
[Action] Update labeler rules

This patch updates labeler rules to include all files in
sub-directories.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Action] Add missing labeler config file
Dongju Chae [Wed, 7 Jul 2021 11:51:08 +0000 (20:51 +0900)]
[Action] Add missing labeler config file

This patch adds missing labeler config file.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Action] Add labeler
Dongju Chae [Wed, 7 Jul 2021 09:57:53 +0000 (18:57 +0900)]
[Action] Add labeler

This patch adds github action labeler.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Plugin/NNS] Revise nnstreamer sub-plugin codes using C++ APIs
Dongju Chae [Wed, 7 Jul 2021 01:23:11 +0000 (10:23 +0900)]
[Plugin/NNS] Revise nnstreamer sub-plugin codes using C++ APIs

This patch revises nnstreamer sub-plugin codes using C++ sub-plugin APIs.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Plugin/NNS] Add NNStreamer filter sub-plguin for TRIV2
Dongju Chae [Tue, 6 Jul 2021 03:26:57 +0000 (12:26 +0900)]
[Plugin/NNS] Add NNStreamer filter sub-plguin for TRIV2

This patch adds NNStreamer tensor-filter plugin for TRIV2,
moved from nnstreamer-private-plugins.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Svace] Add missing model existence checking
Dongju Chae [Tue, 6 Jul 2021 03:12:42 +0000 (12:12 +0900)]
[Svace] Add missing model existence checking

This patch adds missing model existence checking.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Plugins] Create sub-directory for plugins
Dongju Chae [Tue, 6 Jul 2021 03:01:37 +0000 (12:01 +0900)]
[Plugins] Create sub-directory for plugins

This patch creates sub-directory for plugins such as nnstreamer, npumgr,
and so on. The exsiting codes will be moved to there.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Apptest] Add apptest to test API call interleaving
Dongju Chae [Mon, 5 Jul 2021 05:49:44 +0000 (14:49 +0900)]
[Apptest] Add apptest to test API call interleaving

This adds apptest to test API call interleaving for multiple models.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Release] NPU Engine v2.3.12 release
Dongju Chae [Fri, 2 Jul 2021 04:54:39 +0000 (13:54 +0900)]
[Release] NPU Engine v2.3.12 release

This patch makes new release for npu-engine, v2.3.12.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Action] Test gbs build and upload packages
Dongju Chae [Fri, 2 Jul 2021 03:37:22 +0000 (12:37 +0900)]
[Action] Test gbs build and upload packages

This patch adds github workflows to test gbs build
and upload rpm packages.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Segment] adds segment size info. for external memory
Dongju Chae [Fri, 2 Jul 2021 02:24:13 +0000 (11:24 +0900)]
[Segment] adds segment size info. for external memory

This patch adds segment size info. for external memory
to the segment table.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[README] Add github action badge
Dongju Chae [Thu, 1 Jul 2021 06:04:46 +0000 (15:04 +0900)]
[README] Add github action badge

This patch adds github action badge.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Action] Add test script for github action
Dongju Chae [Wed, 30 Jun 2021 09:08:17 +0000 (18:08 +0900)]
[Action] Add test script for github action

This patch adds test script for github action.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[InputService] Perform refactoring for input services
Dongju Chae [Wed, 30 Jun 2021 05:37:44 +0000 (14:37 +0900)]
[InputService] Perform refactoring for input services

This patch performs refactoring for input services.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Test] Add aging test to repeat whole APIs
Dongju Chae [Tue, 29 Jun 2021 07:22:39 +0000 (16:22 +0900)]
[Test] Add aging test to repeat whole APIs

This patch adds aging test to repease whole APIs.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Data] Support data layout conversion between NCHW and TRIV2
Dongju Chae [Mon, 28 Jun 2021 05:15:20 +0000 (14:15 +0900)]
[Data] Support data layout conversion between NCHW and TRIV2

This patch supports data layout conversion between NCHW and TRIV2.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Release] NPU Engine v2.3.11 release
Dongju Chae [Fri, 25 Jun 2021 06:47:28 +0000 (15:47 +0900)]
[Release] NPU Engine v2.3.11 release

This patch makes new release for npu-engine, v2.3.11.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Apptest] Add extra aging test to repeat model register/unregister
Dongju Chae [Fri, 25 Jun 2021 05:40:41 +0000 (14:40 +0900)]
[Apptest] Add extra aging test to repeat model register/unregister

This patch adds extra aging test to repeat model register/unregister.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[npubinfmt] Add data layout for inout tensors to npubinfmt.h
Dongju Chae [Tue, 22 Jun 2021 07:39:47 +0000 (16:39 +0900)]
[npubinfmt] Add data layout for inout tensors to npubinfmt.h

This patch adds the model-expected data layout for input/output
tensors to npubinfmt.h

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[HW] Revise HW input service
Dongju Chae [Thu, 24 Jun 2021 03:09:25 +0000 (12:09 +0900)]
[HW] Revise HW input service

This patch revises HW input service's implementation.

It's now connected to submitNPU_requestKernel() which uses
internal input/output data from third-parity kernel modules.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Apptest] Add aging test mode and check mem leak
Dongju Chae [Thu, 24 Jun 2021 09:20:09 +0000 (18:20 +0900)]
[Apptest] Add aging test mode and check mem leak

This patch adds aging test mode and check mem leak.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Svace] Fix svace defects
Dongju Chae [Thu, 24 Jun 2021 05:11:49 +0000 (14:11 +0900)]
[Svace] Fix svace defects

This patch fixes svace defects.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
3 years ago[Bug/dealloc] Add missing close() on hwmem dealloc
Dongju Chae [Fri, 25 Jun 2021 02:58:36 +0000 (11:58 +0900)]
[Bug/dealloc] Add missing close() on hwmem dealloc

This patch adds missing close() on hwmem dealloc.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>