Skip to content

Commit 6dcdb37

Browse files
anhappdevnathanwassonfreedomtanPeggieLuAhmedTElthakeb
authored
Samsung submission v5.0 (#1049)
* Update CODEOWNERS * Update Mediatek backend for v5.0 * Add parallel execution to the Throughput executor for offline * Add libapuwareapusys_v2.mtk.so to Manifest for loading usdk * Adujst the powerhal param * Add mt6991's backend setting * fix: avoid clang-format error * Update android-build-test.yml to use `ubuntu-22.04-4core` for Android build step (#31) * Fix: Add Android-only linkopts for libandroid to support cross-platform build * Update the model path and backend accelerator definition * Samsung backend updates for v5.0 * Update README.md * Update Samsung library to version 5.0 in CI workflow * Use newer libmbe2400_core.so --------- Co-authored-by: Nathan Wasson <[email protected]> Co-authored-by: Koan-Sin Tan <[email protected]> Co-authored-by: PeggieLu <[email protected]> Co-authored-by: Ahmed Taha ELthakeb <[email protected]> Co-authored-by: AhmedTElthakeb <[email protected]> Co-authored-by: swasson488 <[email protected]>
1 parent 85d1b80 commit 6dcdb37

20 files changed

+460
-27
lines changed

.github/workflows/android-build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ jobs:
9494
project_id: mobile-app-build-290400
9595
- name: Download Samsung libraries
9696
env:
97-
SAMSUNG_LIB: samsung_libs_v4.0_20240409
97+
SAMSUNG_LIB: samsung_libs_v5.0_20250906
9898
run: |
99-
gsutil cp gs://mobile-app-build-290400_github-actions/lib/v4.0/${SAMSUNG_LIB}.zip /tmp/ && \
99+
gsutil cp gs://mobile-app-build-290400_github-actions/lib/v5.0/${SAMSUNG_LIB}.zip /tmp/ && \
100100
unzip /tmp/${SAMSUNG_LIB}.zip -d /tmp/${SAMSUNG_LIB} && \
101101
rm /tmp/${SAMSUNG_LIB}.zip && \
102102
mkdir -p mobile_back_samsung/samsung/lib/internal && \

mobile_back_samsung/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Building MLPerf Open app with Samsung backend
22

33
<!-- markdown-link-check-disable-next-line -->
4-
1. Update the "lib/internal" folder at 'mobile_app_open/mobile_back_samsung/samsung/lib/internal' by copying the libs from [here](https://github.com/mlcommons/mobile_back_samsung/tree/submission_v4.0_samsung_backend/samsung_libs)
4+
1. Update the "lib/internal" folder at 'mobile_app_open/mobile_back_samsung/samsung/lib/internal' by copying the libs from [here](https://github.com/mlcommons/mobile_back_samsung/tree/submission_v5.0_samsung_backend/samsung_libs)
55
2. Change directory to the main path (mobile_app_open)
66
3. Run the build command
77

mobile_back_samsung/samsung/lib/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ pbtxt2header(
1818
"public/include/mbe_config_2200.pbtxt",
1919
"public/include/mbe_config_2300.pbtxt",
2020
"public/include/mbe_config_2400.pbtxt",
21+
"public/include/mbe_config_2500.pbtxt",
2122
],
2223
)
2324

@@ -36,6 +37,7 @@ cc_library(
3637
"public/include/mbe_config_2200.hpp",
3738
"public/include/mbe_config_2300.hpp",
3839
"public/include/mbe_config_2400.hpp",
40+
"public/include/mbe_config_2500.hpp",
3941
"public/include/mbe_core_holder.hpp",
4042
"public/include/mbe_helper.hpp",
4143
"public/include/mbe_loader.hpp",
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
e2f78216c1a3e0d925e17e4d6e7befbc1a2a853867864c6f30e553bf971f2a42 internal/libc++.so
2+
dce841472a4883ac0660b36708eddc2cd29342c2a108bf4d9da2ffdddab02f91 internal/libc++_shared.so
23
34ce517c63720a6a858d4e0237247a4e6db857cc4a1f6dffe7210916b96fdc3b internal/libeden_nn_on_system.so
34
f459d2b74a2330b938ea163037c5c5f896a97c1b3a7c1454051246bdab766e5c internal/libenn_extension.so
45
97202acb183aa26d83f393d185f0f3cd94f648678916c6b27d91a8445f354472 internal/libenn_public_api_cpp.so
5-
dcceb8e44f81a35a83395e409db552dcd0a47cde995efaa8bf5bca909a06de7e internal/libmbe1200_core.so
6-
9dde45ef30ee995840491e85320757abf680139714f0be88a713b23eec5e0dd9 internal/libmbe2100_core.so
7-
8f6c17efda5beecb999cfbcb11b73d3c7c9593e695b1dcc0ff6b37f56b5147ae internal/libmbe2200_core.so
8-
c27b9414873fba13c500cacbfd08f6a9112b0e7c8f9cdf1d1d321f0c9d2fee1d internal/libmbe2300_core.so
9-
cf5fd2dd19c10acc1703e1084b6a46abb9b04984ac41c774ee58e04fd6be3972 internal/libmbe2400_core.so
6+
22b9f6c8272539971471ffef2fb762fbfd86eeef8b0c6779326d45d864d23cfe internal/libmbe1200_core.so
7+
5b7087884f42b5b097656b74116e67bb92d1837e2225d435346fa2bdc665ba8c internal/libmbe2100_core.so
8+
a02ca37bebabb07793730f3f47f939485c79e3ba1d88c6402ee3dc15cc9caf00 internal/libmbe2200_core.so
9+
781b67e8945eba3fbbbe53813cb76c794b09c432bde1aba5043e776286c126f8 internal/libmbe2300_core.so
10+
8c04f045c39b4d18b0726c3d89b839a65c64fc440686d9c5ed19d335a4baaf1f internal/libmbe2400_core.so
11+
2dac2d2521996513a7e7493d66584ea4f7f9d0b19dbb9c51c8ec3dbb4370a0df internal/libmbe2500_core.so
1012
cc921615cd844b47871646b30f146048044b55cdb9bf17d3bd9c5f4569ec2efe internal/libofi_rt_framework_user_vendor.so
13+
7489fe74d8fb399400426df3f830fa41864714a013116399a3e8d3e6d66a22e1 internal/libsamsungbackend.so

mobile_back_samsung/samsung/lib/public/include/mbe_config.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright 2020-2023 Samsung System LSI. All Rights Reserved.
1+
/* Copyright 2020-2025 Samsung System LSI. All Rights Reserved.
22
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
@@ -29,4 +29,6 @@ limitations under the License.
2929
#include "mbe_config_2200.hpp"
3030
#include "mbe_config_2300.hpp"
3131
#include "mbe_config_2400.hpp"
32+
#include "mbe_config_2500.hpp"
33+
3234
#endif

mobile_back_samsung/samsung/lib/public/include/mbe_config_1200.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright 2020-2023 Samsung System LSI. All Rights Reserved.
1+
/* Copyright 2020-2025 Samsung System LSI. All Rights Reserved.
22
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

mobile_back_samsung/samsung/lib/public/include/mbe_config_2100.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright 2020-2023 Samsung System LSI. All Rights Reserved.
1+
/* Copyright 2020-2025 Samsung System LSI. All Rights Reserved.
22
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
@@ -15,4 +15,4 @@ limitations under the License.
1515
#ifndef MBE_CONFIG_2100_H
1616
#define MBE_CONFIG_2100_H
1717
#include <mbe_config_2100.pbtxt.h>
18-
#endif
18+
#endif

mobile_back_samsung/samsung/lib/public/include/mbe_config_2200.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright 2020-2023 Samsung System LSI. All Rights Reserved.
1+
/* Copyright 2020-2025 Samsung System LSI. All Rights Reserved.
22
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

mobile_back_samsung/samsung/lib/public/include/mbe_config_2300.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright 2020-2023 Samsung System LSI. All Rights Reserved.
1+
/* Copyright 2020-2025 Samsung System LSI. All Rights Reserved.
22
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

mobile_back_samsung/samsung/lib/public/include/mbe_config_2400.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright 2020-2023 Samsung System LSI. All Rights Reserved.
1+
/* Copyright 2020-2025 Samsung System LSI. All Rights Reserved.
22
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)