17 namespace accelerator {
21 std::unique_ptr<mfem::Device> device;
26 SLIC_ERROR_ROOT_IF(device,
"serac::accelerator::initializeDevice cannot be called more than once");
27 device = std::make_unique<mfem::Device>();
29 device->Configure(
"cuda");
This file contains the interface used for initializing/terminating any hardware accelerator-related f...
This file contains the all the necessary functions and macros required for logging as well as a helpe...
void initializeDevice()
Initializes the device (GPU)
void terminateDevice()
Cleans up the device, if applicable.
Accelerator functionality.