Skip to content

undefined reference to `hal_cl_eu_event_mask_wait_and_clear' during generating project/code generation #420

Description

@gwgknudayanga

Hi,

@marco-fariselli , I am using the notebook 'https://github.com/GreenWaves-Technologies/coco_object_detection/blob/public/tutorial.ipynb' to deploy the ssd-lite to deploy on gap8 (not gap9). So i am using the following code to generate the project for gvsoc and gap8 (All the previous steps were successful).

res = G.execute_on_target(
pmsis_os='freertos',
platform="gvsoc",
directory="test_run",
input_tensors=int_execution[0],
output_tensors=0,
source='gapuino_v3',
settings={
'l1_size': 78000,
'l2_size': 480000,
'tensor_directory': './tensors'
},
at_log=True,
dont_run=False,
at_loglevel=1,
print_output=True
)
for l in res.at_log[-29:-1]:
print(l)

** But i am always getting the following error.
gap_sdk/tools/autotiler_v3/CNN_Libraries_NE16/CNN_BasicKernels_NE16.c:861:
undefined reference to `hal_cl_eu_event_mask_wait_and_clear'

** These are some other stuff which shows after that error message.
make: Leaving directory '/home/udayanga/Udaya_Research_stuff/2024_GAP8_work/coco_object_detection/test_run'

Script done, file is /tmp/tmp4_465jdb/log.txt

Flash image ssd_mobv2_quant_L3_Flash_Const.dat (size 6172616) for device AT_MEM_L3_HFLASH successfuly generated

  Shared L1 Memory size (Bytes)       : Given:      66736, Used:      66712
         L2 Memory size (Bytes)       : Given:     480000, Used:     480000
   HyperRam Memory size (Bytes)       : Given:    8000000, Used:    8000000
 HyperFlash Memory size (Bytes)       : Given:   67108864, Used:    6172616

L3 Memory bandwidth for 1 graph run : 40572736 Bytes
L2 Memory bandwidth for 1 graph run : 75129940 Bytes
Sum of all Kernels arguments size : 33903060 Bytes
Tiling Bandwith overhead : 2.216022 Move/KerArgSize
Sum of baseline bandwidth : 732315026 Bytes
Percentage of baseline BW for L2 : 10.2592 %
Percentage of baseline BW for L3 : 5.54034 %
Sum of all Kernels operations : 784997827 Operations
Total amount of flash coefficients : 6172616 Bytes

Basic kernels library : Gap.h
: ssd_mobv2_quant.h
: CNN_BasicKernels_SQ8.h
: CNN_BasicKernels_NE16.h
: SSD_BasicKernels.h
Output Directory : BUILD_MODEL

The following files have been generated:
ssd_mobv2_quantKernels.c Generated C code for the user kernels and the user kernels groups
ssd_mobv2_quantKernels.h Header file for the generated C code
ssd_mobv2_quant_L3_Flash_Const.dat Flash content for Graph constants

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions