1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
<center><a href="https://gitlab.com/petsc/petsc/-/blob/966382dc56242773704ef5f5cee7aa2db3ebc577/include/petsc_kokkos.hpp">Actual source code: petsc_kokkos.hpp</a></center><br>
<html>
<head>
<title></title>
<meta name="generator" content="c2html 0.9.6">
<meta name="date" content="2025-04-30T18:14:50+00:00">
</head>
<body bgcolor="#FFFFFF">
<pre width=80>
<a name="line1"> 1: </a><font color="#A020F0">#pragma once</font>
<a name="line3"> 3: </a><font color="#A020F0">#include <Kokkos_Core.hpp></font>
<a name="line5"> 5: </a><font color="#B22222">/* SUBMANSEC = Sys */</font>
<a name="line7"> 7: </a>extern Kokkos::DefaultExecutionSpace *PetscKokkosExecutionSpacePtr;
<a name="line9"> 9: </a><font color="#B22222">/*MC</font>
<a name="line10"> 10: </a><font color="#B22222"> <a href="../manualpages/Sys/PetscGetKokkosExecutionSpace.html">PetscGetKokkosExecutionSpace</a> - Return the Kokkos execution space that PETSc is using</font>
<a name="line12"> 12: </a><font color="#B22222"> Level: beginner</font>
<a name="line14"> 14: </a><font color="#B22222">M*/</font>
<a name="line15"> 15: </a>inline Kokkos::DefaultExecutionSpace <a href="../manualpages/Sys/PetscGetKokkosExecutionSpace.html">PetscGetKokkosExecutionSpace</a>(void)
<a name="line16"> 16: </a>{
<a name="line17"> 17: </a> <font color="#4169E1">return</font> *PetscKokkosExecutionSpacePtr;
<a name="line18"> 18: </a>}
</pre>
</body>
</html>
|