test: nightly versioned HIP symbol stubs [nightly] - #3
Draft
zjgarvey wants to merge 1 commit into
Draft
Conversation
zjgarvey
force-pushed
the
users/zjgarvey/nightly-versioned-symbols-test
branch
2 times, most recently
from
June 11, 2026 17:42
0893082 to
50dce67
Compare
GPU-free ABI-surface check: dlopen libamdhip64 under test and assert it exports the recent extended HIP entry points (hipDrvLaunchKernelEx@hip_6.5, hipGetFuncBySymbol, hipStreamBatchMemOp, hipMemGetHandleForAddressRange, hipMemcpyBatchAsync, and the external-memory trio). Presence only: the symbols are not called, since their argument contracts differ and on a real implementation invoking them generically would be undefined behavior. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: zjgarvey <zjgarvey@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
HRX bring-up regression test (tag
[nightly]) paired with ROCm/hrx-system#54.GPU-free: dlopen the HIP binding under test and assert all 8 nightly versioned symbols (
hipDrvLaunchKernelEx,hipGetFuncBySymbol, ... the external-memory trio) are exported AND returnhipErrorNotSupported. Discriminating — fails on a binding without the stubs, passes with the fix. Verified against the HRX binding on MI300X (17 assertions).Draft: encodes HRX-specific stub behavior that exists once #54 lands (against stock ROCm those symbols are real implementations). Mark ready once the paired fix is in.
🤖 Generated with Claude Code