Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,7 @@ jobs:
conda activate "${CONDA_ENV}"

# Build
cmake -DEXECUTORCH_BUILD_NXP_NEUTRON=ON -Bcmake-out .
cmake -DEXECUTORCH_BUILD_NXP_NEUTRON=ON -DCMAKE_CXX_FLAGS="-DEXTERNAL_MEM" -Bcmake-out .
cmake --build cmake-out --target executorch_delegate_neutron --config Release

# Build check for the neutron backend library
Expand Down
3 changes: 2 additions & 1 deletion backends/nxp/runtime/NeutronBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ typedef struct {
// Neutron compute has no access to FLASH.
// Prefetch weights from FLASH to SRAM using memcpy.
// For a model converted with --fetch_constants_to_sram.
void copy(void* dst, const void* src, uint32_t size, uint32_t channel) {
// cppcheck-suppress constParameterCallback
void copy(void* dst, void* src, uint32_t size, uint32_t channel) {
memcpy(dst, src, size);
}
void wait(uint32_t channel) {}
Expand Down
Loading