Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ def kernel(buffer, buffer_size: tl.constexpr, block_size: tl.constexpr, heap_bas

# Iris initialization
heap_size = 2**30 # 1GiB symmetric heap for inter-GPU communication
buffer_size = 4096 # 4KB buffer for demonstration
iris_ctx = iris.iris(heap_size)
cur_rank = iris_ctx.get_rank()

# Iris tensor allocation
buffer_size = 4096 # 4K elements buffer
buffer = iris_ctx.zeros(buffer_size, device="cuda", dtype=torch.float32)

# Launch the kernel on rank 0
Expand Down
Loading