FUCompute
The FUCompute class extends the Compute 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 computes, and access individual computes 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/TellusimCompute.h>
Inheritance
- Inherits from Compute
Constructors
FUCompute()
explicit FUCompute(Array<Compute> computes, bool owner = false)
Methods
Device mask.
void setMask(uint32_t mask)
uint32_t getMask() const
Fusion computes.
uint32_t getNumComputes() const
const Compute getCompute(uint32_t index) const
Compute getCompute(uint32_t index)