Gem5 part2

A Modular platform for computer-system architecture research


chsgcxy



Ruby implements a detailed simulation model for the memory subsystem


gem5: ARM Power Modelling gem5: ARM DVFS Support



src/arch/amdgpu/

image

def connectGPU(system, args):

system.pc.south_bridge.gpu = AMDGPUDevice(pci_func=0, pci_dev=8, pci_bus=0)


system.pc.south_bridge.gpu.trace_file = args.gpu_mmio_trace system.pc.south_bridge.gpu.rom_binary = args.gpu_rom system.pc.south_bridge.gpu.checkpoint_before_mmios = \

args.checkpoint_before_mmios

class AMDGPUDevice : public PciDevice

Only support AMD GPU

define gpu instructions


image


AMD vega/gcn3

X86 CPU

Only se mode

PCIE


src/dev/amdgpu/

define gpu device


src/dev/gpu-compute/

gpu micro architecture


a Docker image that contains the proper software and libraries needed to run the GPU model in gem5 Reference: util/dockerfiles/gcn-gpu/README.md


QA


Thanks