[petsc-users] MatCreateSeqAIJWithArrays for GPU / cusparse

Jed Brown jed at jedbrown.org
Thu Jan 5 17:29:50 CST 2023


Junchao Zhang <junchao.zhang at gmail.com> writes:

>> I don't think it's remotely crazy. libCEED supports both together and it's
>> very convenient when testing on a development machine that has one of each
>> brand GPU and simplifies binary distribution for us and every package that
>> uses us. Every day I wish PETSc could build with both simultaneously, but
>> everyone tells me it's silly.
>>
>
> So an executable supports both GPUs,  but a running instance supports one
> or both at the same time?

I personally only have reason to instantiate one at a time within a given executable, though libCEED supports both instantiated at the same time.


More information about the petsc-users mailing list