File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1010 * ethos-u-core-driver for hardware interaction.
1111 */
1212
13+ #include < cstdint>
1314#include < cstring>
1415#include < memory>
1516
@@ -282,7 +283,10 @@ class EthosUBackend final : public ::executorch::runtime::BackendInterface {
282283 // constant weight data, then scratch (which contains input and output)
283284 // scratch is written above in this function.
284285 uint64_t bases[2 ] = {
285- (uint64_t )handles.weight_data , (uint64_t )handles.scratch_data };
286+ static_cast <uint64_t >(
287+ reinterpret_cast <uintptr_t >((handles.weight_data ))),
288+ static_cast <uint64_t >(
289+ reinterpret_cast <uintptr_t >((handles.scratch_data )))};
286290 size_t bases_size[2 ] = {
287291 handles.weight_data_size , handles.scratch_data_size };
288292 int result = 0 ;
You can’t perform that action at this time.
0 commit comments