Repository navigation
Commit d0f205c
authored
NXP Backend: enable CPPCHECK for NXP backend and example (pytorch#20593)
### 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.
---------
Signed-off-by: Robert Kalmar <robert.kalmar@nxp.com>1 parent e773a95 commit d0f205c
3 files changed
Lines changed: 123 additions & 50 deletions
File tree
- backends/nxp/runtime
- examples/nxp/executor_runner
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
| |||
151 | 150 | | |
152 | 151 | | |
153 | 152 | | |
154 | | - | |
155 | 153 | | |
156 | 154 | | |
157 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
382 | | - | |
| 381 | + | |
383 | 382 | | |
384 | 383 | | |
385 | 384 | | |
| |||
587 | 586 | | |
588 | 587 | | |
589 | 588 | | |
590 | | - | |
| 589 | + | |
591 | 590 | | |
592 | 591 | | |
593 | 592 | | |
| |||
0 commit comments