platform/adaptation/npu/trix-engine.git
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>
2 years ago[Toolchain] fix for gcc-12
Yelin Jeong [Mon, 24 Apr 2023 05:25:17 +0000 (14:25 +0900)]
[Toolchain] fix for gcc-12

This patch fixes Commplugin header for gcc-12.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years agoDiable minor version check
Jiho Chu [Tue, 25 Apr 2023 00:57:56 +0000 (09:57 +0900)]
Diable minor version check

Current device type does not present minor version information.
The minor version check would be implemented later.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[action] check changes before commit
Yelin Jeong [Tue, 18 Apr 2023 02:24:59 +0000 (11:24 +0900)]
[action] check changes before commit

This patch checks changes before commit to prevent nothing to commit error

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years agonpu-engine 2.5.6 release
Yelin Jeong [Thu, 13 Apr 2023 05:40:21 +0000 (14:40 +0900)]
npu-engine 2.5.6 release

npu-engine 2.5.6 is released.
 - Fix some coverity issues
 - Add device type for both TRIV 2.3/2.4
 - Add API for compatible device list

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[fix] add device type to emulator unittest
Yelin Jeong [Thu, 13 Apr 2023 04:53:16 +0000 (13:53 +0900)]
[fix] add device type to emulator unittest

This patch adds missing device type to emulator unittest.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[TRIV2] Apply sanity check for device type
Jiho Chu [Mon, 27 Feb 2023 09:04:01 +0000 (18:04 +0900)]
[TRIV2] Apply sanity check for device type

It needs to support both 2.3/2.4, which needs to check
connected device's version

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[EMUL] TRIV2 device support boath 2.3/2.4
Jiho Chu [Tue, 11 Apr 2023 03:44:18 +0000 (12:44 +0900)]
[EMUL] TRIV2 device support boath 2.3/2.4

This patch makes TRIV2 device support both 2.3/2.4 devices.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years agoModify for number of emul devices
Jiho Chu [Tue, 11 Apr 2023 03:05:09 +0000 (12:05 +0900)]
Modify for number of emul devices

It modified for the number of emul devices.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[TEST] Add compatible device list API
Jiho Chu [Tue, 11 Apr 2023 02:46:15 +0000 (11:46 +0900)]
[TEST] Add compatible device list API

This patch adds tests for compatible device list.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[API] Add getNPUmodel_compatibleDevices
Jiho Chu [Tue, 11 Apr 2023 02:44:53 +0000 (11:44 +0900)]
[API] Add getNPUmodel_compatibleDevices

This patch adds an API for compatible device list.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years agoReassign dev type value
Jiho Chu [Tue, 11 Apr 2023 02:42:26 +0000 (11:42 +0900)]
Reassign dev type value

NPUCOND_TRIV2_xx support both 2.3/2.4 devs.
And, it will be depreciated after NPUCOND_TRIV23_xx/NPUCOND_TRIV24_xx
devices are used in applications.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[svace] fix svace issues
Yelin Jeong [Mon, 27 Mar 2023 05:11:27 +0000 (14:11 +0900)]
[svace] fix svace issues

This patch fixes multiple svace issues.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[test] test both TRIV 2.3 and 2.4
Yelin Jeong [Fri, 17 Mar 2023 03:03:47 +0000 (12:03 +0900)]
[test] test both TRIV 2.3 and 2.4

This patch fixes meson file and adds unittest to test both TRIV 2.3 and 2.4.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[action] delete useless github actions
Yelin Jeong [Mon, 27 Mar 2023 01:32:17 +0000 (10:32 +0900)]
[action] delete useless github actions

This patch deletes useless github actions.
These actions are for testing TRIV 2.3 sepeartely,
but npu-engine can test both 2.3 and 2.4 now.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[action] fix wrong gen_badge.py's location
Yelin Jeong [Fri, 17 Mar 2023 06:48:58 +0000 (15:48 +0900)]
[action] fix wrong gen_badge.py's location

This patch fixes wrong gen_badge.py's location

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[svace] fix PROC_USE.VULNERABLE accepted/tizen/unified/20230325.044633
Yelin Jeong [Fri, 24 Mar 2023 01:19:12 +0000 (10:19 +0900)]
[svace] fix PROC_USE.VULNERABLE

This patch fixes svace error.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[aciton] upload debian packages when pr-build
Yelin Jeong [Fri, 17 Mar 2023 04:26:31 +0000 (13:26 +0900)]
[aciton] upload debian packages when pr-build

