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