GreenWaves-Technologies / coco_object_detection

1 stars 1 forks source link

Execute on target fails with errors #2

Closed gwgknudayanga closed 1 year ago

gwgknudayanga commented 1 year ago

hi, I have executed the the 'execute_on_target' in the following way. ( i had to remove 'write_out_to_file' and 'cmake' as it always tells those two are not options for execute_on_target function. And i set the source to gapuino_v3 since there was no any gap9_v2.cfg file with the latest master branch for gap_sdk).

res = G.execute_on_target( pmsis_os='freertos', platform="gvsoc", directory="test_run", input_tensors=int_execution[0], output_tensors=0, source='gapuino_v3',

write_out_to_file=True,

at_log=True,
dont_run=False,
settings={
    'l1_size': 128000,
    'l2_size': 1300000,
    'tensor_directory': './tensors'
},
#cmake=True,
at_loglevel=1,
print_output=True

) for l in res.at_log[-29:-1]: print(l)

After executing that i am getting following errors.

home/udayanga/gap_sdk/tools/autotiler_v3/CNN_Libraries_NE16/CNN_BasicKernels_NE16.c:765: undefined reference to hal_cl_eu_event_mask_wait_and_clear' [/home/udayanga/coco_object_local_project/test_run/BUILD/GAP8_V3/GCC_RISCV_FREERTOS//home/udayanga/gap_sdk/tools/autotiler_v3/CNN_Libraries_NE16/CNN_BasicKernels_NE16.o](https://file+.vscode-resource.vscode-cdn.net/home/udayanga/coco_object_local_project/test_run/BUILD/GAP8_V3/GCC_RISCV_FREERTOS//home/udayanga/gap_sdk/tools/autotiler_v3/CNN_Libraries_NE16/CNN_BasicKernels_NE16.o):/home/udayanga/gap_sdk/tools/autotiler_v3/CNN_Libraries_NE16/CNN_BasicKernels_NE16.c:765: more **undefined references tohal_cl_eu_event_mask_wait_and_clear' follow**

collect2: error: ld returned 1 exit status

Expect your help. Thank you.

gwgknudayanga commented 1 year ago

This worked after setting the l1 and l2 memories that matches with gap8.

gwgknudayanga commented 1 year ago

so closing