Skip to content

test: nightly versioned HIP symbol stubs [nightly] - #3

Draft
zjgarvey wants to merge 1 commit into
mainfrom
users/zjgarvey/nightly-versioned-symbols-test
Draft

test: nightly versioned HIP symbol stubs [nightly]#3
zjgarvey wants to merge 1 commit into
mainfrom
users/zjgarvey/nightly-versioned-symbols-test

Conversation

@zjgarvey

@zjgarvey zjgarvey commented Jun 9, 2026

Copy link
Copy Markdown

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 return hipErrorNotSupported. 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

@zjgarvey
zjgarvey force-pushed the users/zjgarvey/nightly-versioned-symbols-test branch 2 times, most recently from 0893082 to 50dce67 Compare June 11, 2026 17:42
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>
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.

1 participant