Skip to content

HIP: Add support for HIP 7+#1969

Merged
zatkins-dev merged 5 commits into
mainfrom
zach/rocm-7-fixes
May 21, 2026
Merged

HIP: Add support for HIP 7+#1969
zatkins-dev merged 5 commits into
mainfrom
zach/rocm-7-fixes

Conversation

@zatkins-dev
Copy link
Copy Markdown
Collaborator

@zatkins-dev zatkins-dev commented May 21, 2026

Purpose:

Update libCEED to support ROCm 7+

Specific changes:

  • We need to link the -lhiprtc library explicitly now
  • We can no longer include `<stddef.h>, which led to
    • Change NULL to nullptr in JiT sources
    • Pull int32_t and int64_t from the __hip_internal namespace
  • Due to the above, I noticed an untested edge case for assembly that could cause seg faults

Closes: NA

LLM/GenAI Disclosure:

I used Gemini to generate the cut command in the makefile, pretty embarrassing in hindsight.

Comment thread interface/ceed-preconditioning.c
Comment thread backends/hip-gen/ceed-hip-gen-operator-build.cpp
@zatkins-dev zatkins-dev changed the title Zach/rocm 7 fixes HIP: Add support for HIP 7+ May 21, 2026
Comment thread backends/hip/ceed-hip-compile.cpp Outdated
Comment thread backends/hip/ceed-hip-compile.cpp
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
@zatkins-dev zatkins-dev merged commit 321138d into main May 21, 2026
31 checks passed
@zatkins-dev zatkins-dev deleted the zach/rocm-7-fixes branch May 21, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants