Skip to main content

FUFence

The FUFence class extends the Fence class to manage a fusion of multiple fences from different devices. It provides methods to set and retrieve a device mask, track the number of fusion fences, and access individual fences within the fusion. This functionality is particularly useful for high-performance computing scenarios where synchronization across multiple devices is required.

#include <platform/TellusimFence.h>

Inheritance

Constructors

FUFence()
explicit FUFence(Array<Fence> fences, bool owner = false)

Methods

Device mask.

void setMask(uint32_t mask)
uint32_t getMask() const

Fusion fences.

uint32_t getNumFences() const
const Fence getFence(uint32_t index) const
Fence getFence(uint32_t index)