[petsc-dev] Current status: GPUs for PETSc

Lawrence Mitchell lawrence.mitchell at ed.ac.uk
Mon Nov 5 08:23:42 CST 2012


On 05/11/2012 14:18, Matthew Knepley wrote:
>     MatSetColumnIndices(m, ...);
> 
> This step is unnecessary.

How else is the matrix going to know what the column of the data is?  I'm
envisaging not calling MatSetValues on the device, so afaict, there's no
other way of PETSc knowing.

Lawrence

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.




More information about the petsc-dev mailing list