You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[cadence][hifi] Fix cadence backend example for i.MXRT600
Fixing the build of the cadence backend example for i.MXRT600. Guideline updated to reference a particular NXP MCUXpresso SDK (25.12) and added selective kernel registration, based on model used as the full executorch op library exceeds the i.MXRT600 memory.
Copy file name to clipboardExpand all lines: docs/source/backends-cadence.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,9 @@ In order to be able to succesfully build and run ExecuTorch on a Xtensa HiFi4 DS
47
47
- Needed to flash the board with the firmware images. You can install this on the same platform that you installed the MCUXpresso IDE on.
48
48
- Note: depending on the version of the NXP board, another probe than JLink might be installed. In any case, flashing is done using the MCUXpresso IDE in a similar way.
- Download this SDK to your Linux machine, extract it and take a note of the path where you store it. You'll need this later.
50
+
- Download this SDK, version 25.12.00 to your Linux machine, extract it and take a note of the path where you store it. You'll need this later.
51
+
- Note there are 2 variants of the SDK - the CLI only ARMGCC and for the MCUXpresso IDE. The SDK variant for the MCUXpresso IDE contains the SDK only for the i.MX RT600 platforms, whereas the ARMGCC toolchain contains the SDK for multiple SoCs. That means you need to adjust the env variables accordingly.
52
+
- If not noted otherwise, the links in this tutorial are valid for MCUXpresso SDK 25.12.00, MCUXPresso IDE variant.
- **Vision P-Series DSPs**: Core `VANILLA_VISION`, enable with `-DEXECUTORCH_VISION_OPT=ON`
279
282
```
280
283
281
-
***Step 2***. Clone the [nnlib repo](https://github.com/foss-xtensa/nnlib-hifi4), which contains optimized kernels and primitives for HiFi4 DSPs, with `git clone git@github.com:foss-xtensa/nnlib-hifi4.git`.
284
+
***Step 2***. Run the `backends/cadence/install_requirements.sh`. This clones the Cadence Neural Network Library (nn-lib) .
282
285
283
286
***Step 3***. Run the CMake build.
284
287
In order to run the CMake build, you need the path to the following:
285
-
- The Program generated in the previous step
288
+
- The Program generated in the previous step, typically will have the name `CadenceDemoModel.pte`.
286
289
- Path to the NXP SDK root. This should have been installed already in the [Setting up Developer Environment](#setting-up-developer-environment) section. This is the directory that contains the folders such as boards, components, devices, and other.
0 commit comments