[petsc-dev] PETSc programming model for multi-core systems

Matthew Knepley knepley at gmail.com
Thu Nov 11 18:15:53 CST 2010

On Fri, Nov 12, 2010 at 9:52 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>   What should we use a for programming model for PETSc on multi-core
> systems? Currently for conventional multicore we have only have one MPI
> process per core and for GPU we have subclasses of Vec and Mat with custom
> CUDA code.
>   Should we introduce subclasses of Vec and Mat built on pthreads (this is
> what Bill G recommends, and not to use OpenMP)?

pthreads are a nightmare and do not do vectorization right, which is
necessary here. I am for OpenCL/CUDA. Eventually
I think OpenCL will take its head out of its ass and be as nice as CUDA.


>   Is there a way to have some kind of consistent model between conventional
> multicore and GPU multi-core? If not the same code. What about this MCUDA
> stuff?
>   Barry
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101112/c29c7226/attachment.html>

More information about the petsc-dev mailing list