[petsc-dev] preallocation on GPU

Jed Brown jed at jedbrown.org
Sun Jun 1 05:23:44 CDT 2014


mary sweat <mary.sweat78 at yahoo.it> writes:

> Hi all
> are there any functions such as MatSeqAIJSetPreallocation to
> preallocate MatSeqAIJCusp and MatMPIAIJCusp matrices? 

Yeah, it's name is MatSeqAIJSetPreallocation, just like the CPU version.
Matrix assembly is an irregular process that currently happens on the
CPU and is copied to the GPU.  The insertion itself is generally not a
bottleneck.
-------------- 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-dev/attachments/20140601/65d10cf7/attachment.sig>


More information about the petsc-dev mailing list