add hsaKmtGetRuntimeCapabilities API

Queries for runtime capabilities after its being enabled

Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Change-Id: I098c0e9862c0c1d5e304b111cdc281c0ccd09691


[ROCm/ROCR-Runtime commit: 5e0a32d7b3]
This commit is contained in:
Alex Sierra committed 2023-06-26 18:58:15 +00:00
1 parent ab3b0098ba
commit b5ba77994a
4 files changed
+16 -1

No files matched your search

+6
View File
@@ -728,6 +728,12 @@ HSAKMT_STATUS
HSAKMTAPI
hsaKmtRuntimeDisable(void);
HSAKMT_STATUS
HSAKMTAPI
hsaKmtGetRuntimeCapabilities(
HSAuint32 *caps_mask // OUT
);
/**
Gets GPU and CPU clock counters for particular Node
*/
@@ -893,6 +893,7 @@ typedef enum HSA_DBG_NODE_CONTROL {
HSA_DBG_NODE_CONTROL_FLAG_MAX = 0x01
} HSA_DBG_NODE_CONTROL;
#define HSA_RUNTIME_ENABLE_CAPS_SUPPORTS_CORE_DUMP_MASK 0x80000000
//This structure is hardware specific and may change in the future
typedef struct _HsaDbgWaveMsgAMDGen2