multiGPU example

General CULA Sparse support and troubleshooting. Use this forum if you are having a general problem or have encountered a bug.

multiGPU example

Postby phoebe » Fri Mar 02, 2012 2:16 am

I saw from README that there is a multiGPU example, but I didn't find it. Where can I find it or does CULA Sparse support multiGPU? Thx!
phoebe
 
Posts: 7
Joined: Thu Mar 01, 2012 9:19 pm

Re: multiGPU example

Postby john » Fri Mar 02, 2012 1:14 pm

Hi Phoebe,
The README is inadvertently describing the examples in CULA Dense. We will correct that.

That said, you can download the free version of CULA Dense to check out that example. While CULA Sparse will not use multiple GPUs to solve a single system, the library can be used to issue separate problems simultaneously to different GPUs. The example code will demonstrate how.
john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Re: multiGPU example

Postby suzannepk » Tue Mar 13, 2012 8:11 am

Is there a FORTRAN example for multiGPU anywhere? The one mentioned here is in C if I have found the correct example.

Suzanne
suzannepk
 
Posts: 9
Joined: Tue Feb 07, 2012 2:16 pm

Re: multiGPU example

Postby john » Tue Mar 13, 2012 8:31 am

There is not such an example, but CULA usage in a multithreaded environment is the same as single threaded usage. Just call culaInitialize() - then your routines - then culaShutdown() in each thread.
john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Re: multiGPU example

Postby suzannepk » Mon Mar 19, 2012 10:56 am

Thank you John! It is running.
suzannepk
 
Posts: 9
Joined: Tue Feb 07, 2012 2:16 pm

Re: multiGPU example

Postby phoebe » Wed Mar 21, 2012 2:04 am

Thanks! I'll try.
phoebe
 
Posts: 7
Joined: Thu Mar 01, 2012 9:19 pm

Re: multiGPU example

Postby phoebe » Wed Mar 21, 2012 9:08 pm

While CULA Sparse will not use multiple GPUs to solve a single system, the library can be used to issue separate problems simultaneously to different GPUs.

Just as you said that CULA Sparse does not use multiple GPUs to solve a single system. So do you have any plan to update CULA Sparse to make it use multiple GPUs to solve a single system in the future? Thanks!
phoebe
 
Posts: 7
Joined: Thu Mar 01, 2012 9:19 pm

Re: multiGPU example

Postby john » Fri Mar 23, 2012 9:07 am

It's likely, but I'll caution that it's not on the immediate horizon. We're still seeking motivating cases for this need - most of our customer problems to date are more effectively solved by a single GPU than by multiple. (ie the overhead of having the GPUs communicate among themselves outweighs the perf gains by using multiple)
john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm


Return to CULA Sparse Support

Who is online

Users browsing this forum: TurnitinBot [Bot] and 0 guests