File: petsc_kokkos.hpp.html

package info (click to toggle)
petsc 3.23.1%2Bdfsg1-1exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 515,576 kB
  • sloc: ansic: 751,607; cpp: 51,542; python: 38,598; f90: 17,352; javascript: 3,493; makefile: 3,157; sh: 1,502; xml: 619; objc: 445; java: 13; csh: 1
file content (34 lines) | stat: -rw-r--r-- 1,428 bytes parent folder | download
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 &lt;Kokkos_Core.hpp&gt;</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>