Skip to content

Regenerate HIP host-memory registration bindings#372

Closed
amontoison wants to merge 1 commit into
ROCm:developfrom
amontoison:regen/hip-hostregister
Closed

Regenerate HIP host-memory registration bindings#372
amontoison wants to merge 1 commit into
ROCm:developfrom
amontoison:regen/hip-hostregister

Conversation

@amontoison

Copy link
Copy Markdown
Collaborator

Part of the HIP runtime regeneration, split out of #326 for reviewability. Builds independently on develop (verified: full hipfort-amdgcn build) — the generic interface names are unchanged, so it composes with the current hand-written runtime files until the other parts land.

hipfort_hiphostregister.F90: hipHostRegister/Unregister/GetFlags/GetDevicePointer, typed overloads per element type × rank. Standalone module.

@amontoison
amontoison requested a review from cgmb as a code owner July 24, 2026 22:01
@amontoison
amontoison force-pushed the regen/hip-hostregister branch 2 times, most recently from 6830bd5 to 7c09795 Compare July 24, 2026 22:28
@amontoison
amontoison force-pushed the regen/hip-hostregister branch from 7c09795 to 3459998 Compare July 24, 2026 22:51
@amontoison

Copy link
Copy Markdown
Collaborator Author

Closing: per review we keep hipfort's hand-written hipfort_hiphostregister.F90 verbatim rather than regenerating it. The generator now excludes the host-register family from hipfort.F90, so the hand-written module is used unchanged.

@amontoison amontoison closed this Jul 25, 2026
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