[petsc-users] cudaSetDevice

Jed Brown jed at jedbrown.org
Mon Jan 20 07:38:11 CST 2014


Harshad Sahasrabudhe <hsahasra at purdue.edu> writes:

> Hi Jed,
>
> Sometime back we talked about an interface which could handle other
> libraries calling cudaSetDevice simultaneously with PETSc. For
> example, in our case 2 different instances of PETSc calling
> cudaSetDevice.
>
>>Sure, but how will we actually share the device between libraries?  What
>>if the other library was not PETSc, but something else, and they also
>>called cudaSetDevice, but with a different default mapping strategy?
>
>>We need an interface that handles this case.
>
> Do we already have any solution for this? If not, can we start looking at this case?

Yes, I'm hoping Karl and/or Dominic will weigh in.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140120/089bb373/attachment.pgp>


More information about the petsc-users mailing list