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 10
10
* ethos-u-core-driver for hardware interaction.
11
11
*/
12
12
13
+ #include < cstdint>
13
14
#include < cstring>
14
15
#include < memory>
15
16
@@ -282,7 +283,10 @@ class EthosUBackend final : public ::executorch::runtime::BackendInterface {
282
283
// constant weight data, then scratch (which contains input and output)
283
284
// scratch is written above in this function.
284
285
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 )))};
286
290
size_t bases_size[2 ] = {
287
291
handles.weight_data_size , handles.scratch_data_size };
288
292
int result = 0 ;
You can’t perform that action at this time.
0 commit comments