[petsc-dev] hypre and CUDA

Smith, Barry F. bsmith at mcs.anl.gov
Thu Aug 15 13:34:19 CDT 2019


  Mark,

   I don't know how one uses it; we don't yet have an option in hypre.py to turn it on. 

   You should just use regular PETSc matrices and vectors, not CUDA ones. Hypre manages all that stuff internally for itsetl.

   I don't know how one knows if hypre is using the GPU or not, there are some Nvidia profiling tools for tracking GPU usage, perhaps you can use those to see if it says the GPU is being used.

   Barry


> On Aug 15, 2019, at 10:47 AM, Mark Adams via petsc-dev <petsc-dev at mcs.anl.gov> wrote:
> 
> I have configured with Hypre on SUMMIT, with cuda, and it ran. I'm now trying to verify that it used GPUs (I doubt it). Any ideas on how to verify this? Should I use the cuda vecs and mats, or does Hypre not care. Can I tell hypre not to use GPUs other than configuring an non-cude PETSc? I'm not sure how to run a job without GPUs, but I will look into it.
> 
> Mark



More information about the petsc-dev mailing list