This patch makes to upload debian packages when pr-build

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years agoModify device type
Jiho Chu [Tue, 14 Mar 2023 01:47:54 +0000 (10:47 +0900)]
Modify device type

It modified device type value for compatiablity.

TRIV2 and TRIV23 have same value, and TRIV24 is added to.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[svace] fix SIGN_EXTENSION accepted/tizen/unified/20230320.164224 accepted/tizen/unified/20230321.035431
Yelin Jeong [Wed, 15 Mar 2023 08:10:24 +0000 (17:10 +0900)]
[svace] fix SIGN_EXTENSION

This patch fixes svace issues.
WGID 516502, 517025, 517446, 517866

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[action] disable apptest result check temporarily
Yelin Jeong [Thu, 16 Mar 2023 02:26:18 +0000 (11:26 +0900)]
[action] disable apptest result check temporarily

This patch disables apptest result check until test-fastmodel is fixed.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[action] add daily check routine
Yelin Jeong [Fri, 3 Mar 2023 06:12:33 +0000 (15:12 +0900)]
[action] add daily check routine

This patch adds daily-check action.
gen_badge.py is from local CI server.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[action] add an action for update docs
Yelin Jeong [Fri, 10 Mar 2023 02:11:57 +0000 (11:11 +0900)]
[action] add an action for update docs

This patch adds a github action for update docs to NPU_DDK_DOCS.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[DOC] update petalinux information
Jiho Chu [Thu, 9 Mar 2023 05:16:15 +0000 (14:16 +0900)]
[DOC] update petalinux information

This patch updates petalinux build info.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years agonpu-engine 2.5.5 release
Yelin Jeong [Fri, 10 Mar 2023 01:17:23 +0000 (10:17 +0900)]
npu-engine 2.5.5 release

npu-engine 2.5.5 is released.
- Fix some coverity issues
- Add lock to prevent deadlock
- Apply clang-format
- Apply warning level 3
- Add device type for TRIV 2.4
- Use device type for dspm size

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[EMUL] Use device type for dspm size
Jiho Chu [Mon, 27 Feb 2023 06:56:01 +0000 (15:56 +0900)]
[EMUL] Use device type for dspm size

This patch implemnts dspm size for each device.

Each device has own dspm memory, and it needs to be device type for
presenting the size.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years agoAdd device type for triv2.4
Jiho Chu [Mon, 27 Feb 2023 05:38:24 +0000 (14:38 +0900)]
Add device type for triv2.4

It divides device type for trinity 2.3 and 2.4.
And it declared device group and device version for the future use.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years agoApply warning level 3
Jiho Chu [Fri, 24 Feb 2023 02:10:50 +0000 (11:10 +0900)]
Apply warning level 3

This patch applies warning level 3.

Ignored warning is:
- unused-parameter
- pedantic

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[action] disable fastmodel test temporariliy
Yelin Jeong [Thu, 2 Mar 2023 01:16:25 +0000 (10:16 +0900)]
[action] disable fastmodel test temporariliy

This patch disables fastmodel test
because of a license problem

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years agoApply clang-format
Jiho Chu [Tue, 31 Jan 2023 07:57:27 +0000 (16:57 +0900)]
Apply clang-format

It applied clang-format.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[Test] fix using request result in callback
Yelin Jeong [Tue, 3 Jan 2023 09:28:46 +0000 (18:28 +0900)]
[Test] fix using request result in callback

This patch changes not to check request result when req_id is 0.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[core] handle request's result using NPU_INFER_BLOCKING_MODE
Yelin Jeong [Tue, 3 Jan 2023 09:23:39 +0000 (18:23 +0900)]
[core] handle request's result using NPU_INFER_BLOCKING_MODE

This patch handles request's result when using NPU_INFER_BLOCKING_MODE.
It returns positive req_id if no error, otherwise a negative error value.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years agoAdd lock_guard in callbackSync::callback to prevent deadlock
Dongjin Na [Thu, 15 Dec 2022 03:41:36 +0000 (12:41 +0900)]
Add lock_guard in callbackSync::callback to prevent deadlock
This patch fixes a deadlock issue of NPU_INFER_BLOCKING mode.

Signed-off-by: Dongjin Na <dongjin.na@samsung.com>
2 years ago[test] fix meson test option
Yelin Jeong [Wed, 21 Dec 2022 04:59:27 +0000 (13:59 +0900)]
[test] fix meson test option

