[AMD Official Use Only - General]

Hi Pau,


Typically, we use docker to compile the binaries.  This way you don’t need to 
have the libraries installed on the host machine.  You can find the official 
docker image to build GPU applications here: 
https://github.com/gem5/gem5/tree/develop/util/dockerfiles/gpu-fs

If you are using the configs in configs/example/gpufs/ you can use --app option 
to pass in the binary to gem5 without needing to modify the disk image.  
Unfortunately, it is currently only possible to pass in one file, so if there 
are input files you will still need to modify the disk.


-Matt

From: Pau Galindo Figuerola via gem5-users <gem5-users@gem5.org>
Sent: Saturday, May 4, 2024 11:15 AM
To: The gem5 Users mailing list <gem5-users@gem5.org>
Cc: Pau Galindo Figuerola <pau.galindo.figuer...@estudiantat.upc.edu>
Subject: [gem5-users] Disk Image Management

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

Hi all,

I'm facing the following problem:

I'm trying to test my system with different GPU benchmarks. Those benchmark 
have to be compiled in the system which has the device (in this case the Gem5 
simulation). And I want to be able to make an execution for every one to 
extract statistics (the ones in m5out/stats.txt).

So idealy I would need the GPU benchmarks binaries already compiled before any 
execution so the compiling part does not "stain" the stats. But I don't know 
how to compile in gem5 and the extract the binaries out or compile in gem5 and 
save the state of the disk image which currently is not happening.

Any idea?

Thank you!

Best Regards,
Pau

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

Reply via email to