t. The type of this attribute is uint8_t[128].
HSA_AGENT_INFO_EXTENSIONS = 20
# Major version of the HSA runtime specification supported by the
# agent. The type of this attribute is uint16_t.
HSA_AGENT_INFO_VERSION_MAJOR = 21
# Minor version of the HSA runtime specification supported by the
# agent. The type of this attribute is uint16_t.
HSA_AGENT_INFO_VERSION_MINOR = 22

# hsa_region_segment_t
# Global segment. Used to hold data that is shared by all agents.
HSA_REGION_SEGMENT_GLOBAL = 0
# Read-only segment. Used to hold data that remains constant during the
# execution of a kernel.
HSA_REGION_SEGMENT_READONLY = 1
# Private segment. Used to hold data that is local to a single work-item.
HSA_REGION_SEGMENT_PRIVATE = 2
# Group segment. Used to hold data that is shared by the work-items of a
# work-group.
HSA_REGION_SEGMENT_GROUP = 3

# hsa_region_global_flag_t
# The application can use memory in the region to store kernel arguments, and
# provide the values for the kernarg segment of a kernel dispatch. If this
# flag is set, then ::HSA_REGION_GLOBAL_FLAG_FINE_GRAINED must be set.
HSA_REGION_GLOBAL_FLAG_KERNARG = 1
# Updates to memory in this region are immediately visible to all the
# agents under the terms of the HSA memory model. If this
# flag is set, then ::HSA_REGION_GLOBAL_FLAG_COARSE_GRAINED must not be set.
HSA_REGION_GLOBAL_FLAG_FINE_GRAINED = 2
# Updates to memory in this region can be performed by a single agent at
# a time. If a different agent in the system is allowe