[AMD Official Use Only - General]

Hello,


If you want to run CPU+GPU right now you will probably need to use SE mode.  
Timing CPUs are not supported in GPUFS configs so the CPU network is completely 
ignored as KVM/atomic bypass network.  If that doesn’t matter, then you will 
need to create a topology with only GPU components.  You can use an existing 
topology and simply remove CPU Ruby components to do this.  Then you will need 
to use the --gpu-topology option to pass it in.


-Matt

From: Y阿Z阿 via gem5-users <gem5-users@gem5.org>
Sent: Tuesday, May 7, 2024 6:47 AM
To: gem5-users <gem5-users@gem5.org>
Cc: Y阿Z阿 <1765197...@qq.com>
Subject: [gem5-users] gem5 cpu-gpu heterogeneous NoC

Caution: This message originated from an External Source. Use proper caution 
when opening attachments, clicking links, or responding.

Hello everyone, I am running cpu-gpu heterogeneous NoC in the Gem5 simulator, 
and this is my command line.

bench=blackscholes
#!/bin/bash
outDir=gem5/m5out/parsec
build/VEGA_X86/gem5.opt configs/example/gpufs/runfs.py \
--disk-image image/kernal/x86-gpu-fs-20220512.img \
--kernel image/vmlinux-5.4.0-105-generic \
--gpu-mmio-trace benchmark/gem5-resources/src/gpu-fs/vega_mmio.log \
--script ./Rcs/run_parsec.rcS \
--ruby \
--network=garnet \
--num-cpus=2 \
--num-compute-units=10 \
--num-dirs=16 \
--dgpu-mem-size="16GB" \
--num-l2caches=16 \
--mesh-rows=4 \
--mem-type="DDR4_2400_16x4" \
--mem-channels=2 \
--mem-ranks=2 \
--mem-size="16GB" \
--cpu-topology=Mesh_XY \
--gpu-topology=Mesh_XY

During the construction of the mesh architecture, the following bug appeared.

NameError: name 'option' is not defined
At:
  /root/gem5/configs/topologies/Mesh_XY.py(53): makeTopology
  /root/gem5/configs/example/gpufs/DisjointNetwork.py(90): connectCPU
  /root/gem5/configs/example/gpufs/Disjoint_VIPER.py(176): create
  /root/gem5/configs/example/gpufs/system/system.py(227): makeGpuFSSystem
  configs/example/gpufs/runfs.py(211): runGpuFSSystem
  configs/example/gpufs/runfs.py(282): <module>
  src/python/m5/main.py(629): main

I would like to ask everyone, can cpu-gpu heterogeneous NoC be run in Gem5? If 
so, what configuration files do I need to change? Thank you very much for your 
help.

________________________________
[Image removed by sender.]
Y阿Z阿
1765197...@qq.com

_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to