Skip to main content

FUDevice

The FUDevice class extends the Device class to manage a fusion of multiple devices from different platforms. It provides methods to set and retrieve a device mask, track the number of fusion devices, and access individual devices within the fusion. This functionality is particularly useful for high-performance computing scenarios that require managing and interacting with multiple devices in parallel workflows.

#include <platform/TellusimDevice.h>

Inheritance

Constructors

FUDevice()
explicit FUDevice(Array<Device> devices, bool owner = false)

Methods

Device mask.

void setMask(uint32_t mask)
uint32_t getMask() const

Fusion devices.

uint32_t getNumDevices() const
const Device getDevice(uint32_t index) const
Device getDevice(uint32_t index)