<div dir="ltr"><div><div><div>Hi Jed,<br><br></div>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.<br>

<br>>Sure, but how will we actually share the device between libraries?  What<br>
>if the other library was not <span class="">PETSc</span>, but something else, and they also<br>
>called cudaSetDevice, but with a different default mapping strategy?<br>
<br>
>We need an interface that handles this case.<br><br></div>Do we already have any solution for this? If not, can we start looking at this case?<br><br></div>Thanks,<br>Harshad<br></div>