preCICE
Loading...
Searching...
No Matches
precice::device::Device Class Reference

#include <Device.hpp>

Static Public Member Functions

static void initialize (int *argc, char ***argv)
static void initialize (int nThreads, int deviceId)
static void finalize ()

Static Private Attributes

static bool weInitialized = false
 Whether we have initialized Ginkgo or if it was initialized by an application calling us.

Detailed Description

Definition at line 5 of file Device.hpp.

Member Function Documentation

◆ finalize()

void precice::device::Device::finalize ( )
static

Definition at line 35 of file Device.cpp.

◆ initialize() [1/2]

void precice::device::Device::initialize ( int * argc,
char *** argv )
static

Definition at line 12 of file Device.cpp.

◆ initialize() [2/2]

void precice::device::Device::initialize ( int nThreads,
int deviceId )
static

Definition at line 20 of file Device.cpp.

Member Data Documentation

◆ weInitialized

bool precice::device::Device::weInitialized = false
staticprivate

Whether we have initialized Ginkgo or if it was initialized by an application calling us.

Definition at line 15 of file Device.hpp.


The documentation for this class was generated from the following files: