[petsc-dev] PetscCUDAInitialize

Smith, Barry F. bsmith at mcs.anl.gov
Wed Sep 18 23:42:20 CDT 2019


  Fixed the docs. Thanks for pointing out the lack of clarity


> On Sep 18, 2019, at 11:25 PM, Zhang, Junchao via petsc-dev <petsc-dev at mcs.anl.gov> wrote:
> 
> Barry,
> 
> I saw you added these in init.c
> 
> 
> +  -cuda_initialize - do the initialization in PetscInitialize()
> 
> 
> 
> 
> 
> 
> 
> 
> Notes:
> 
>    Initializing cuBLAS takes about 1/2 second there it is done by default in PetscInitialize() before logging begins
> 
> 
> 
> But I did not get otherwise with -cuda_initialize 0, when will cuda be initialized?
> --Junchao Zhang



More information about the petsc-dev mailing list