This patch fixes meson test option for 2.4

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[coverity] fix coverity issues
Yelin Jeong [Thu, 22 Dec 2022 02:07:09 +0000 (11:07 +0900)]
[coverity] fix coverity issues

This patch fixes coverity, svace issues.
WGID 1620546, 170120, 172077

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[Test] add test for TRIV 2.3 profiler
Yelin Jeong [Wed, 21 Dec 2022 04:25:42 +0000 (13:25 +0900)]
[Test] add test for TRIV 2.3 profiler

This patch adds test for triv2.3 profiler

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[action] add test-fastmodel
Yelin Jeong [Tue, 6 Dec 2022 01:38:49 +0000 (10:38 +0900)]
[action] add test-fastmodel

TAOS-CI's pr-postbuild-fastmodel-apptest is not working now.
It always passed even when build breaks.
This action adds test-fastmodel to pr-build-aarch64.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[Fix] Use 2.4.0 models for testing
Yelin Jeong [Mon, 12 Dec 2022 03:19:11 +0000 (12:19 +0900)]
[Fix] Use 2.4.0 models for testing

This patch uses 2.4.0 models for testing.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years agoModify gitignore
Jiho Chu [Thu, 15 Dec 2022 03:15:15 +0000 (12:15 +0900)]
Modify gitignore

It's updated using gitignore.io.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years agonpu-engine 2.5.4 release
Jiho Chu [Thu, 15 Dec 2022 07:34:07 +0000 (16:34 +0900)]
npu-engine 2.5.4 release

npu-engine 2.5.3 is released.
- support getting NPU request result API which include simulator result
  and driver result
- simulator executable binary(command file) path is updated

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[EMUL] Support simulator cmd changes
Jiho Chu [Thu, 15 Dec 2022 04:49:35 +0000 (13:49 +0900)]
[EMUL] Support simulator cmd changes

This patch is for cmd path changes.

After (triv23-sim >= 1.1.2, triv24-sim >= 1.2.1), cmd file path is
changed to "triv-[major]-[minor]-[extra].cmd".

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[Docs] change art to bart artifactory in docs
Yelin Jeong [Thu, 8 Dec 2022 01:42:48 +0000 (10:42 +0900)]
[Docs] change art to bart artifactory in docs

This patch changes art to bart artifactory in documentation.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[Test] Modify utils to handle request's result
Jiho Chu [Thu, 1 Dec 2022 08:18:42 +0000 (17:18 +0900)]
[Test] Modify utils to handle request's result

Test util class can handle request's result.
It prints out the result to stdout when the request is over.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[CORE] Handle request's result
Jiho Chu [Thu, 1 Dec 2022 08:17:32 +0000 (17:17 +0900)]
[CORE] Handle request's result

It handles each request's result code, for both sync and async calls.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[CORE] ne-request: Add error code
Jiho Chu [Thu, 1 Dec 2022 02:16:24 +0000 (11:16 +0900)]
[CORE] ne-request: Add error code

It addes error code property which is used to
save result of the request.

Signed-off-by: Jiho Chu <jiho.chu@samsung.com>
2 years ago[action] add artifacts-ubuntu deb info
Yelin Jeong [Wed, 7 Dec 2022 01:36:43 +0000 (10:36 +0900)]
[action] add artifacts-ubuntu deb info

This patch adds deb info to artifacts-ubuntu workflow.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years agonpu-engine 2.5.3 release
Yelin Jeong [Tue, 6 Dec 2022 08:13:44 +0000 (17:13 +0900)]
npu-engine 2.5.3 release

  - Support latest simulator 3.9.10
  - idu-load utility
  - stress-test utility
  - Add a new profile format, PROFILE_LEVEL_VISA_DLP
  - Fix minor bugs

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[test] profile test only when emulator enabled
Yelin Jeong [Tue, 6 Dec 2022 04:29:04 +0000 (13:29 +0900)]
[test] profile test only when emulator enabled

This patch changes to test profile only when emulator is enabled.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[test] add unittest for profiler
Yelin Jeong [Wed, 30 Nov 2022 12:22:31 +0000 (21:22 +0900)]
[test] add unittest for profiler

This patch add uniitest for profiler's mergeProfile

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
2 years ago[profile] add mergeProfile
Yelin Jeong [Wed, 30 Nov 2022 12:21:57 +0000 (21:21 +0900)]
[profile] add mergeProfile

This patch adds mergeProfile to ne-profiler.

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