Guest User

Untitled

a guest
Oct 23rd, 2017
495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. > Hi Matt,
  2. >
  3. > As current petsc-gpu implementation have support only for CSR, If I want to
  4. > take advantage of other matrix formats, say ELL on GPU, how can I achieve
  5. > this? Adding implementation for new format similar to current CSR
  6. > implementation?
  7.  
  8. First hunt up what formats people have done in CUSP/THRUST or CUDA and see what source code is available. Then you can simply write a "wrapper" that takes a PETSc CPU matrix (for example in CSR) and converts it as it puts it onto the GPU to whatever that "better" format is.
  9.  
  10. >
  11. > Is someone currently working on development in this area or in area of
  12. > petsc-gpu?
  13.  
  14. We do not have anyone working on other matrix formats for GPUs. You can join the petsc-dev@mcs.anl.gov mailing list and tell us your experience. The key point is you only need to muck with a relatively small amount of code to have PETSc use a different GPU solver; but you will need to understand that code pretty well.
  15.  
  16. Barry
Add Comment
Please, Sign In to add comment