Searched refs:PetscKokkosExecutionSpacePtr (Results 1 – 2 of 2) sorted by relevance
11 Kokkos::DefaultExecutionSpace *PetscKokkosExecutionSpacePtr = nullptr; variable16 PetscCallCXX(delete PetscKokkosExecutionSpacePtr); in PetscKokkosFinalize_Private()17 PetscKokkosExecutionSpacePtr = nullptr; in PetscKokkosFinalize_Private()76 …if (!PetscKokkosExecutionSpacePtr) { // No matter Kokkos is init'ed by PETSc or by user, we need t… in PetscKokkosInitializeCheck()85 …if (dtype == PETSC_DEVICE_CUDA) PetscCallCXX(PetscKokkosExecutionSpacePtr = new Kokkos::DefaultExe… in PetscKokkosInitializeCheck()87 …if (dtype == PETSC_DEVICE_HIP) PetscCallCXX(PetscKokkosExecutionSpacePtr = new Kokkos::DefaultExec… in PetscKokkosInitializeCheck()92 …PetscCallCXX(PetscKokkosExecutionSpacePtr = new Kokkos::DefaultExecutionSpace(*(sycl::queue *)hand… in PetscKokkosInitializeCheck()97 PetscCallCXX(PetscKokkosExecutionSpacePtr = new Kokkos::DefaultExecutionSpace()); in PetscKokkosInitializeCheck()
7 extern Kokkos::DefaultExecutionSpace *PetscKokkosExecutionSpacePtr;17 return *PetscKokkosExecutionSpacePtr; in PetscGetKokkosExecutionSpace()