Skip to content

Commit 116eaf2

Browse files
committed
Fix
1 parent 7482161 commit 116eaf2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

backends/arm/runtime/EthosUBackend.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,9 @@ class EthosUBackend final : public ::executorch::runtime::BackendInterface {
309309
static_cast<uint64_t>(
310310
reinterpret_cast<uintptr_t>((handles.weight_data))),
311311
static_cast<uint64_t>(reinterpret_cast<uintptr_t>(ethosu_scratch)),
312-
nullptr};
313-
size_t bases_size[ETHOSU_NUM_BASE_ADDRS] = {
314-
handles.weight_data_size,
315-
handles.scratch_data_size,
316312
0};
313+
size_t bases_size[ETHOSU_NUM_BASE_ADDRS] = {
314+
handles.weight_data_size, handles.scratch_data_size, 0};
317315
int result = 0;
318316
EXECUTORCH_PROF_START(
319317
event_tracer, event_tracer_local_scope, "+EthosUBackend::execute()NPU");

0 commit comments

Comments
 (0)