square can not run under the gpufs #1271
Replies: 9 comments
-
/root/gem5space/gem5/build/GCN3_X86/gem5.opt /root/gem5space/gem5/configs/example/apu_se.py -n 3 -c /root/gem5space/gem5-resources/src/matrix-multiply-omp/matrix-omp. I try to run multi thread with apu_se mode, but it report :Thread creation failed: Resource temporarily unavailable. I just need a mode which can run cpu multi-thread and gpu kernel function at the same time. |
Beta Was this translation helpful? Give feedback.
-
I have never tried running multi-threaded CPU programs so unfortunately I cannot provide any advice there -- maybe @BobbyRBruce or @powerjg can. In terms of the GPU portion, I am confused by what you posted. I see the following: ... This seems to imply that square passed. However, I later see: ... So I'm confused how you could have had the test both pass and fail. Are you including two separate runs -- one of which passed and one of which failed? My guess from trying to parse the text in your message is that a) square is working fine when run in the provided format in SE mode, b) you did not try square in the provided format in FS mode, and c) when you added pthreads to it for a CPU portion and ran in FS mode it has the error you later posted? If so, I think this is not a problem with the GPU support, but rather a question for the CPU folks. But let @abmerop and I know if we're missing something. |
Beta Was this translation helpful? Give feedback.
-
I did two separate runs, first executing square using apu_se.py mode, and it passed. But when I added a separate pthread for square, and executed it in runfs.py mode, it failed. Also, I tried running square in FS mode in the provided format for the last few hours, and it gave the same problem as adding pthreads |
Beta Was this translation helpful? Give feedback.
-
Timing CPUs do not work with GPUFS due to the fundamental design of Ruby (TimingSimpleCPU / O3CPU). Please use the top level script |
Beta Was this translation helpful? Give feedback.
-
Thank you ! I run Then it report src/cpu/kvm/perfevent.cc:217: panic: PerfKvmCounter::attach failed (1). I try to run "echo "-1" | sudo tee /proc/sys/kernel/perf_event_paranoid". But it stilll report panic: PerfKvmCounter::attach failed (1).\ My gem5 branch is "stable" and "revert-1065-kvm-hybrid-pmu",both of them do not work. |
Beta Was this translation helpful? Give feedback.
-
You could try adding |
Beta Was this translation helpful? Give feedback.
-
I try to add |
Beta Was this translation helpful? Give feedback.
-
You will need to build square for ROCm 6.1 (the version on the disk image). There is a docker provided to help with that here: |
Beta Was this translation helpful? Give feedback.
-
This seems to be a discussion rather than a gem5 bug. Please let me know if that is the case so that I can convert it into discussion. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Dear authors, I try to run gpufs with a small example during passed week, but there are still some problem happened. I am looking for some help.
Beta Was this translation helpful? Give feedback.
All reactions