Need Direction for multiGPU implementation

57 views
Skip to first unread message

Shweta Nayak

unread,
Apr 19, 2016, 6:00:20 AM4/19/16
to cusp-users
Hi,
I have implemented a library for CG solver using CuSP which I am using in OpenSEES(earthquake simulator) for solving PDE. Now I want to convert it in multi GPU  format can you please give me the direction

Steven Dalton

unread,
Apr 25, 2016, 12:28:49 PM4/25/16
to cusp-...@googlegroups.com
Hello Shweta,

  This is a good question and you can approach multigpu support from a few different directions depending on your preferences and experience. The first way is to run cusp independently within each GPU and manually perform the inter-gpu copies using your own library or API calls. The second and possibly more involved but IMO cleaner way is to build your own custom backend for multigpus based on execution policies. The develop branch of Cusp is built around using execution policies as a flexible dispatching mechanism [1].

  The first approach has more examples and documentation online so it should be easier to get started and implement the functionality you require. The second approach is newer and will require more understanding of how Thrust/Cusp use execution policies internally.

Steve


On Tue, Apr 19, 2016 at 3:00 AM, Shweta Nayak <nayaks...@gmail.com> wrote:
Hi,
I have implemented a library for CG solver using CuSP which I am using in OpenSEES(earthquake simulator) for solving PDE. Now I want to convert it in multi GPU  format can you please give me the direction

--
You received this message because you are subscribed to the Google Groups "cusp-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cusp-users+...@googlegroups.com.
To post to this group, send email to cusp-...@googlegroups.com.
Visit this group at https://groups.google.com/group/cusp-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages