Hi,

one way to test is to run a sequential example through nv-prof:
 $> nvprof ./ex56 ...

https://devblogs.nvidia.com/cuda-pro-tip-nvprof-your-handy-universal-gpu-profiler/

If it uses the GPU, then you will get some information on the GPU kernels called. If it doesn't use the GPU, the list will be (almost) empty.

Best regards,
Karli



On 8/15/19 5:47 PM, Mark Adams via petsc-dev 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

Reply via email to