Skip to content

Feat/nixlbench with rocm#1

Open
riley-dixon wants to merge 2 commits into
mainfrom
feat/nixlbench-with-rocm
Open

Feat/nixlbench with rocm#1
riley-dixon wants to merge 2 commits into
mainfrom
feat/nixlbench-with-rocm

Conversation

@riley-dixon

Copy link
Copy Markdown
Owner

What?

Describe what this PR is doing.

Why?

Justification for the PR. If there is an existing issue/bug, please reference it. For
bug fixes, the 'Why?' and 'What?' can be merged into a single item.

How?

It is optional, but for complex PRs, please provide information about the design,
architecture, approach, etc.

@riley-dixon
riley-dixon force-pushed the feat/nixlbench-with-rocm branch 2 times, most recently from a1e8638 to c8eb217 Compare July 8, 2026 23:46
riley-dixon and others added 2 commits July 10, 2026 10:07
The base Dockerfile creates a minimal install of ROCm, along with a few other
pre-requisites before the build image takes over. This may be replaced once
a sufficiently new official ROCm docker image is available.

Dockerfile.rocm is based on the existing build.sh script used by NIXL
for building the NIXL environment. Instead of running in a script, the
source dependency build & install steps are extracted into a multi-stage
Docker build process to streamline the overall build.

A build-rocm.sh is a copy of build.sh that is slightly modified to build
NIXL with ROCm support that may be used by existing tools.

Signed-off-by: Riley Dixon <riley.dixon@amd.com>
ROCm's host_defines.h defines an empty __noinline__ macro on GCC,
which breaks toml++'s TOML_HAS_ATTR(__noinline__) check when
hip/hip_runtime.h is included before toml++/toml.hpp. utils.h already
includes toml++ first and then conditionally includes the GPU headers,
so the early redundant includes in utils.cpp and nixl_worker.cpp are
both the source of the breakage and unnecessary.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Stephen Bates <sbates@raithlin.com>
@riley-dixon
riley-dixon force-pushed the feat/nixlbench-with-rocm branch from c8eb217 to 44bba3c Compare July 10, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants