Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[err][test] Get error DMA and ACP accessing the wrong memory when run the test_loop_sampling with the default config #51

Open
galeselee opened this issue Mar 20, 2023 · 1 comment

Comments

@galeselee
Copy link

galeselee commented Mar 20, 2023

Hi, devs! I encounter some problems(which is similar to(#35. The message looks like an error not a waning) when i use gem5-aladdin with test_loop_sampling test

Error

root@e426682e09dc:/workspace/gem5-aladdin/src/aladdin/integration-test/with-cpu/test_loop_sampling# sh run.sh 
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (4096 Mbytes)
0: system.remote_gdb: listening for remote gdb on port 7000
info: Entering event queue @ 0.  Starting simulation...
info: Increasing stack size by one page.
warn: ignoring syscall access(...)
warn: x86 cpuid family 0x0000: unimplemented function 2
warn: x86 cpuid family 0x0000: unimplemented function 2
warn: x86 cpuid family 0x0000: unimplemented function 2
warn: x86 cpuid family 0x0000: unimplemented function 2
info: Received mapping for array inputs_host at vaddr 6d0840 of length 128.
info: Received mapping for array results_host at vaddr 6d0920 of length 128.
[WARNING]: Overlapping array declarations found!
  inputs_acc: 0x1259a60 - 0x1259ae0
  results_acc: 0x1259b40 - 0x1259bc0
[WARNING]: Overlapping array declarations found!
  inputs_host: 0x12598a0 - 0x12598a0
  results_acc: 0x1259b40 - 0x1259bc0
[WARNING]: Overlapping array declarations found!
  inputs_host: 0x12598a0 - 0x12598a0
  inputs_acc: 0x1259a60 - 0x1259ae0
[WARNING]: Overlapping array declarations found!
  inputs_host: 0x12598a0 - 0x12598a0
  results_host: 0x1259980 - 0x1259a00
[WARNING]: Overlapping array declarations found!
  results_host: 0x1259980 - 0x1259a00
  results_acc: 0x1259b40 - 0x1259bc0
[WARNING]: Overlapping array declarations found!
  results_host: 0x1259980 - 0x1259a00
  inputs_acc: 0x1259a60 - 0x1259ae0
[WARNING]: Overlapping array declarations found!
  results_host: 0x1259980 - 0x1259a00
  inputs_host: 0x12598a0 - 0x12598a0
Overlapping array address ranges can lead to incorrect behavior, such as DMA nodes trying to access the wrong arrays, ACP accessing the wrong memory, etc. Please check your Aladdin configuration file and the mapArrayToAccelerator() calls to verify that they are correct.
Global loop pipelining is not ON.
 Current power model supports trig functions running at 10 ns. 
 Cycle time: 2 is not supported yet. Use 10ns power model instead.

How to reproduce

1. get docker from docker pub
2. docker run image
3. python2.7 `which scons` build/X86/gem5.opt
4. cd /workspace/gem5-aladdin/src/aladdin/integration-test/with-cpu/test_loop_sampling
5. sh run.sh
@xyzsam
Copy link
Member

xyzsam commented Mar 24, 2023

Don't worry about it. The overlap detection logic has been broken for a long time but we just never got around to fixing it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants