Skip to content

NXP Backend: enable CPPCHECK for NXP backend and example#20593

Merged
robert-kalmar merged 2 commits into
pytorch:mainfrom
nxp-upstream:feature/EIEX-982-enable-cppcheck-for-nxp-code
Jul 1, 2026
Merged

NXP Backend: enable CPPCHECK for NXP backend and example#20593
robert-kalmar merged 2 commits into
pytorch:mainfrom
nxp-upstream:feature/EIEX-982-enable-cppcheck-for-nxp-code

Conversation

@robert-kalmar

@robert-kalmar robert-kalmar commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

Enable CPPCHECK for NXP Backend and fix initial findings.
Additional fixes in nxp_executor_runner:
- report error on STDERR,
- do not call exit() in function
- use C++ import style for C headers.

Test plan

Existing unit test covering.

cc @JakeStevens @digantdesai @rascani

@pytorch-bot

pytorch-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20593

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit 7a1a471 with merge base 6021a58 (image):

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 29, 2026
@linux-foundation-easycla

linux-foundation-easycla Bot commented Jun 29, 2026

Copy link
Copy Markdown

CLA Not Signed

@robert-kalmar robert-kalmar added module: nxp Issues related to NXP Neutron NPU delegation and code under backends/nxp/ release notes: nxp Changes to the NXP Neutron backend delegate labels Jun 29, 2026
@robert-kalmar

Copy link
Copy Markdown
Collaborator Author

@irtrukhina please add yourself to reviewers too. For some reason cannot find you.

Comment thread backends/nxp/runtime/NeutronBackend.cpp Outdated
Signed-off-by: Robert Kalmar <robert.kalmar@nxp.com>
Fixes:
- report error on STDERR,
- do not call exit() in function
- use C++ import style for C headers.

Signed-off-by: Robert Kalmar <robert.kalmar@nxp.com>
@robert-kalmar robert-kalmar force-pushed the feature/EIEX-982-enable-cppcheck-for-nxp-code branch from 81e6380 to 7a1a471 Compare June 30, 2026 13:38
@robert-kalmar robert-kalmar merged commit d0f205c into pytorch:main Jul 1, 2026
189 of 192 checks passed
@robert-kalmar robert-kalmar deleted the feature/EIEX-982-enable-cppcheck-for-nxp-code branch July 1, 2026 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: nxp Issues related to NXP Neutron NPU delegation and code under backends/nxp/ release notes: nxp Changes to the NXP Neutron backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants