(Resending since message to mailing list bounced)

Hi Atiye,


When you have questions about gem5, please email the mailing list, instead
of emailing anyone (e.g., me) directly.  I am not always available to
reply, nor do I know everything about gem5 – emailing the mailing list
makes it more likely you’ll get a response faster.  Additionally, if you
are getting an error, it is very helpful if you include that error message
– from looking at your command, I don’t know what the problem is.



Having said all that, to the best of my knowledge no one has tried running
Chai in the gem5 GPU models.  So, I can’t directly provide you with what
you are asking.  However, if you get Chai working, we would greatly
appreciate you contributing them to gem5-resources with a pull request!
See here for the list of CPU and GPU benchmarks that are currently
supported: resources.gem5.org/.



Moreover, although I don’t know exactly what your error is, from looking at
your command line, it appears you are trying to run the OpenCL version of
Chai?  If so, I don’t believe OpenCL has been supported in gem5 for at
least 5 years (Alex/Brad, CC’d, may know better).  Specifically, I believe
the problem is that OpenCL’s online GPU kernel compilation is not supported
in gem5 currently.  So, what I’d recommend is that you hipify the CUDA
version of Chai, and try to run those instead.  HIPIFY’ing those versions
should be very easy (< 10 minutes per benchmark after you’ve done it once –
it is done using $ROCM_HOME/bin/hipify-perl as long as your program doesn’t
have any library calls like cuDNN or cuBLAS), and will create a HIP version
of the benchmarks – HIP is the GPU programming language that is currently
supported in gem5.  I can’t promise that things will work even after doing
this, but it’s much more likely you’ll have a version that will be closer
to running in gem5 if you go this route.

Good luck,
Matt

On Thu, Dec 30, 2021 at 9:56 PM Matt Sinclair <sincl...@cs.wisc.edu> wrote:

>
>
>
>
> *From:* atiye.ghe...@gmail.com <atiye.ghe...@gmail.com>
> *Sent:* Thursday, December 30, 2021 3:53 PM
> *To:* Matt Sinclair <sincl...@cs.wisc.edu>
> *Subject:* Gem5GCN3
>
>
>
> Hello
>
> I hope you are well
>
> I am a master student in Sharif University.
>
> I work with Prof. Sarbazi-Azad and Prof. Hessabi.
>
> I work on heterogeneous systems so I shoud run benchmarks in some
> simulators like gem5gcn3.
>
> Would you please tell me the command that I shoul put in terminal for
> running chai benchmark, I ran this command but there is problem with it and
> I dont know what the problem is.
>
> sudo docker run -v /home/atiyeh/Desktop/chai:/benchmark -v
> /home/atiyeh/Desktop/gem5:/gem5 -it gem5gcn3 /bin/bash
> /gem5/build/GCN3_X86/gem5.opt /gem5/configs/example/apu_se.py
> --benchmark-root=/benchmark -c OpenCL-U/CEDT/cedt
>
>
>
>
>
> Thanks
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to