Skip to main content

FUCommand

The FUCommand class extends the Command class to execute operations involving a fusion of multiple devices. It provides methods to set and retrieve a device mask, track the number of fusion commands, and access individual commands within the fusion. This functionality is particularly useful for high-performance computing scenarios that require managing and interacting with buffers from multiple devices in parallel workflows.

#include <platform/TellusimCommand.h>

Inheritance

Constructors

FUCommand()
explicit FUCommand(Array<Command> commands, bool owner = false)

Methods

Device mask.

void setMask(uint32_t mask)
uint32_t getMask() const

Fusion commands.

uint32_t getNumCommands() const
const Command getCommand(uint32_t index) const
Command getCommand(uint32_t index)