Skip to content

Merge delegate runners on Arm Baremetal #718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion backends/arm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ include(${EXECUTORCH_ROOT}/build/Utils.cmake)

set(_common_include_directories ${EXECUTORCH_ROOT}/..)

include(cmake/Dependencies.cmake)
# Third-party folder and Ethos-U driver inclued
set(THIRD_PARTY_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/third-party")
set(DRIVER_ETHOSU_INCLUDE_DIR "${THIRD_PARTY_ROOT}/ethos-u-core-driver/include")
include_directories( ${DRIVER_ETHOSU_INCLUDE_DIR} )

set(_arm_baremetal_sources backends/arm/runtime/ArmBackendEthosU.cpp)
list(TRANSFORM _arm_baremetal_sources PREPEND "${EXECUTORCH_ROOT}/")
Expand Down
10 changes: 0 additions & 10 deletions backends/arm/cmake/Dependencies.cmake

This file was deleted.

53 changes: 0 additions & 53 deletions backends/arm/cmake/build.sh

This file was deleted.

12 changes: 0 additions & 12 deletions backends/arm/cmake/toolchain.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 48a99f4b00e504c13cd74ca44a5ce7128f719cba Mon Sep 17 00:00:00 2001
From 949334fe4cfd84c4d4682a92d055be26670670be Mon Sep 17 00:00:00 2001
From: Digant Desai <[email protected]>
Date: Tue, 3 Oct 2023 21:20:21 -0700
Subject: [PATCH 1/6] [Executorch] Add README
Subject: [Executorch 1/7] Add README

---
applications/executorch_tests/README.md | 16 ++++++++++++++++
Expand Down Expand Up @@ -31,5 +31,5 @@ index 0000000..f2dfb05
+containing an ExecuTorch compatible PyTorch model on the Costrone 300 FVP using
+ExecuTorch runtime.
--
2.39.3
2.42.0

Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
From 3359f94fc57ac76b3f5995d4453975251b56ae71 Mon Sep 17 00:00:00 2001
From ef976aa04e7d6b7571e9791900f9d80aeb0338da Mon Sep 17 00:00:00 2001
From: Digant Desai <[email protected]>
Date: Thu, 28 Sep 2023 18:05:03 -0700
Subject: [PATCH 2/6] [Executorch][local-patch] regress cmake version from 3.21
--> 3.20
Subject: [Executorch 2/7] regress cmake version from 3.21 --> 3.20

---
targets/corstone-300/CMakeLists.txt | 2 +-
Expand All @@ -22,5 +21,5 @@ index 62205bb..7dda8a1 100644
project(ethos-u-corstone-300 VERSION 0.0.1)

--
2.39.3
2.42.0

Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
From b13de10ad4920da069d44efb99eceb86f6169a32 Mon Sep 17 00:00:00 2001
From cbda805f968a45205c9d3d4a2f4cb534e207d504 Mon Sep 17 00:00:00 2001
From: Digant Desai <[email protected]>
Date: Thu, 28 Sep 2023 18:05:30 -0700
Subject: [PATCH 3/6] [Executorch][local-patch] Disable warnings to reduce
verbosity
Subject: [Executorch 3/7] Disable warnings to reduce verbosity

---
cmake/toolchain/arm-none-eabi-gcc.cmake | 28 ++++++++++++-------------
Expand Down Expand Up @@ -49,5 +48,5 @@ index 093005e..0e6a2ed 100644
+ # -Wno-psabi
)
--
2.39.3
2.42.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 5423ef7ec31e4260ec79f2f6e60deddc1640f3e4 Mon Sep 17 00:00:00 2001
From 02eb3615cdb2cc963f20e103893f76499c98ad50 Mon Sep 17 00:00:00 2001
From: Digant Desai <[email protected]>
Date: Mon, 2 Oct 2023 20:39:39 -0700
Subject: [PATCH 4/6] [Executorch][local-patch] New phdr for .data section
Subject: [Executorch 4/7] New phdr for .data section

---
targets/corstone-300/platform.ld | 3 ++-
Expand Down Expand Up @@ -29,5 +29,5 @@ index 8d77329..8de77c4 100644
.sram.bss :
{
--
2.39.3
2.42.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From dcf2e249d7f96f521e19c556d7529757aa94a0f5 Mon Sep 17 00:00:00 2001
From 55019e4eb8d39f3fb1fb303380e903294604837c Mon Sep 17 00:00:00 2001
From: Digant Desai <[email protected]>
Date: Tue, 3 Oct 2023 21:20:07 -0700
Subject: [PATCH 5/6] [Executorch] Add pte to header script
Subject: [Executorch 5/7] Add pte to header script

---
.../executorch_tests/pte_to_header.py | 65 +++++++++++++++++++
Expand Down Expand Up @@ -80,5 +80,5 @@ index 0000000..37d88aa
+ f"Input: {args.pte} with {len(data)} bytes. Output: {outfile} with {len(hexstring)} bytes. Section: {args.section}."
+ )
--
2.39.3
2.42.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 0c91f25a52d32d7f4b6ec787a40633a92af7f885 Mon Sep 17 00:00:00 2001
From 25f530f4ef8d994f61fe979e94b4c929ff2481e6 Mon Sep 17 00:00:00 2001
From: Digant Desai <[email protected]>
Date: Thu, 28 Sep 2023 19:07:51 -0700
Subject: [PATCH 6/6] [Executorch] Add executorch_runner test
Subject: [Executorch 6/7] Add executorch_runner test

---
applications/CMakeLists.txt | 2 +
Expand Down Expand Up @@ -279,5 +279,5 @@ index a21d9f0..036f189 100644
ethosu_eval_link_options(${target})

--
2.39.3
2.42.0

Loading