init.c (64aa12e4765741721dca51775440540817143da1) init.c (5e71baeff2f3138f93cd4f5927dfd596eb8325cc)
1/*
2
3 This file defines part of the initialization of PETSc
4
5 This file uses regular malloc and free because it cannot known
6 what malloc is being used until it has already processed the input.
7*/
8

--- 524 unchanged lines hidden (view full) ---

533 } else {
534 ierr = PetscLogDefaultBegin();CHKERRQ(ierr);
535 }
536 }
537#endif
538
539 ierr = PetscOptionsGetBool(NULL,NULL,"-saws_options",&PetscOptionsPublish,NULL);CHKERRQ(ierr);
540
1/*
2
3 This file defines part of the initialization of PETSc
4
5 This file uses regular malloc and free because it cannot known
6 what malloc is being used until it has already processed the input.
7*/
8

--- 524 unchanged lines hidden (view full) ---

533 } else {
534 ierr = PetscLogDefaultBegin();CHKERRQ(ierr);
535 }
536 }
537#endif
538
539 ierr = PetscOptionsGetBool(NULL,NULL,"-saws_options",&PetscOptionsPublish,NULL);CHKERRQ(ierr);
540
541
541#if defined(PETSC_HAVE_CUDA)
542 ierr = PetscOptionsHasName(NULL,NULL,"-cuda_show_devices",&flg1);CHKERRQ(ierr);
543 if (flg1) {
544 struct cudaDeviceProp prop;
545 int devCount;
546 PetscInt device;
547 cudaError_t err = cudaSuccess;
548

--- 162 unchanged lines hidden ---
542#if defined(PETSC_HAVE_CUDA)
543 ierr = PetscOptionsHasName(NULL,NULL,"-cuda_show_devices",&flg1);CHKERRQ(ierr);
544 if (flg1) {
545 struct cudaDeviceProp prop;
546 int devCount;
547 PetscInt device;
548 cudaError_t err = cudaSuccess;
549

--- 162 unchanged lines hidden ---