add hsaKmtGetRuntimeCapabilities API
Queries for runtime capabilities after its being enabled Signed-off-by: Alex Sierra <alex.sierra@amd.com> Change-Id: I098c0e9862c0c1d5e304b111cdc281c0ccd09691
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user