Workgroup

Workgroup#

AMD Debugger API: Workgroup

Operations related to AMD GPU workgroups. More...

Data Structures

struct  amd_dbgapi_workgroup_id_t
 Opaque workgroup handle. More...
 

Macros

#define AMD_DBGAPI_WORKGROUP_NONE    AMD_DBGAPI_HANDLE_LITERAL (amd_dbgapi_workgroup_id_t, 0)
 The NULL workgroup handle. More...
 

Enumerations

enum  amd_dbgapi_workgroup_info_t {
  AMD_DBGAPI_WORKGROUP_INFO_DISPATCH = 1 , AMD_DBGAPI_WORKGROUP_INFO_QUEUE = 2 , AMD_DBGAPI_WORKGROUP_INFO_AGENT = 3 , AMD_DBGAPI_WORKGROUP_INFO_PROCESS = 4 ,
  AMD_DBGAPI_WORKGROUP_INFO_ARCHITECTURE = 5 , AMD_DBGAPI_WORKGROUP_INFO_WORKGROUP_COORD = 6
}
 Workgroup queries that are supported by amd_dbgapi_workgroup_get_info. More...
 

Functions

amd_dbgapi_status_t AMD_DBGAPI amd_dbgapi_workgroup_get_info (amd_dbgapi_workgroup_id_t workgroup_id, amd_dbgapi_workgroup_info_t query, size_t value_size, void *value) AMD_DBGAPI_VERSION_0_64
 Query information about a workgroup. More...
 
amd_dbgapi_status_t AMD_DBGAPI amd_dbgapi_process_workgroup_list (amd_dbgapi_process_id_t process_id, size_t *workgroup_count, amd_dbgapi_workgroup_id_t **workgroups, amd_dbgapi_changed_t *changed) AMD_DBGAPI_VERSION_0_64
 Return the list of existing workgroups. More...
 

Detailed Description

Operations related to AMD GPU workgroups.

Macro Definition Documentation

◆ AMD_DBGAPI_WORKGROUP_NONE

#define AMD_DBGAPI_WORKGROUP_NONE    AMD_DBGAPI_HANDLE_LITERAL (amd_dbgapi_workgroup_id_t, 0)

The NULL workgroup handle.

Enumeration Type Documentation

◆ amd_dbgapi_workgroup_info_t

Workgroup queries that are supported by amd_dbgapi_workgroup_get_info.

Each query specifies the type of data returned in the value argument to amd_dbgapi_workgroup_get_info.

Enumerator
AMD_DBGAPI_WORKGROUP_INFO_DISPATCH 

Return the dispatch to which this workgroup belongs.

The type of this attribute is amd_dbgapi_dispatch_id_t.

If the dispatch associated with a workgroup is not available then amd_dbgapi_workgroup_get_info returns the AMD_DBGAPI_STATUS_ERROR_NOT_AVAILABLE error. See the Known Limitations and Restrictions section.

AMD_DBGAPI_WORKGROUP_INFO_QUEUE 

Return the queue to which this workgroup belongs.

The type of this attribute is amd_dbgapi_queue_id_t.

AMD_DBGAPI_WORKGROUP_INFO_AGENT 

Return the agent to which this workgroup belongs.

The type of this attribute is amd_dbgapi_agent_id_t.

AMD_DBGAPI_WORKGROUP_INFO_PROCESS 

Return the process to which this workgroup belongs.

The type of this attribute is amd_dbgapi_process_id_t.

AMD_DBGAPI_WORKGROUP_INFO_ARCHITECTURE 

Return the architecture of this workgroup.

The type of this attribute is