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

fatal error while trying to run pim_test.cpp #7

Open
jasmiine28k opened this issue Sep 30, 2019 · 1 comment
Open

fatal error while trying to run pim_test.cpp #7

jasmiine28k opened this issue Sep 30, 2019 · 1 comment

Comments

@jasmiine28k
Copy link

command line: build/X86/gem5.opt configs/example/se.py --cmd=./tests/test-progs/pim-hello/hellopim --num-cpus=1 --mem-type=HMC_2500_1x32 --enable-pim --num-pim-processors=16 --pim-type=kernel --kernel-type=adder --num-pim-kernels=16

xxx
4294967295
Enable PIM simulation in the system.
Creating PIM kernels...
Global frequency set at 1000000000000 ticks per second
42949672964294967297429496729842949672994294967300429496730142949673024294967303429496730442949673054294967306429496730742949673084294967309429496731042949673110: system.remote_gdb: listening for remote gdb on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0. Starting simulation...
warn: ignoring syscall access(...)
warn: ignoring syscall access(...)
warn: ignoring syscall access(...)
warn: ignoring syscall mprotect(...)
warn: ignoring syscall access(...)
warn: ignoring syscall mprotect(...)
warn: ignoring syscall access(...)
warn: ignoring syscall mprotect(...)
warn: ignoring syscall access(...)
info: Increasing stack size by one page.
warn: ignoring syscall mprotect(...)
warn: ignoring syscall mprotect(...)
warn: ignoring syscall mprotect(...)
warn: ignoring syscall mprotect(...)
warn: ignoring syscall mprotect(...)
warn: ignoring syscall mprotect(...)
warn: ignoring syscall mprotect(...)
(pim_test.cpp) : Use PIM to calculate the sum from 1 to 100
(pim_test.cpp) : PIM [0x140737488350512] [0x140737488350520] -> [0x140737488350512]
fatal: Base CPU cannot process PIM.
Memory Usage: 4380004 KBytes

@s910149
Copy link

s910149 commented Oct 16, 2019

Since you haven't defined the CPU type.
Add "--cpu-type=Timing Simple CPU" to the command line.

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