Open jasmiine28k opened 4 years ago
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
Since you haven't defined the CPU type. Add "--cpu-type=Timing Simple CPU" to the command line.
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