platform/hal/backend/ml-accelerator.git
31 hours ago[vivante] Return when error accepted/tizen_unified accepted/tizen_unified_x main tizen accepted/tizen/unified/20250613.040644 accepted/tizen/unified/x/20250613.044708
Yongjoo Ahn [Thu, 12 Jun 2025 06:16:46 +0000 (15:16 +0900)]
[vivante] Return when error

- Let the configuration returns when the model initalization is failed

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
31 hours ago[vivante] Support _NNS_FLOAT16 always
Yongjoo Ahn [Wed, 11 Jun 2025 03:47:12 +0000 (12:47 +0900)]
[vivante] Support _NNS_FLOAT16 always

- `_NNS_FLOAT16` is always available. Use it.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
31 hours ago[vivante] Fix optional and required fields in JSON
Yongjoo Ahn [Wed, 11 Jun 2025 03:45:17 +0000 (12:45 +0900)]
[vivante] Fix optional and required fields in JSON

- Get dtype values only when they are explictly given.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
31 hours ago[vivante] Refactor the updated vivante code
Yongjoo Ahn [Tue, 10 Jun 2025 05:24:43 +0000 (14:24 +0900)]
[vivante] Refactor the updated vivante code

- Refactor and fix memory leaks

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
31 hours ago[vivante] Add json based initialization
Yongjoo Ahn [Tue, 10 Jun 2025 04:20:08 +0000 (13:20 +0900)]
[vivante] Add json based initialization

- Without .so file to intialize the given model, this supports json based initialization.
- Fix README.md accordingly.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
4 weeks ago[doc] Add README.md
Yongjoo Ahn [Tue, 13 May 2025 07:37:56 +0000 (16:37 +0900)]
[doc] Add README.md

- Add a guide providing an overview of ml-accelerator-backend.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
2 months ago[CodeClean] set valid error code accepted/tizen/unified/20250319.072547 accepted/tizen/unified/x/20250319.090609
Jaeyun Jung [Tue, 18 Mar 2025 07:56:19 +0000 (16:56 +0900)]
[CodeClean] set valid error code

Code clean, check invalid ptr and return valid error code in each callbacks.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
3 months agoAdd gbs build workflow for github actions accepted/tizen/unified/20250313.014314 accepted/tizen/unified/x/20250312.193759
Yongjoo Ahn [Wed, 12 Mar 2025 06:30:01 +0000 (15:30 +0900)]
Add gbs build workflow for github actions

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
3 months agoAdd dummy package and dummy backend
Yongjoo Ahn [Wed, 12 Mar 2025 04:02:15 +0000 (13:02 +0900)]
Add dummy package and dummy backend

- Add dummy package which is published for any configuration.
- The dummy package has backend `dummy-passthrough`.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
3 months agoFix hal_backend_ml_data for current backends
Yongjoo Ahn [Wed, 12 Mar 2025 05:47:35 +0000 (14:47 +0900)]
Fix hal_backend_ml_data for current backends

- Set version as 1.0
- Set proper vendor name

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
3 months ago[build] Remove non-rootstrap deps
Yongjoo Ahn [Fri, 7 Mar 2025 07:07:36 +0000 (16:07 +0900)]
[build] Remove non-rootstrap deps

- Remove non-rootstrap dependencies. They should be in the
  hal-rootstrap.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
3 months ago[spec] Remove roostrap checker setting
Yongjoo Ahn [Tue, 25 Feb 2025 07:11:09 +0000 (16:11 +0900)]
[spec] Remove roostrap checker setting

- disable_hal_rootstrap_checker is removed from platform

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
3 months ago[spec] Rename tizen packages
Yongjoo Ahn [Tue, 25 Feb 2025 05:29:19 +0000 (14:29 +0900)]
[spec] Rename tizen packages

- Rename tizen packages as hal-backend-ml-accelerator-*

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
3 months ago[vivante] Fix framework name as "vivante" accepted/tizen/unified/20250310.024600 accepted/tizen/unified/x/20250310.042759 accepted/tizen/unified/x/20250312.054003
Yongjoo Ahn [Fri, 7 Feb 2025 08:16:29 +0000 (17:16 +0900)]
[vivante] Fix framework name as "vivante"

- Change vivante-tizen-hal -> vivante
- Fix log function for error cases.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
3 months ago[vivante] Remove use of dlsym functions
Yongjoo Ahn [Fri, 7 Feb 2025 08:15:48 +0000 (17:15 +0900)]
[vivante] Remove use of dlsym functions

- Use API directly rather than use if as dlsym func pointers
- These are removed:
  result_vsi_nn_CopyDataToTensor
  result_vsi_nn_RunGraph

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
3 months agoSet linker flags for backend libs
Yongjoo Ahn [Tue, 4 Feb 2025 04:36:48 +0000 (13:36 +0900)]
Set linker flags for backend libs

- Set linker flag --rpath to the hal libs.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
4 months agoRemove license conflicts in those two imported header files
Yongjoo Ahn [Wed, 22 Jan 2025 02:18:42 +0000 (11:18 +0900)]
Remove license conflicts in those two imported header files

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
4 months agoCode formatting
Yongjoo Ahn [Tue, 21 Jan 2025 02:10:07 +0000 (11:10 +0900)]
Code formatting

- Apply clang-format (setting of nnstreamer)

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
4 months agoAdd get_framework_info function
Yongjoo Ahn [Tue, 21 Jan 2025 02:09:06 +0000 (11:09 +0900)]
Add get_framework_info function

- Add `get_framework_info` function in each backend (snpe / vivante)

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
4 months agoFix function signatures
Yongjoo Ahn [Fri, 17 Jan 2025 09:58:04 +0000 (18:58 +0900)]
Fix function signatures

- Fix function signatures (use void and int types).
- Parse those arguments with nns headers.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
4 months agoAdd nns headers
Yongjoo Ahn [Fri, 17 Jan 2025 09:57:01 +0000 (18:57 +0900)]
Add nns headers

- Add tensor_typedef.h and nnstreamer_plugin_api_filter.h

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
4 months agoadd codeowners
Yongjoo Ahn [Fri, 17 Jan 2025 07:12:19 +0000 (16:12 +0900)]
add codeowners

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
4 months ago[build] Fix cmake build script to install dummy
Yongjoo Ahn [Fri, 17 Jan 2025 06:59:12 +0000 (15:59 +0900)]
[build] Fix cmake build script to install dummy

- Install dummy things to fix gbs build error when there are no backends

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
4 months ago[build] Fix vivante and snpe build
Yongjoo Ahn [Thu, 16 Jan 2025 08:12:30 +0000 (17:12 +0900)]
[build] Fix vivante and snpe build

- Disable hal_rootstrap_checker for now.
- Set proper compile flags.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
4 months ago[build] Remove test backend codes
Yongjoo Ahn [Thu, 16 Jan 2025 08:11:50 +0000 (17:11 +0900)]
[build] Remove test backend codes

- Remove dummy test code.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
4 months ago[License] update owner
Jaeyun Jung [Wed, 15 Jan 2025 01:17:46 +0000 (10:17 +0900)]
[License] update owner

Fix typo, update license copyright owner.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
4 months agoInitialize hal backend for ml
Yongjoo Ahn [Mon, 13 Jan 2025 06:44:02 +0000 (15:44 +0900)]
Initialize hal backend for ml

- This implements hal backends for hal-api-ml.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>