Lower number of cores on HERO
#4
Hi Andreas,

I have tried your suggestion and it worked partially.
When running the helloworld example the host (ARM) gets stuck in function pulp_mbox_read.
Here is the gdb backtrace:
Code:
#0  0xb6e23b94 in ?? () from /lib/libc.so.6
No symbol table info available.
#1  0xb6e95002 in read () from /lib/libc.so.6
No symbol table info available.
#2  0xb6dad3d0 in pulp_mbox_read (pulp=0xb6bfd0f8 <pulp_dev>, buffer=buffer@entry=0xbecaab50, n_words=n_words@entry=2)
   at src/pulp.c:70
       n_char = 0
       n_char_left = 8
       ret = <optimized out>
#3  0xb6beb9b4 in GOMP_OFFLOAD_run (n=<optimized out>, tgt_fn=0x1c0009b8, tgt_vars=<optimized out>,
   args=<optimized out>)
   at /home/hero/testing_2cores/hero-sdk/hero-gcc-toolchain/src/riscv-gcc/libgomp/plugin/plugin-pulp-hero.h:449
       ret = {3200953216, 1}
#4  0xb6f11874 in GOMP_target_ext (device=device@entry=-1, fn=fn@entry=0x10829 <main._omp_fn.1>, mapnum=mapnum@entry=0,
   hostaddrs=hostaddrs@entry=0x0, sizes=<optimized out>, sizes@entry=0x0, kinds=<optimized out>, kinds@entry=0x0,
   flags=<optimized out>, flags@entry=0, depend=<optimized out>, depend@entry=0x0, args=<optimized out>,
   args@entry=0xbecaabe0) at /home/hero/testing_2cores/hero-sdk/hero-gcc-toolchain/src/riscv-gcc/libgomp/target.c:1576
       devicep = <optimized out>
       tgt_align = <optimized out>
       tgt_size = <optimized out>
       fpc_done = <optimized out>
       tgt_vars = 0x2d9b0
#5  0x00010726 in main (argc=<optimized out>, argv=<optimized out>) at helloworld.c:41
No locals.

What could be the problem? Could you please help?
Reply


Messages In This Thread
Lower number of cores on HERO - by lukamac - 05-02-2019, 08:57 AM
RE: Lower number of cores on HERO - by akurth - 05-09-2019, 05:31 PM
RE: Lower number of cores on HERO - by lukamac - 05-10-2019, 07:14 AM
RE: Lower number of cores on HERO - by lukamac - 05-21-2019, 09:13 AM

Forum Jump: