Skip to main content

Mojo module

cluster

GPU cluster operations (deprecated - use gpu.primitives.cluster or gpu).

This module is deprecated. For new code, import cluster operations from the gpu package or gpu.primitives.cluster module:

# Deprecated:
from gpu.cluster import cluster_sync, cluster_arrive

# Recommended (import from top-level gpu package):
from gpu import cluster_sync, cluster_arrive

# Or import the module:
from gpu.primitives import cluster

This module provides cluster-level synchronization operations for NVIDIA SM90+ GPUs (Hopper architecture and newer).

Was this page helpful?