Skip to content

Conversation

@ampandey-AMD
Copy link

Summary:

  • Track runtime shutdown via AmdgpuMemFuncs::GetAmdgpuRuntimeShutdown() and gate further pointer_info calls.
  • Add interception of 'hsa_init' api call.
  • Add registration of hsa-runtime associated system events via 'hsa_amd_register_system_event_handler'.
    • HSA event registered is 'HSA_AMD_SYSTEM_SHUTDOWN_EVENT'

@z1-cciauto
Copy link
Collaborator

@z1-cciauto
Copy link
Collaborator

@ampandey-AMD ampandey-AMD force-pushed the fix-swdev-519413-mi300 branch from 84f2839 to 4e6a327 Compare November 24, 2025 06:51
@z1-cciauto
Copy link
Collaborator

@ampandey-AMD ampandey-AMD force-pushed the fix-swdev-519413-mi300 branch from 4e6a327 to 02dccdb Compare November 24, 2025 06:56
@z1-cciauto
Copy link
Collaborator

@ampandey-AMD ampandey-AMD force-pushed the fix-swdev-519413-mi300 branch 2 times, most recently from fc9cd0d to b78dbb5 Compare November 24, 2025 07:03
@z1-cciauto
Copy link
Collaborator

@z1-cciauto
Copy link
Collaborator

@z1-cciauto
Copy link
Collaborator

@z1-cciauto
Copy link
Collaborator

Summary:
  - Track runtime shutdown via AmdgpuMemFuncs::GetAmdgpuRuntimeShutdown() and gate further pointer_info calls.
  - Add interception of 'hsa_init' api call.
  - Add registration of hsa-runtime associated system events via 'hsa_amd_register_system_event_handler'.
    - HSA event registered is 'HSA_AMD_SYSTEM_SHUTDOWN_EVENT'
Summary:
  - Added wrapper IsAmdgpuRuntimeShutdown for checking state.
  - Added wrapper NotifyAmdgpuRuntimeShutdown for updating state.
@ampandey-AMD ampandey-AMD force-pushed the fix-swdev-519413-mi300 branch from d41eca8 to 78e3a56 Compare November 27, 2025 14:03
@z1-cciauto
Copy link
Collaborator

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