Hi Sebastian,

You can also check out gem5-gpu https://gem5-gpu.cs.wisc.edu/wiki/ as
another example of how to integrate a GPU model into gem5. Feel free to
send us questions on gem5-gpu-dev@googlegroups.

Cheers,
Jason

On Tue, Aug 9, 2016 at 2:31 AM Andreas Hansson <[email protected]>
wrote:

> Hi Sebastian,
>
> The integration of NoMali should serve as a good starting point. In the
> end your GPU-model wrapper will of course depend a lot on the GPU model in
> question, but the general idea should be the same as NoMali.
>
> Regarding drivers and DTB changes, have a look at the instructions for
> running Android with NoMali http://www.gem5.org/Android_KitKat#NoMali
>
> Andreas
>
> From: gem5-users <[email protected]> on behalf of Sebastian Cai
> <[email protected]>
> Reply-To: gem5 users mailing list <[email protected]>
> Date: Tuesday, 9 August 2016 at 01:01
> To: "[email protected]" <[email protected]>
> Subject: [gem5-users] Adding a new GPU model
>
> Hello,
>
>
> What would be the necessary steps to add my own GPU model into gem5 in
> terms of code in gem5. Assuming I have the necessary drivers, what kind of
> code do I need to write in gem5. Looking at the code for NoMali in the
> source code (in gem5/src/dev/arm gpu_nomali.cc, gpu_nomali.hh, NoMali.py),
> is it enough to follow the code in those files to create a new gpu model
> object in python and the code in C++.
>
> Where else would I need to edit in order to include the new gpu model in
> the build system and to add it to the fs.py config file and device tree.
>
>
> Thanks,
>
> Sebastian
> IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to