platform/adaptation/npu/trix-engine.git
2 months agoUtils/Examples: Fix a Coverity issue (#1893103) accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20250407.134801 accepted/tizen/unified/x/20250407.212238
Wook Song [Mon, 31 Mar 2025 05:37:22 +0000 (14:37 +0900)]
Utils/Examples: Fix a Coverity issue (#1893103)

This patch fixes a Coverity issue 1893103, that is related to
UNCAUGHT_EXCEPT.

Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoTests/Utils: Fix the Coverity issue 1776582 accepted/tizen/unified/20250327.154213 accepted/tizen/unified/x/20250327.215017
Wook Song [Wed, 26 Mar 2025 07:15:49 +0000 (16:15 +0900)]
Tests/Utils: Fix the Coverity issue 1776582

This patch adds a missing lock mechanism to address the Coverity issue
1776582.

Change-Id: Ifd9895fd41ab0ae408dcf150fa11781cc77f78c4
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoTests/AppTests: Fix an SVACE warning 98343
Wook Song [Wed, 26 Mar 2025 04:19:47 +0000 (13:19 +0900)]
Tests/AppTests: Fix an SVACE warning 98343

This patch resolves an SVACE warning 98434, which is reported by the
INVARIANT_RESULT.OP_ZERO checker.

Change-Id: If2980971cb31a2871e1d8f856c522769708b4315
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoTests/Utils: Resolve SVACE issues 282842, 282843, and 282844
Wook Song [Wed, 26 Mar 2025 04:07:25 +0000 (13:07 +0900)]
Tests/Utils: Resolve SVACE issues 282842, 282843, and 282844

This patch fixes the SVACE issues 282842, 282843, and 282844, which are
reported by the NO_CAST.INTEGER_OVERFLOW checker.

Change-Id: Iabb2bde27fd34c439f607a9248b1a7d0cb6947ef
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoTests/UnitTests: Fix SVACE issues 211290 and 211291
Wook Song [Wed, 26 Mar 2025 04:00:49 +0000 (13:00 +0900)]
Tests/UnitTests: Fix SVACE issues 211290 and 211291

This patch resolves the SVACE issues 211290 and 211291, which are
reported by the DEREF_OF_NULL.RET.ALLOC.MINOR checker.

Change-Id: Ida26ed0ed59d90961f5ddf066f625e01cb725da0
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoTests: Resolve an SVACE issue (#58850)
Wook Song [Tue, 25 Mar 2025 04:33:18 +0000 (13:33 +0900)]
Tests: Resolve an SVACE issue (#58850)

This patch resolves an SVACE issue, #58850, which is related to
TAINTED_PTR.

Change-Id: I8f43270775d0cd7df00ec1ae8f7d9d1ab7d9b347
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoTests: Bump up TRIV Arch Spec to v2.4.4
Wook Song [Tue, 25 Mar 2025 02:55:17 +0000 (11:55 +0900)]
Tests: Bump up TRIV Arch Spec to v2.4.4

This patch bumps up the test cases' TRIV Arch Spec to v2.4.4. This is a
workaround to enable CI/CD pipelines.

Change-Id: Ic1a24dbcdc3f4da72dd5e197f0c509316e967702
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoTests: Resolve an SVACE issue (#58850)
Wook Song [Tue, 25 Mar 2025 04:33:18 +0000 (13:33 +0900)]
Tests: Resolve an SVACE issue (#58850)

This patch resolves an SVACE issue, #58850, which is related to
TAINTED_PTR.

Change-Id: I8f43270775d0cd7df00ec1ae8f7d9d1ab7d9b347
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoUtils/Test: Fix a Coverity issue related to MISSING_LOCK
Wook Song [Mon, 24 Mar 2025 08:46:31 +0000 (17:46 +0900)]
Utils/Test: Fix a Coverity issue related to MISSING_LOCK

This patch fixes a Coverity issue related to MISSING_LOCK in
StressTester.

Change-Id: I3102f4f36a7a064af8e07e883c4d1b5eab2f598f
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoUtils: Fix Coverity issues related to UNCAUGHT_EXCEPT
Wook Song [Mon, 24 Mar 2025 08:38:20 +0000 (17:38 +0900)]
Utils: Fix Coverity issues related to UNCAUGHT_EXCEPT

This patch fixes Coverity issues related to UNCAUGHT_EXCEPT in the
utilities.

Change-Id: I12e70843364e5664ee2d52f6ca605d36a93ab125
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoUtils/Examples: Fix Coverity issues related to NEGATIVE_RETURNS
Wook Song [Mon, 24 Mar 2025 08:14:17 +0000 (17:14 +0900)]
Utils/Examples: Fix Coverity issues related to NEGATIVE_RETURNS

This patch fixes the Coverity issues (#1787192, #1787194) related to
NEGATIVE_RETURNS.

Change-Id: I10122e8fff916f625730e2de3442a4768547993c
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoutils/examples: Fix an SVACE issue (#283026)
Wook Song [Mon, 24 Mar 2025 05:28:12 +0000 (14:28 +0900)]
utils/examples: Fix an SVACE issue (#283026)

This patch fixes an issue (#283026), which is related to NO_CATCH,
reported by SVACE.

Change-Id: Ic1a2de0ddf6ef59fe70f74d8732d21bb4790f3b9
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoCore/NPU: Fix an SVACE issue (#283026)
Wook Song [Mon, 24 Mar 2025 05:15:28 +0000 (14:15 +0900)]
Core/NPU: Fix an SVACE issue (#283026)

This patch fixes an SVACE issue (#283026) related to
NO_CAST.INTEGER_OVERFLOW.

Change-Id: Idadbadc8e5d2a7791b1b483ba0500f1090c9f731
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoBug: Fix the build break because of typo
Wook Song [Wed, 19 Mar 2025 04:16:43 +0000 (13:16 +0900)]
Bug: Fix the build break because of typo

This patch fixes the build break due to typos propagated from the
mRPsim's triv2profile.h file

Change-Id: I0531e9b0e1f9d3c34728d244171b6ec4a6fb603a
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months agoutils/test: Fix issues reported by static analysis tools accepted/tizen/unified/20250319.072537 accepted/tizen/unified/x/20250319.090559
Wook Song [Wed, 12 Mar 2025 02:16:21 +0000 (11:16 +0900)]
utils/test: Fix issues reported by static analysis tools

This patch fixes an SVACE issue (#256496) related to NO_CATCH and a
covertity issue (#1840314) related to Uncaught Exception in StressTest.

Change-Id: I44eb482605418dbfb4c50e5f914142f61c987edb
Signed-off-by: Wook Song <wook16.song@samsung.com>
2 months ago[Fix] Fix save issue
Jiho Chu [Sat, 7 Sep 2024 00:44:32 +0000 (09:44 +0900)]
[Fix] Fix save issue

Fix use of vulnerable function 'strerror'

issue: 109097, 109098

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months ago[action] Update pr build for jammy
Jiho Chu [Fri, 23 Aug 2024 10:32:25 +0000 (19:32 +0900)]
[action] Update pr build for jammy

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months ago[action] Update artifacts-ubuntu for jammy
Jiho Chu [Fri, 23 Aug 2024 06:01:44 +0000 (15:01 +0900)]
[action] Update artifacts-ubuntu for jammy

It applies os matrix for jammy with jammy:lastest docker image.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months ago[Test] Fix for initparser option
Jiho Chu [Fri, 19 Jul 2024 11:02:10 +0000 (20:02 +0900)]
[Test] Fix for initparser option

It disables load ini config test when iniparser is disabled.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months agoDisable iniparser and fuse as default
Jiho Chu [Fri, 19 Jul 2024 00:57:56 +0000 (09:57 +0900)]
Disable iniparser and fuse as default

It adds an inipaser option and it's default disabled.
Also, it removes fuse dependency when cuse is disabled.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months agoFix setModel
Jiho Chu [Fri, 19 Jul 2024 10:28:05 +0000 (19:28 +0900)]
Fix setModel

It fixes setModel for zero-size program model.
If program size is zeio, it skips setting program section, and
continue with weight.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months ago[action] Update artifacts-ubuntu for jammy
Jiho Chu [Fri, 23 Aug 2024 06:01:44 +0000 (15:01 +0900)]
[action] Update artifacts-ubuntu for jammy

It applies os matrix for jammy with jammy:lastest docker image.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months agoutils: Add example for model sharing
Jiho Chu [Fri, 24 May 2024 03:45:19 +0000 (12:45 +0900)]
utils: Add example for model sharing

A model needs to be shared between the threads. It register the model
with allocated weight buffer, and it share the buffer with other threads
to work along with.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months agohost: Add register model with exteranl prog,weight buffer
Jiho Chu [Mon, 27 May 2024 03:54:05 +0000 (12:54 +0900)]
host: Add register model with exteranl prog,weight buffer

It adds `registerNPUModel_ext` api for using external program and weight
buffers. This buffer can be shared between threads, so application can
be divided into several threads, like a feeding program, a feeding weight,
and a inference thread. An exaple codes are included.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months ago[action] send data to testhub for TEM Score
Yelin Jeong [Fri, 5 Jul 2024 01:40:15 +0000 (10:40 +0900)]
[action] send data to testhub for TEM Score

This patch adds action to send test reulst to testhub.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 months agoFix covertity issue
Jiho Chu [Wed, 5 Jun 2024 06:09:45 +0000 (15:09 +0900)]
Fix covertity issue

It fixes coverity issues:
- 87144
- 87145
- 100780

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months agoaction: Use large container
Jiho Chu [Tue, 2 Jul 2024 04:31:44 +0000 (13:31 +0900)]
action: Use large container

minimum container is pending, and it modified to use large
container.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months agoemul: Add profile source clock info
Jiho Chu [Mon, 1 Jul 2024 09:26:51 +0000 (18:26 +0900)]
emul: Add profile source clock info

It appends profile soruce clock information from simulator's
profile data.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months agoRelease 2.6.2
Jiho Chu [Thu, 27 Jun 2024 05:28:59 +0000 (14:28 +0900)]
Release 2.6.2

It release 2.6.2

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months agotemp: disable profile test
Jiho Chu [Thu, 27 Jun 2024 07:08:27 +0000 (16:08 +0900)]
temp: disable profile test

Profile header is changed and current record test data does not work
with it.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months ago[Test] Fix npu test leak
Jiho Chu [Fri, 26 Apr 2024 04:17:50 +0000 (13:17 +0900)]
[Test] Fix npu test leak

This patch fixes unittest_ne_core_npu for memory leak.
seg buffer is freed after used.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months agoChange testdata path
Jiho Chu [Tue, 30 Apr 2024 03:39:05 +0000 (12:39 +0900)]
Change testdata path

It changed test data version, eliminating xTOPS postfix.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months ago[Test] Modify parsing npu version for test Date
Jiho Chu [Sat, 6 Apr 2024 13:05:25 +0000 (22:05 +0900)]
[Test] Modify parsing npu version for test Date

NPU Test data is selected by NPU_VER environment variable.
This patch modifies parsing routine to use env value
to test data path.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months ago[action] support test_ver for fastmodel test
Jiho Chu [Mon, 22 Apr 2024 04:59:52 +0000 (13:59 +0900)]
[action] support test_ver for fastmodel test

Fastmodel test uses test data, and this patch adds "test_ver"
action options which makes the user select the test suite version.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months ago[debian] Add gcc-11 dependency
Jiho Chu [Mon, 22 Apr 2024 02:08:06 +0000 (11:08 +0900)]
[debian] Add gcc-11 dependency

It add gcc-11 dependency for unbuntu jammy.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months ago[Github] Disable perioid update schedule
Jiho Chu [Sun, 7 Apr 2024 13:50:54 +0000 (22:50 +0900)]
[Github] Disable perioid update schedule

It disables update for temporary until the problem is fixed.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months ago[Github] disable upload tizen package
Jiho Chu [Thu, 4 Apr 2024 09:33:10 +0000 (18:33 +0900)]
[Github] disable upload tizen package

It disable tizen package upload schedule.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months ago[Utils] Modify path for trinity test
Jiho Chu [Wed, 3 Apr 2024 03:42:26 +0000 (12:42 +0900)]
[Utils] Modify path for trinity test

It fixes test data path for trinity test

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months agoModify for deb build
Jiho Chu [Wed, 3 Apr 2024 01:14:07 +0000 (10:14 +0900)]
Modify for deb build

It modified for deb build error.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 months agoFix build error
Jonghwa Lee [Mon, 1 Apr 2024 09:48:44 +0000 (18:48 +0900)]
Fix build error

2 months agoUse U64 for the pointer hand over to kernel via ioctl
Jonghwa Lee [Wed, 27 Mar 2024 10:39:04 +0000 (19:39 +0900)]
Use U64 for the pointer hand over to kernel via ioctl

It fixes the error of TRINITY_IOCTL_GET_PROFILE_BUFFER ioctl command.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
2 months ago[Refactoring] remove shotgun surgery code smell
Yelin Jeong [Wed, 6 Mar 2024 12:33:28 +0000 (21:33 +0900)]
[Refactoring] remove shotgun surgery code smell

Each apptest has its own Tester class so a single change is made to multiple classes simultaneously.
This patch moves methods to remove such code smell.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 months ago[Refactoring] Apply test fixture to unittest
Yelin Jeong [Mon, 26 Feb 2024 05:53:22 +0000 (14:53 +0900)]
[Refactoring] Apply test fixture to unittest

This patch applies the test fixture framework to remove duplicate code in each test case.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 months ago[MEM] add putData function in HWmemImpl
Yelin Jeong [Wed, 21 Feb 2024 07:21:15 +0000 (16:21 +0900)]
[MEM] add putData function in HWmemImpl

This patch adds putData function in HwmemImpl to munmap copied data.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 months ago[action] change action version
Yelin Jeong [Tue, 27 Feb 2024 03:51:31 +0000 (12:51 +0900)]
[action] change action version

This patch change cpp-linter action version because of setup-python

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 months ago[utils] add missed newline character
Yelin Jeong [Fri, 8 Dec 2023 08:20:34 +0000 (17:20 +0900)]
[utils] add missed newline character

This patch adds missed newline character in util's usage message.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 months ago[utils] add stress_test option for async test
Yelin Jeong [Mon, 9 Oct 2023 23:55:57 +0000 (08:55 +0900)]
[utils] add stress_test option for async test

This patch adds async test to stress_test.
With 'c' option, non-blocking requests submited concurrently.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 months ago[spec] add skip_idu_check option
Yelin Jeong [Wed, 11 Oct 2023 08:19:33 +0000 (17:19 +0900)]
[spec] add skip_idu_check option

This patch adds skip_idu_check option when build.
npu device driver does not check idu minor version when SKIP_IDU_CHECK is defined.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
9 months agoFix save issue
Jiho Chu [Tue, 10 Sep 2024 02:43:06 +0000 (11:43 +0900)]
Fix save issue

Fix svace issue: 210505

- check memory alloc fail

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
16 months agoFix c++14 build option for gtest 1.14.0 version upgrade 81/305081/1 accepted/tizen_9.0_unified accepted/tizen_unified_dev tizen_9.0 accepted/tizen/9.0/unified/20241031.000455 accepted/tizen/unified/20240318.071522 accepted/tizen/unified/dev/20240620.003256 accepted/tizen/unified/x/20240319.055534 tizen_9.0_m2_release
JinWang An [Fri, 26 Jan 2024 07:45:12 +0000 (16:45 +0900)]
Fix c++14 build option for gtest 1.14.0 version upgrade

Change-Id: Ide1262445df79b37458112dccc5cd808ceff83a2
Signed-off-by: JinWang An <jinwang.an@samsung.com>
20 months ago[fix] add cpp args in trinity_smi meson.build accepted/tizen_8.0_unified accepted/tizen_unified_riscv tizen_8.0 accepted/tizen/8.0/unified/20231014.063005 accepted/tizen/unified/20231014.063014 accepted/tizen/unified/20231214.164924 accepted/tizen/unified/riscv/20231215.050338 tizen_8.0_m2_release
Yelin Jeong [Fri, 13 Oct 2023 05:47:19 +0000 (14:47 +0900)]
[fix] add cpp args in trinity_smi meson.build

This patch fixes build error in tizen_8.0.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
20 months ago[action] change runner for pontusm
Yelin Jeong [Wed, 11 Oct 2023 09:00:51 +0000 (18:00 +0900)]
[action] change runner for pontusm

This patch changes runner for pontusm build.
*-pontusm and *-tizen are merged.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
20 months ago[core] apply npu version check logic to both emul and triv2 api
Yelin Jeong [Tue, 26 Sep 2023 09:20:52 +0000 (18:20 +0900)]
[core] apply npu version check logic to both emul and triv2 api

This patch applies npu version check logic to both api.
checkVersion is moved to handler from emul API.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
20 months ago[action] upload meson log
Yelin Jeong [Wed, 13 Sep 2023 04:48:07 +0000 (13:48 +0900)]
[action] upload meson log

This patch changes action to upload meson log
regardless of test result

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
20 months ago[coverity] fix DOUBLE_CLOSE issue
Yelin Jeong [Mon, 18 Sep 2023 08:43:41 +0000 (17:43 +0900)]
[coverity] fix DOUBLE_CLOSE issue

This patch fixes DOUBLE_CLOSE issues.
WGID 67386, 67387

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
20 months ago[utils] fix trinity_test scripts
Yelin Jeong [Mon, 18 Sep 2023 03:55:25 +0000 (12:55 +0900)]
[utils] fix trinity_test scripts

This patch fixes trinity_test scriptfs for fastmodel

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
20 months ago[action] change daily check workflow's docker image
Yelin Jeong [Mon, 18 Sep 2023 04:11:45 +0000 (13:11 +0900)]
[action] change daily check workflow's docker image

coverage check script is for ubuntu 20.04, lcov-2.0.
(utils/coverage/coverage.sh)
This patch chagnes docker image and applies new output format using lcov-2.0

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
20 months ago[API] set npu_version for not to compare idu_version
Yelin Jeong [Fri, 15 Sep 2023 09:26:40 +0000 (18:26 +0900)]
[API] set npu_version for not to compare idu_version

This patch is a hotfix for VD.
npu driver does not compare idu_version and npu_version,
when npu_version is 0.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
20 months ago[action] change docker image and runner for gbs build
Yelin Jeong [Mon, 11 Sep 2023 05:39:02 +0000 (14:39 +0900)]
[action] change docker image and runner for gbs build

This patch changes docker image for gbs build.
Also, code-linux runner has gbs build issue.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
21 months ago[action] add cpp-linter to pr-checker
Yelin Jeong [Tue, 1 Aug 2023 10:27:38 +0000 (19:27 +0900)]
[action] add cpp-linter to pr-checker

This patch adds cpp-linter to pr-checker

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
21 months ago[action] add missed gbs build option in build-pontusm accepted/tizen/8.0/unified/20231005.092511 accepted/tizen/unified/20230907.055338
Yelin Jeong [Mon, 21 Aug 2023 04:17:14 +0000 (13:17 +0900)]
[action] add missed gbs build option in build-pontusm

This patch adds gbs option for new action runner.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
21 months ago[docs] Update documents
Yelin Jeong [Tue, 1 Aug 2023 08:01:56 +0000 (17:01 +0900)]
[docs] Update documents

- Add npubin-fmt repo info
- Fix broken link
- Update versions
- Update tests usage

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
21 months agoRelax package dependencies
Sung-Jae Lee [Thu, 10 Aug 2023 12:43:50 +0000 (21:43 +0900)]
Relax package dependencies

- Allow `python3` packages as well as `python`.

Signed-off-by: Sung-Jae Lee <sj925.lee@samsung.com>
21 months ago[utils] add ignore-erros option in coverage script
Yelin Jeong [Thu, 27 Jul 2023 09:02:16 +0000 (18:02 +0900)]
[utils] add ignore-erros option in coverage script

This patch adds option to solve invalid coverage.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
21 months ago[action] change runner name
Yelin Jeong [Tue, 8 Aug 2023 06:18:30 +0000 (15:18 +0900)]
[action] change runner name

This patch changes runner name in github action.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
22 months ago[tests] change to use TRIV 2.4.3 model
Yelin Jeong [Fri, 4 Aug 2023 02:04:10 +0000 (11:04 +0900)]
[tests] change to use TRIV 2.4.3 model

The latest libmrpsim package does not work well in TRIV242/LOGISTIC_000
So for using latest libmrpsim with npu-engine, now the default test path is TRIV243

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
22 months ago[action] change shields repo url
Yelin Jeong [Fri, 4 Aug 2023 07:06:48 +0000 (16:06 +0900)]
[action] change shields repo url

This patch changes shields repo url.
github.com often makes timeout when clone

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
22 months ago[action] merge action for upload-package tizen using matrix
Yelin Jeong [Mon, 31 Jul 2023 07:49:39 +0000 (16:49 +0900)]
[action] merge action for upload-package tizen using matrix

This patch merges actions for upload-package tizen.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
22 months ago[action] merge action for pr-build tizen packages using matrix
Yelin Jeong [Mon, 31 Jul 2023 06:34:17 +0000 (15:34 +0900)]
[action] merge action for pr-build tizen packages using matrix

This patch merges actions for pr-build tizen packages.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
22 months ago[action] merge action for release tizen packages using matrix
Yelin Jeong [Mon, 31 Jul 2023 05:54:39 +0000 (14:54 +0900)]
[action] merge action for release tizen packages using matrix

This patch merges actions for release tizen packages.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
22 months ago[action] move delete-old-package into daily-check
Yelin Jeong [Mon, 31 Jul 2023 05:50:19 +0000 (14:50 +0900)]
[action] move delete-old-package into daily-check

This patch moves delete-old-package step into daily-check workflows

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
22 months agoRelase 2.6.1
Jiho Chu [Thu, 13 Jul 2023 07:10:23 +0000 (16:10 +0900)]
Relase 2.6.1

- seperate npubin-fmt package
- add memory info
- check IDU version
- unittest enhance: ifstream read fail case

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
22 months ago[coverity] fix coverity issue
Yelin Jeong [Tue, 11 Jul 2023 09:37:16 +0000 (18:37 +0900)]
[coverity] fix coverity issue

This patch fixes coverity issues.

Invalid type in argument to printf format specifier
WGID : 1692159~60

Unchecked return value
WGID : 1339214

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
23 months agoRemove npubin-fmt package accepted/tizen/unified/20230713.014415
Jiho Chu [Wed, 5 Jul 2023 02:10:16 +0000 (11:10 +0900)]
Remove npubin-fmt package

npubin-fmt package is moved to:
https://github.sec.samsung.net/AIP/npubin-fmt

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
23 months ago[Util] Add pause option for each iter
Jiho Chu [Thu, 8 Jun 2023 05:45:01 +0000 (14:45 +0900)]
[Util] Add pause option for each iter

This patch adds an pause option.

It stops test at the end of iteration when a pause option is enables.
This can help to impose a stress to the NPU, and other tests can be
simultaneously with stress.

Also, this patch refactors running structures, and profiling.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
23 months ago[IDU] check idu version when register model
Yelin Jeong [Wed, 14 Jun 2023 11:50:14 +0000 (20:50 +0900)]
[IDU] check idu version when register model

This patch adds idu version check logic,
when register model

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
23 months ago[profile] add memory info
Yelin Jeong [Tue, 20 Jun 2023 12:40:34 +0000 (21:40 +0900)]
[profile] add memory info

This patch separates memory info to reserved and system info in stat.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
23 months ago[tests] add missing triv version in test script
Yelin Jeong [Fri, 30 Jun 2023 02:39:47 +0000 (11:39 +0900)]
[tests] add missing triv version in test script

This patch adds missing triv version in test script for fastmodel.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
23 months ago[tests] change model.xml file to use TRIV 2.4 model
Yelin Jeong [Fri, 30 Jun 2023 01:53:58 +0000 (10:53 +0900)]
[tests] change model.xml file to use TRIV 2.4 model

This patch changes model.xml file to use TRIV2.4 model when testing.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
23 months ago[profile] change profile layer limit from UINT_MAX
Yelin Jeong [Fri, 30 Jun 2023 00:26:13 +0000 (09:26 +0900)]
[profile] change profile layer limit from UINT_MAX

This patch changes profile layer limit from UINT_MAX.
Using PROFILE_MAX_LAYERS, the maximum profile layer's size is about 50MB.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
23 months ago[fix] add ifstream read fail check
Yelin Jeong [Thu, 29 Jun 2023 02:15:33 +0000 (11:15 +0900)]
[fix] add ifstream read fail check

This patch adds failure check when ifstream read fails.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
23 months ago[FIX] add missed include accepted/tizen/unified/dev/20230726.115458
Jiho Chu [Wed, 28 Jun 2023 10:40:26 +0000 (19:40 +0900)]
[FIX] add missed include

Type checking error occurs while compiling with gcc-13.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
23 months ago[coverity] fix coverity issues
Yelin Jeong [Wed, 28 Jun 2023 05:14:08 +0000 (14:14 +0900)]
[coverity] fix coverity issues

This patch fixes sign_extension and tainted_int warning

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
23 months ago[FIX] fix error check
Jiho Chu [Wed, 28 Jun 2023 01:29:13 +0000 (10:29 +0900)]
[FIX] fix error check

coverity issue: 1661467

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
23 months ago[Coverity] fix coverity issue
Yelin Jeong [Wed, 28 Jun 2023 00:59:28 +0000 (09:59 +0900)]
[Coverity] fix coverity issue

This patch fixes coverity issues.
WGID 1691732

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
s

2 years ago[action] update spec file not to delete latest repository
Yelin Jeong [Wed, 31 May 2023 00:54:20 +0000 (09:54 +0900)]
[action] update spec file not to delete latest repository

This patch udpates spec file not to delete latest repository.
Repository name is YYYYMMDD except for latest.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[svace] fix svace issue
Yelin Jeong [Wed, 10 May 2023 10:26:20 +0000 (19:26 +0900)]
[svace] fix svace issue

This patch fixes svace issue
WGID 43354

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years agoFix npubin-fmt version for pc
Jiho Chu [Thu, 11 May 2023 09:56:57 +0000 (18:56 +0900)]
Fix npubin-fmt version for pc

It fixes npubin-fmt version info.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years agonpu-engine 2.6.0 release
Yelin Jeong [Wed, 10 May 2023 07:51:29 +0000 (16:51 +0900)]
npu-engine 2.6.0 release

npu-engine 2.6.0 released.
  - Add npubin-fmt package
  - Disable minor version check
  - Add testenv for unittest
  - Fix for gcc-12

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[tests] test both 2.3 and 2.4
Yelin Jeong [Mon, 8 May 2023 08:28:46 +0000 (17:28 +0900)]
[tests] test both 2.3 and 2.4

This patch changes meson file to test both TRIV 2.3 and 2.4.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[tests] using testenv in unittest
Yelin Jeong [Thu, 4 May 2023 05:54:34 +0000 (14:54 +0900)]
[tests] using testenv in unittest

This patch changes to use testenv in unittest instead of hard coded type, model path.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[utils] add testenv for npu version selection
Yelin Jeong [Thu, 4 May 2023 02:48:14 +0000 (11:48 +0900)]
[utils] add testenv for npu version selection

This patch adds testenv for npu version selection when testing

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[Util] Add reload command to trinity-test
Jiho Chu [Wed, 3 May 2023 05:58:18 +0000 (14:58 +0900)]
[Util] Add reload command to trinity-test

It adds '-r' option to reload driver and settings for
trinity drivers.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[docs] remove outdated spin info in docs
Yelin Jeong [Mon, 8 May 2023 01:25:48 +0000 (10:25 +0900)]
[docs] remove outdated spin info in docs

This patch removes outdated spin info in docs.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[SPEC] Add npubin-fmt package
Jiho Chu [Thu, 4 May 2023 06:33:18 +0000 (15:33 +0900)]
[SPEC] Add npubin-fmt package

This patch adds npubin-fmt debian package.

It is seperated from npu-engine-dev package, and uses same version
as npu-engine.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[DEBIAN] Add npubin-fmt package
Jiho Chu [Thu, 4 May 2023 09:33:53 +0000 (18:33 +0900)]
[DEBIAN] Add npubin-fmt package

This patch adds npubin-fmt debian package.
It is seperated from npu-engine-dev package, and uses same version
as npu-engine.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[action] change package name format
Yelin Jeong [Thu, 4 May 2023 10:02:02 +0000 (19:02 +0900)]
[action] change package name format

This patch changes package name format to copy and install.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[action] change package name format
Yelin Jeong [Thu, 4 May 2023 07:22:44 +0000 (16:22 +0900)]
[action] change package name format

This patch changes package name format to install.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[action] change workflow's container
Yelin Jeong [Thu, 4 May 2023 01:23:57 +0000 (10:23 +0900)]
[action] change workflow's container

This patch changes workflow's container.
Fastmodel test is added to daily upload, so container should be changed.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[action] add test-fastmodel
Yelin Jeong [Tue, 11 Apr 2023 02:31:23 +0000 (11:31 +0900)]
[action] add test-fastmodel

This patch adds github action fastmodel.
pr-build : unittests and apptests except apptest-bulk
daily-build : all tests

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>