Skip to content
Draft
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "ext/shader_sdma"]
path = ext/shader_sdma
url = https://github.com/AARInternal/shader_sdma.git
[submodule "ext/rocm-xio"]
path = ext/rocm-xio
url = https://github.com/ROCm/rocm-xio.git
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
the consumer (GPU 1) remains a device kernel.

Key difference from message_passing_put.py:
- Producer: Host uses anvil to initiate SDMA transfers from Python
- Producer: Host uses sdma_ep (rocm-xio) to initiate SDMA transfers from Python
- Consumer: Same device kernel waiting for data

This shows how to orchestrate GPU-to-GPU transfers from Python without
Expand Down
13 changes: 13 additions & 0 deletions iris/device/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# SPDX-License-Identifier: MIT
# Copyright (c) 2025-2026 Advanced Micro Devices, Inc. All rights reserved.

"""
Device-side utilities for Iris.

This module provides low-level device-side functions for use in Triton kernels,
including SDMA queue management and packet construction utilities.
"""

from . import sdma_utils

__all__ = ["sdma_utils"]
Loading
Loading