preCICE
Loading...
Searching...
No Matches
src
mapping
device
Device.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
precice::device
{
4
5
class
Device
{
6
public
:
7
static
void
initialize
(
int
*argc,
char
***argv);
8
9
static
void
initialize
(
int
nThreads,
int
deviceId);
10
11
static
void
finalize
();
12
13
private
:
15
static
bool
weInitialized
;
16
};
17
18
}
// namespace precice::device
precice::device::Device
Definition
Device.hpp:5
precice::device::Device::finalize
static void finalize()
Definition
Device.cpp:35
precice::device::Device::weInitialized
static bool weInitialized
Whether we have initialized Ginkgo or if it was initialized by an application calling us.
Definition
Device.hpp:15
precice::device::Device::initialize
static void initialize(int *argc, char ***argv)
Definition
Device.cpp:12
precice::device
Definition
Device.cpp:8