Re: [petsc-dev] Mat assembly on GPUs ...

2020-03-29 Thread Mark Adams
On Sun, Mar 29, 2020 at 7:51 PM Jed Brown wrote: > Mark Adams writes: > > > On Sun, Mar 29, 2020 at 6:20 PM Jed Brown wrote: > > > >> We are interested in assembling point-block diagonals for use in > >> pbjacobi smoothing. This is much simpler than AIJ, > > > > > > Would the coloring/DD algo

Re: [petsc-dev] Mat assembly on GPUs ...

2020-03-29 Thread Jed Brown
Mark Adams writes: > On Sun, Mar 29, 2020 at 6:20 PM Jed Brown wrote: > >> We are interested in assembling point-block diagonals for use in >> pbjacobi smoothing. This is much simpler than AIJ, > > > Would the coloring/DD algo on the outside be the same, just with a > different assembly kernel?

Re: [petsc-dev] Mat assembly on GPUs ...

2020-03-29 Thread Mark Adams
On Sun, Mar 29, 2020 at 6:20 PM Jed Brown wrote: > We are interested in assembling point-block diagonals for use in > pbjacobi smoothing. This is much simpler than AIJ, Would the coloring/DD algo on the outside be the same, just with a different assembly kernel? Or are you looking a fusing th

Re: [petsc-dev] Mat assembly on GPUs ...

2020-03-29 Thread Jed Brown
We are interested in assembling point-block diagonals for use in pbjacobi smoothing. This is much simpler than AIJ, but lots of people will need AIJ so it's certainly worthwhile. Mark Adams writes: > Is there any plans/interest in assembling AIJ matrices on GPUs? > > I have a somewhat strangely

[petsc-dev] Mat assembly on GPUs ...

2020-03-29 Thread Mark Adams
Is there any plans/interest in assembling AIJ matrices on GPUs? I have a somewhat strangely balanced FE operator and I have each thread block create one element matrix, one thread per integration point with an expensive computation at each integration point. Then I assemble the matrices on the CPU