On Thu, 4 Nov 2021, Mark Adams wrote:

> Does anyone know if PETSc calls nvcc and hence can add flags to the
> invocation? nvcc wants a flag like -mp=gpu but I don't know if we do that
> or a compiler wrapper in the environment.

$ ./configure --help |grep CUDA
<snip>
  --CUDAC=<prog>
       Specify the CUDA compiler
  --CUDAFLAGS=<string>
       Specify the CUDA compiler options
<snip>

Satish

Reply via email to