# mypy: disable-error-code="empty-body"
from __future__ import annotations
import ctypes
from typing import Literal, TypeAlias
from tinygrad.runtime.support.c import _IO, _IOW, _IOR, _IOWR
from tinygrad.runtime.support import c
uint8_t: TypeAlias = ctypes.c_ubyte
_anonenum0: dict[int, str] = {(FLOAT_ROUND_MODE_NEAR_EVEN:=0): 'FLOAT_ROUND_MODE_NEAR_EVEN', (FLOAT_ROUND_MODE_PLUS_INFINITY:=1): 'FLOAT_ROUND_MODE_PLUS_INFINITY', (FLOAT_ROUND_MODE_MINUS_INFINITY:=2): 'FLOAT_ROUND_MODE_MINUS_INFINITY', (FLOAT_ROUND_MODE_ZERO:=3): 'FLOAT_ROUND_MODE_ZERO'}
_anonenum1: dict[int, str] = {(FLOAT_DENORM_MODE_FLUSH_SRC_DST:=0): 'FLOAT_DENORM_MODE_FLUSH_SRC_DST', (FLOAT_DENORM_MODE_FLUSH_DST:=1): 'FLOAT_DENORM_MODE_FLUSH_DST', (FLOAT_DENORM_MODE_FLUSH_SRC:=2): 'FLOAT_DENORM_MODE_FLUSH_SRC', (FLOAT_DENORM_MODE_FLUSH_NONE:=3): 'FLOAT_DENORM_MODE_FLUSH_NONE'}
_anonenum2: dict[int, str] = {(SYSTEM_VGPR_WORKITEM_ID_X:=0): 'SYSTEM_VGPR_WORKITEM_ID_X', (SYSTEM_VGPR_WORKITEM_ID_X_Y:=1): 'SYSTEM_VGPR_WORKITEM_ID_X_Y', (SYSTEM_VGPR_WORKITEM_ID_X_Y_Z:=2): 'SYSTEM_VGPR_WORKITEM_ID_X_Y_Z', (SYSTEM_VGPR_WORKITEM_ID_UNDEFINED:=3): 'SYSTEM_VGPR_WORKITEM_ID_UNDEFINED'}
int32_t: TypeAlias = ctypes.c_int32
_anonenum3: dict[int, str] = {(COMPUTE_PGM_RSRC1_GRANULATED_WORKITEM_VGPR_COUNT_SHIFT:=0): 'COMPUTE_PGM_RSRC1_GRANULATED_WORKITEM_VGPR_COUNT_SHIFT', (COMPUTE_PGM_RSRC1_GRANULATED_WORKITEM_VGPR_COUNT_WIDTH:=6): 'COMPUTE_PGM_RSRC1_GRANULATED_WORKITEM_VGPR_COUNT_WIDTH', (COMPUTE_PGM_RSRC1_GRANULATED_WORKITEM_VGPR_COUNT:=63): 'COMPUTE_PGM_RSRC1_GRANULATED_WORKITEM_VGPR_COUNT', (COMPUTE_PGM_RSRC1_GRANULATED_WAVEFRONT_SGPR_COUNT_SHIFT:=6): 'COMPUTE_PGM_RSRC1_GRANULATED_WAVEFRONT_SGPR_COUNT_SHIFT', (COMPUTE_PGM_RSRC1_GRANULATED_WAVEFRONT_SGPR_COUNT_WIDTH:=4): 'COMPUTE_PGM_RSRC1_GRANULATED_WAVEFRONT_SGPR_COUNT_WIDTH', (COMPUTE_PGM_RSRC1_GRANULATED_WAVEFRONT_SGPR_COUNT:=960): 'COMPUTE_PGM_RSRC1_GRANULATED_WAVEFRONT_SGPR_COUNT', (COMPUTE_PGM_RSRC1_PRIORITY_SHIFT:=10): 'COMPUTE_PGM_RSRC1_PRIORITY_SHIFT', (COMPUTE_PGM_RSRC1_PRIORITY_WIDTH:=2): 'COMPUTE_PGM_RSRC1_PRIORITY_WIDTH', (COMPUTE_PGM_RSRC1_PRIORITY:=3072): 'COMPUTE_PGM_RSRC1_PRIORITY', (COMPUTE_PGM_RSRC1_FLOAT_ROUND_MODE_32_SHIFT:=12): 'COMPUTE_PGM_RSRC1_FLOAT_ROUND_MODE_32_SHIFT', (COMPUTE_PGM_RSRC1_FLOAT_ROUND_MODE_32_WIDTH:=2): 'COMPUTE_PGM_RSRC1_FLOAT_ROUND_MODE_32_WIDTH', (COMPUTE_PGM_RSRC1_FLOAT_ROUND_MODE_32:=12288): 'COMPUTE_PGM_RSRC1_FLOAT_ROUND_MODE_32', (COMPUTE_PGM_RSRC1_FLOAT_ROUND_MODE_16_64_SHIFT:=14): 'COMPUTE_PGM_RSRC1_FLOAT_ROUND_MODE_16_64_SHIFT', (COMPUTE_PGM_RSRC1_FLOAT_ROUND_MODE_16_64_WIDTH:=2): 'COMPUTE_PGM_RSRC1_FLOAT_ROUND_MODE_16_64_WIDTH', (COMPUTE_PGM_RSRC1_FLOAT_ROUND_MODE_16_64:=49152): 'COMPUTE_PGM_RSRC1_FLOAT_ROUND_MODE_16_64', (COMPUTE_PGM_RSRC1_FLOAT_DENORM_MODE_32_SHIFT:=16): 'COMPUTE_PGM_RSRC1_FLOAT_DENORM_MODE_32_SHIFT', (COMPUTE_PGM_RSRC1_FLOAT_DENORM_MODE_32_WIDTH:=2): 'COMPUTE_PGM_RSRC1_FLOAT_DENORM_MODE_32_WIDTH', (COMPUTE_PGM_RSRC1_FLOAT_DENORM_MODE_32:=196608): 'COMPUTE_PGM_RSRC1_FLOAT_DENORM_MODE_32', (COMPUTE_PGM_RSRC1_FLOAT_DENORM_MODE_16_64_SHIFT:=18): 'COMPUTE_PGM_RSRC1_FLOAT_DENORM_MODE_16_64_SHIFT', (COMPUTE_PGM_RSRC1_FLOAT_DENORM_MODE_16_64_WIDTH:=2): 'COMPUTE_PGM_RSRC1_FLOAT_DENORM_MODE_16_64_WIDTH', (COMPUTE_PGM_RSRC1_FLOAT_DENORM_MODE_16_64:=786432): 'COMPUTE_PGM_RSRC1_FLOAT_DENORM_MODE_16_64', (COMPUTE_PGM_RSRC1_PRIV_SHIFT:=20): 'COMPUTE_PGM_RSRC1_PRIV_SHIFT', (COMPUTE_PGM_RSRC1_PRIV_WIDTH:=1): 'COMPUTE_PGM_RSRC1_PRIV_WIDTH', (COMPUTE_PGM_RSRC1_PRIV:=1048576): 'COMPUTE_PGM_RSRC1_PRIV', (COMPUTE_PGM_RSRC1_GFX6_GFX11_ENABLE_DX10_CLAMP_SHIFT:=21): 'COMPUTE_PGM_RSRC1_GFX6_GFX11_ENABLE_DX10_CLAMP_SHIFT', (COMPUTE_PGM_RSRC1_GFX6_GFX11_ENABLE_DX10_CLAMP_WIDTH:=1): 'COMPUTE_PGM_RSRC1_GFX6_GFX11_ENABLE_DX10_CLAMP_WIDTH', (COMPUTE_PGM_RSRC1_GFX6_GFX11_ENABLE_DX10_CLAMP:=2097152): 'COMPUTE_PGM_RSRC1_GFX6_GFX11_ENABLE_DX10_CLAMP', (COMPUTE_PGM_RSRC1_GFX12_PLUS_ENABLE_WG_RR_EN_SHIFT:=21): 'COMPUTE_PGM_RSRC1_GFX12_PLUS_ENABLE_WG_RR_EN_SHIFT', (COMPUTE_PGM_RSRC1_GFX12_PLUS_ENABLE_WG_RR_EN_WIDTH:=1): 'COMPUTE_PGM_RSRC1_GFX12_PLUS_ENABLE_WG_RR_EN_WIDTH', (COMPUTE_PGM_RSRC1_GFX12_PLUS_ENABLE_WG_RR_EN:=2097152): 'COMPUTE_PGM_RSRC1_GFX12_PLUS_ENABLE_WG_RR_EN', (COMPUTE_PGM_RSRC1_DEBUG_MODE_SHIFT:=22): 'COMPUTE_PGM_RSRC1_DEBUG_MODE_SHIFT', (COMPUTE_PGM_RSRC1_DEBUG_MODE_WIDTH:=1): 'COMPUTE_PGM_RSRC1_DEBUG_MODE_WIDTH', (COMPUTE_PGM_RSRC1_DEBUG_MODE:=4194304): 'COMPUTE_PGM_RSRC1_DEBUG_MODE', (COMPUTE_PGM_RSRC1_GFX6_GFX11_ENABLE_IEEE_MODE_SHIFT:=23): 'COMPUTE_PGM_RSRC1_GFX6_GFX11_ENABLE_IEEE_MODE_SHIFT', (COMPUTE_PGM_RSRC1_GFX6_GFX11_ENABLE_IEEE_MODE_WIDTH:=1): 'COMPUTE_PGM_RSRC1_GFX6_GFX11_ENABLE_IEEE_MODE_WIDTH', (COMPUTE_PGM_RSRC1_GFX6_GFX11_ENABLE_IEEE_MODE:=8388608): 'COMPUTE_PGM_RSRC1_GFX6_GFX11_ENABLE_IEEE_MODE', (COMPUTE_PGM_RSRC1_GFX12_PLUS_DISABLE_PERF_SHIFT:=23): 'COMPUTE_PGM_RSRC1_GFX12_PLUS_DISABLE_PERF_SHIFT', (COMPUTE_PGM_RSRC1_GFX12_PLUS_DISABLE_PERF_WIDTH:=1): 'COMPUTE_PGM_RSRC1_GFX12_PLUS_DISABLE_PERF_WIDTH', (COMPUTE_PGM_RSRC1_GFX12_PLUS_DISABLE_PERF:=8388608): 'COMPUTE_PGM_RSRC1_GFX12_PLUS_DISABLE_PERF', (COMPUTE_PGM_RSRC1_BULKY_SHIFT:=24): 'COMPUTE_PGM_RSRC1_BULKY_SHIFT', (COMPUTE_PGM_RSRC1_BULKY_WIDTH:=1): 'COMPUTE_PGM_RSRC1_BULKY_WIDTH', (COMPUTE_PGM_RSRC1_BULKY:=16777216): 'COMPUTE_PGM_RSRC1_BULKY', (COMPUTE_PGM_RSRC1_CDBG_USER_SHIFT:=25): 'COMPUTE_PGM_RSRC1_CDBG_USER_SHIFT', (COMPUTE_PGM_RSRC1_CDBG_USER_WIDTH:=1): 'COMPUTE_PGM_RSRC1_CDBG_USER_WIDTH', (COMPUTE_PGM_RSRC1_CDBG_USER:=33554432): 'COMPUTE_PGM_RSRC1_CDBG_USER', (COMPUTE_PGM_RSRC1_GFX6_GFX8_RESERVED0_SHIFT:=26): 'COMPUTE_PGM_RSRC1_GFX6_GFX8_RESERVED0_SHIFT', (COMPUTE_PGM_RSRC1_GFX6_GFX8_RESERVED0_WIDTH:=1): 'COMPUTE_PGM_RSRC1_GFX6_GFX8_RESERVED0_WIDTH', (COMPUTE_PGM_RSRC1_GFX6_GFX8_RESERVED0:=67108864): 'COMPUTE_PGM_RSRC1_GFX6_GFX8_RESERVED0', (COMPUTE_PGM_RSRC1_GFX9_PLUS_FP16_OVFL_SHIFT:=26): 'COMPUTE_PGM_RSRC1_GFX9_PLUS_FP16_OVFL_SHIFT', (COMPUTE_PGM_RSRC1_GFX9_PLUS_FP16_OVFL_WIDTH:=1): 'COMPUTE_PGM_RSRC1_GFX9_PLUS_FP16_OVFL_WIDTH', (COMPUTE_PGM_RSRC1_GFX9_PLUS_FP16_OVFL:=67108864): 'COMPUTE_PGM_RSRC1_GFX9_PLUS_FP16_OVFL', (COMPUTE_PGM_RSRC1_RESERVED1_SHIFT:=27): 'COMPUTE_PGM_RSRC1_RESERVED1_SHIFT', (COMPUTE_PGM_RSRC1_RESERVED1_WIDTH:=2): 'COMPUTE_PGM_RSRC1_RESERVED1_WIDTH', (COMPUTE_PGM_RSRC1_RESERVED1:=402653184): 'COMPUTE_PGM_RSRC1_RESERVED1', (COMPUTE_PGM_RSRC1_GFX6_GFX9_RESERVED2_SHIFT:=29): 'COMPUTE_PGM_RSRC1_GFX6_GFX9_RESERVED2_SHIFT', (COMPUTE_PGM_RSRC1_GFX6_GFX9_RESERVED2_WIDTH:=3): 'COMPUTE_PGM_RSRC1_GFX6_GFX9_RESERVED2_WIDTH', (COMPUTE_PGM_RSRC1_GFX6_GFX9_RESERVED2:=-536870912): 'COMPUTE_PGM_RSRC1_GFX6_GFX9_RESERVED2', (COMPUTE_PGM_RSRC1_GFX10_PLUS_WGP_MODE_SHIFT:=29): 'COMPUTE_PGM_RSRC1_GFX10_PLUS_WGP_MODE_SHIFT', (COMPUTE_PGM_RSRC1_GFX10_PLUS_WGP_MODE_WIDTH:=1): 'COMPUTE_PGM_RSRC1_GFX10_PLUS_WGP_MODE_WIDTH', (COMPUTE_PGM_RSRC1_GFX10_PLUS_WGP_MODE:=536870912): 'COMPUTE_PGM_RSRC1_GFX10_PLUS_WGP_MODE', (COMPUTE_PGM_RSRC1_GFX10_PLUS_MEM_ORDERED_SHIFT:=30): 'COMPUTE_PGM_RSRC1_GFX10_PLUS_MEM_ORDERED_SHIFT', (COMPUTE_PGM_RSRC1_GFX10_PLUS_MEM_ORDERED_WIDTH:=1): 'COMPUTE_PGM_RSRC1_GFX10_PLUS_MEM_ORDERED_WIDTH', (COMPUTE_PGM_RSRC1_GFX10_PLUS_MEM_ORDERED:=1073741824): 'COMPUTE_PGM_RSRC1_GFX10_PLUS_MEM_ORDERED', (COMPUTE_PGM_RSRC1_GFX10_PLUS_FWD_PROGRESS_SHIFT:=31): 'COMPUTE_PGM_RSRC1_GFX10_PLUS_FWD_PROGRESS_SHIFT', (COMPUTE_PGM_RSRC1_GFX10_PLUS_FWD_PROGRESS_WIDTH:=1): 'COMPUTE_PGM_RSRC1_GFX10_PLUS_FWD_PROGRESS_WIDTH', (COMPUTE_PGM_RSRC1_GFX10_PLUS_FWD_PROGRESS:=-2147483648): 'COMPUTE_PGM_RSRC1_GFX10_PLUS_FWD_PROGRESS'}
_anonenum4: dict[int, str] = {(COMPUTE_PGM_RSRC2_ENABLE_PRIVATE_SEGMENT_SHIFT:=0): 'COMPUTE_PGM_RSRC2_ENABLE_PRIVATE_SEGMENT_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_PRIVATE_SEGMENT_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_PRIVATE_SEGMENT_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_PRIVATE_SEGMENT:=1): 'COMPUTE_PGM_RSRC2_ENABLE_PRIVATE_SEGMENT', (COMPUTE_PGM_RSRC2_USER_SGPR_COUNT_SHIFT:=1): 'COMPUTE_PGM_RSRC2_USER_SGPR_COUNT_SHIFT', (COMPUTE_PGM_RSRC2_USER_SGPR_COUNT_WIDTH:=5): 'COMPUTE_PGM_RSRC2_USER_SGPR_COUNT_WIDTH', (COMPUTE_PGM_RSRC2_USER_SGPR_COUNT:=62): 'COMPUTE_PGM_RSRC2_USER_SGPR_COUNT', (COMPUTE_PGM_RSRC2_GFX6_GFX11_ENABLE_TRAP_HANDLER_SHIFT:=6): 'COMPUTE_PGM_RSRC2_GFX6_GFX11_ENABLE_TRAP_HANDLER_SHIFT', (COMPUTE_PGM_RSRC2_GFX6_GFX11_ENABLE_TRAP_HANDLER_WIDTH:=1): 'COMPUTE_PGM_RSRC2_GFX6_GFX11_ENABLE_TRAP_HANDLER_WIDTH', (COMPUTE_PGM_RSRC2_GFX6_GFX11_ENABLE_TRAP_HANDLER:=64): 'COMPUTE_PGM_RSRC2_GFX6_GFX11_ENABLE_TRAP_HANDLER', (COMPUTE_PGM_RSRC2_GFX12_PLUS_RESERVED1_SHIFT:=6): 'COMPUTE_PGM_RSRC2_GFX12_PLUS_RESERVED1_SHIFT', (COMPUTE_PGM_RSRC2_GFX12_PLUS_RESERVED1_WIDTH:=1): 'COMPUTE_PGM_RSRC2_GFX12_PLUS_RESERVED1_WIDTH', (COMPUTE_PGM_RSRC2_GFX12_PLUS_RESERVED1:=64): 'COMPUTE_PGM_RSRC2_GFX12_PLUS_RESERVED1', (COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_X_SHIFT:=7): 'COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_X_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_X_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_X_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_X:=128): 'COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_X', (COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_Y_SHIFT:=8): 'COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_Y_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_Y_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_Y_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_Y:=256): 'COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_Y', (COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_Z_SHIFT:=9): 'COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_Z_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_Z_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_Z_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_Z:=512): 'COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_ID_Z', (COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_INFO_SHIFT:=10): 'COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_INFO_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_INFO_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_INFO_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_INFO:=1024): 'COMPUTE_PGM_RSRC2_ENABLE_SGPR_WORKGROUP_INFO', (COMPUTE_PGM_RSRC2_ENABLE_VGPR_WORKITEM_ID_SHIFT:=11): 'COMPUTE_PGM_RSRC2_ENABLE_VGPR_WORKITEM_ID_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_VGPR_WORKITEM_ID_WIDTH:=2): 'COMPUTE_PGM_RSRC2_ENABLE_VGPR_WORKITEM_ID_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_VGPR_WORKITEM_ID:=6144): 'COMPUTE_PGM_RSRC2_ENABLE_VGPR_WORKITEM_ID', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_ADDRESS_WATCH_SHIFT:=13): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_ADDRESS_WATCH_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_ADDRESS_WATCH_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_ADDRESS_WATCH_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_ADDRESS_WATCH:=8192): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_ADDRESS_WATCH', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_MEMORY_SHIFT:=14): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_MEMORY_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_MEMORY_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_MEMORY_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_MEMORY:=16384): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_MEMORY', (COMPUTE_PGM_RSRC2_GRANULATED_LDS_SIZE_SHIFT:=15): 'COMPUTE_PGM_RSRC2_GRANULATED_LDS_SIZE_SHIFT', (COMPUTE_PGM_RSRC2_GRANULATED_LDS_SIZE_WIDTH:=9): 'COMPUTE_PGM_RSRC2_GRANULATED_LDS_SIZE_WIDTH', (COMPUTE_PGM_RSRC2_GRANULATED_LDS_SIZE:=16744448): 'COMPUTE_PGM_RSRC2_GRANULATED_LDS_SIZE', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_INVALID_OPERATION_SHIFT:=24): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_INVALID_OPERATION_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_INVALID_OPERATION_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_INVALID_OPERATION_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_INVALID_OPERATION:=16777216): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_INVALID_OPERATION', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_FP_DENORMAL_SOURCE_SHIFT:=25): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_FP_DENORMAL_SOURCE_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_FP_DENORMAL_SOURCE_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_FP_DENORMAL_SOURCE_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_FP_DENORMAL_SOURCE:=33554432): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_FP_DENORMAL_SOURCE', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_DIVISION_BY_ZERO_SHIFT:=26): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_DIVISION_BY_ZERO_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_DIVISION_BY_ZERO_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_DIVISION_BY_ZERO_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_DIVISION_BY_ZERO:=67108864): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_DIVISION_BY_ZERO', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_OVERFLOW_SHIFT:=27): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_OVERFLOW_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_OVERFLOW_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_OVERFLOW_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_OVERFLOW:=134217728): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_OVERFLOW', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_UNDERFLOW_SHIFT:=28): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_UNDERFLOW_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_UNDERFLOW_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_UNDERFLOW_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_UNDERFLOW:=268435456): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_UNDERFLOW', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_INEXACT_SHIFT:=29): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_INEXACT_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_INEXACT_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_INEXACT_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_INEXACT:=536870912): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_IEEE_754_FP_INEXACT', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_INT_DIVIDE_BY_ZERO_SHIFT:=30): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_INT_DIVIDE_BY_ZERO_SHIFT', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_INT_DIVIDE_BY_ZERO_WIDTH:=1): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_INT_DIVIDE_BY_ZERO_WIDTH', (COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_INT_DIVIDE_BY_ZERO:=1073741824): 'COMPUTE_PGM_RSRC2_ENABLE_EXCEPTION_INT_DIVIDE_BY_ZERO', (COMPUTE_PGM_RSRC2_RESERVED0_SHIFT:=31): 'COMPUTE_PGM_RSRC2_RESERVED0_SHIFT', (COMPUTE_PGM_RSRC2_RESERVED0_WIDTH:=1): 'COMPUTE_PGM_RSRC2_RESERVED0_WIDTH', (COMPUTE_PGM_RSRC2_RESERVED0:=-2147483648): 'COMPUTE_PGM_RSRC2_RESERVED0'}
_anonenum5: dict[int, str] = {(COMPUTE_PGM_RSRC3_GFX90A_ACCUM_OFFSET_SHIFT:=0): 'COMPUTE_PGM_RSRC3_GFX90A_ACCUM_OFFSET_SHIFT', (COMPUTE_PGM_RSRC3_GFX90A_ACCUM_OFFSET_WIDTH:=6): 'COMPUTE_PGM_RSRC3_GFX90A_ACCUM_OFFSET_WIDTH', (COMPUTE_PGM_RSRC3_GFX90A_ACCUM_OFFSET:=63): 'COMPUTE_PGM_RSRC3_GFX90A_ACCUM_OFFSET', (COMPUTE_PGM_RSRC3_GFX90A_RESERVED0_SHIFT:=6): 'COMPUTE_PGM_RSRC3_GFX90A_RESERVED0_SHIFT', (COMPUTE_PGM_RSRC3_GFX90A_RESERVED0_WIDTH:=10): 'COMPUTE_PGM_RSRC3_GFX90A_RESERVED0_WIDTH', (COMPUTE_PGM_RSRC3_GFX90A_RESERVED0:=65472): 'COMPUTE_PGM_RSRC3_GFX90A_RESERVED0', (COMPUTE_PGM_RSRC3_GFX90A_TG_SPLIT_SHIFT:=16): 'COMPUTE_PGM_RSRC3_GFX90A_TG_SPLIT_SHIFT', (COMPUTE_PGM_RSRC3_GFX90A_TG_SPLIT_WIDTH:=1): 'COMPUTE_PGM_RSRC3_GFX90A_TG_SPLIT_WIDTH', (COMPUTE_PGM_RSRC3_GFX90A_TG_SPLIT:=65536): 'COMPUTE_PGM_RSRC3_GFX90A_TG_SPLIT', (COMPUTE_PGM_RSRC3_GFX90A_RESERVED1_SHIFT:=17): 'COMPUTE_PGM_RSRC3_GFX90A_RESERVED1_SHIFT', (COMPUTE_PGM_RSRC3_GFX90A_RESERVED1_WIDTH:=15): 'COMPUTE_PGM_RSRC3_GFX90A_RESERVED1_WIDTH', (COMPUTE_PGM_RSRC3_GFX90A_RESERVED1:=-131072): 'COMPUTE_PGM_RSRC3_GFX90A_RESERVED1'}
_anonenum6: dict[int, str] = {(COMPUTE_PGM_RSRC3_GFX10_GFX11_SHARED_VGPR_COUNT_SHIFT:=0): 'COMPUTE_PGM_RSRC3_GFX10_GFX11_SHARED_VGPR_COUNT_SHIFT', (COMPUTE_PGM_RSRC3_GFX10_GFX11_SHARED_VGPR_COUNT_WIDTH:=4): 'COMPUTE_PGM_RSRC3_GFX10_GFX11_SHARED_VGPR_COUNT_WIDTH', (COMPUTE_PGM_RSRC3_GFX10_GFX11_SHARED_VGPR_COUNT:=15): 'COMPUTE_PGM_RSRC3_GFX10_GFX11_SHARED_VGPR_COUNT', (COMPUTE_PGM_RSRC3_GFX12_PLUS_RESERVED0_SHIFT:=0): 'COMPUTE_PGM_RSRC3_GFX12_PLUS_RESERVED0_SHIFT', (COMPUTE_PGM_RSRC3_GFX12_PLUS_RESERVED0_WIDTH:=4): 'COMPUTE_PGM_RSRC3_GFX12_PLUS_RESERVED0_WIDTH', (COMPUTE_PGM_RSRC3_GFX12_PLUS_RESERVED0:=15): 'COMPUTE_PGM_RSRC3_GFX12_PLUS_RESERVED0', (COMPUTE_PGM_RSRC3_GFX10_RESERVED1_SHIFT:=4): 'COMPUTE_PGM_RSRC3_GFX10_RESERVED1_SHIFT', (COMPUTE_PGM_RSRC3_GFX10_RESERVED1_WIDTH:=8): 'COMPUTE_PGM_RSRC3_GFX10_RESERVED1_WIDTH', (COMPUTE_PGM_RSRC3_GFX10_RESERVED1:=4080): 'COMPUTE_PGM_RSRC3_GFX10_RESERVED1', (COMPUTE_PGM_RSRC3_GFX11_INST_PREF_SIZE_SHIFT:=4): 'COMPUTE_PGM_RSRC3_GFX11_INST_PREF_SIZE_SHIFT', (COMPUTE_PGM_RSRC3_GFX11_INST_PREF_SIZE_WIDTH:=6): 'COMPUTE_PGM_RSRC3_GFX11_INST_PREF_SIZE_WIDTH', (COMPUTE_PGM_RSRC3_GFX11_INST_PREF_SIZE:=1008): 'COMPUTE_PGM_RSRC3_GFX11_INST_PREF_SIZE', (COMPUTE_PGM_RSRC3_GFX11_TRAP_ON_START_SHIFT:=10): 'COMPUTE_PGM_RSRC3_GFX11_TRAP_ON_START_SHIFT', (COMPUTE_PGM_RSRC3_GFX11_TRAP_ON_START_WIDTH:=1): 'COMPUTE_PGM_RSRC3_GFX11_TRAP_ON_START_WIDTH', (COMPUTE_PGM_RSRC3_GFX11_TRAP_ON_START:=1024): 'COMPUTE_PGM_RSRC3_GFX11_TRAP_ON_START', (COMPUTE_PGM_RSRC3_GFX11_TRAP_ON_END_SHIFT:=11): 'COMPUTE_PGM_RSRC3_GFX11_TRAP_ON_END_SHIFT', (COMPUTE_PGM_RSRC3_GFX11_TRAP_ON_END_WIDTH:=1): 'COMPUTE_PGM_RSRC3_GFX11_TRAP_ON_END_WIDTH', (COMPUTE_PGM_RSRC3_GFX11_TRAP_ON_END:=2048): 'COMPUTE_PGM_RSRC3_GFX11_TRAP_ON_END', (COMPUTE_PGM_RSRC3_GFX12_PLUS_INST_PREF_SIZE_SHIFT:=4): 'COMPUTE_PGM_RSRC3_GFX12_PLUS_INST_PREF_SIZE_SHIFT', (COMPUTE_PGM_RSRC3_GFX12_PLUS_INST_PREF_SIZE_WIDTH:=8): 'COMPUTE_PGM_RSRC3_GFX12_PLUS_INST_PREF_SIZE_WIDTH', (COMPUTE_PGM_RSRC3_GFX12_PLUS_INST_PREF_SIZE:=4080): 'COMPUTE_PGM_RSRC3_GFX12_PLUS_INST_PREF_SIZE', (COMPUTE_PGM_RSRC3_GFX10_PLUS_RESERVED2_SHIFT:=12): 'COMPUTE_PGM_RSRC3_GFX10_PLUS_RESERVED2_SHIFT', (COMPUTE_PGM_RSRC3_GFX10_PLUS_RESERVED2_WIDTH:=1): 'COMPUTE_PGM_RSRC3_GFX10_PLUS_RESERVED2_WIDTH', (COMPUTE_PGM_RSRC3_GFX10_PLUS_RESERVED2:=4096): 'COMPUTE_PGM_RSRC3_GFX10_PLUS_RESERVED2', (COMPUTE_PGM_RSRC3_GFX10_GFX11_RESERVED3_SHIFT:=13): 'COMPUTE_PGM_RSRC3_GFX10_GFX11_RESERVED3_SHIFT', (COMPUTE_PGM_RSRC3_GFX10_GFX11_RESERVED3_WIDTH:=1): 'COMPUTE_PGM_RSRC3_GFX10_GFX11_RESERVED3_WIDTH', (COMPUTE_PGM_RSRC3_GFX10_GFX11_RESERVED3:=8192): 'COMPUTE_PGM_RSRC3_GFX10_GFX11_RESERVED3', (COMPUTE_PGM_RSRC3_GFX12_PLUS_GLG_EN_SHIFT:=13): 'COMPUTE_PGM_RSRC3_GFX12_PLUS_GLG_EN_SHIFT', (COMPUTE_PGM_RSRC3_GFX12_PLUS_GLG_EN_WIDTH:=1): 'COMPUTE_PGM_RSRC3_GFX12_PLUS_GLG_EN_WIDTH', (COMPUTE_PGM_RSRC3_GFX12_PLUS_GLG_EN:=8192): 'COMPUTE_PGM_RSRC3_GFX12_PLUS_GLG_EN', (COMPUTE_PGM_RSRC3_GFX10_PLUS_RESERVED4_SHIFT:=14): 'COMPUTE_PGM_RSRC3_GFX10_PLUS_RESERVED4_SHIFT', (COMPUTE_PGM_RSRC3_GFX10_PLUS_RESERVED4_WIDTH:=17): 'COMPUTE_PGM_RSRC3_GFX10_PLUS_RESERVED4_WIDTH', (COMPUTE_PGM_RSRC3_GFX10_PLUS_RESERVED4:=2147467264): 'COMPUTE_PGM_RSRC3_GFX10_PLUS_RESERVED4', (COMPUTE_PGM_RSRC3_GFX10_RESERVED5_SHIFT:=31): 'COMPUTE_PGM_RSRC3_GFX10_RESERVED5_SHIFT', (COMPUTE_PGM_RSRC3_GFX10_RESERVED5_WIDTH:=1): 'COMPUTE_PGM_RSRC3_GFX10_RESERVED5_WIDTH', (COMPUTE_PGM_RSRC3_GFX10_RESERVED5:=-2147483648): 'COMPUTE_PGM_RSRC3_GFX10_RESERVED5', (COMPUTE_PGM_RSRC3_GFX11_PLUS_IMAGE_OP_SHIFT:=31): 'COMPUTE_PGM_RSRC3_GFX11_PLUS_IMAGE_OP_SHIFT', (COMPUTE_PGM_RSRC3_GFX11_PLUS_IMAGE_OP_WIDTH:=1): 'COMPUTE_PGM_RSRC3_GFX11_PLUS_IMAGE_OP_WIDTH', (COMPUTE_PGM_RSRC3_GFX11_PLUS_IMAGE_OP:=-2147483648): 'COMPUTE_PGM_RSRC3_GFX11_PLUS_IMAGE_OP'}
_anonenum7: dict[int, str] = {(KERNEL_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_BUFFER_SHIFT:=0): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_BUFFER_SHIFT', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_BUFFER_WIDTH:=1): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_BUFFER_WIDTH', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_BUFFER:=1): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_BUFFER', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_PTR_SHIFT:=1): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_PTR_SHIFT', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_PTR_WIDTH:=1): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_PTR_WIDTH', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_PTR:=2): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_PTR', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_QUEUE_PTR_SHIFT:=2): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_QUEUE_PTR_SHIFT', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_QUEUE_PTR_WIDTH:=1): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_QUEUE_PTR_WIDTH', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_QUEUE_PTR:=4): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_QUEUE_PTR', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_KERNARG_SEGMENT_PTR_SHIFT:=3): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_KERNARG_SEGMENT_PTR_SHIFT', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_KERNARG_SEGMENT_PTR_WIDTH:=1): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_KERNARG_SEGMENT_PTR_WIDTH', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_KERNARG_SEGMENT_PTR:=8): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_KERNARG_SEGMENT_PTR', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_ID_SHIFT:=4): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_ID_SHIFT', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_ID_WIDTH:=1): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_ID_WIDTH', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_ID:=16): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_ID', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_FLAT_SCRATCH_INIT_SHIFT:=5): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_FLAT_SCRATCH_INIT_SHIFT', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_FLAT_SCRATCH_INIT_WIDTH:=1): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_FLAT_SCRATCH_INIT_WIDTH', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_FLAT_SCRATCH_INIT:=32): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_FLAT_SCRATCH_INIT', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_SIZE_SHIFT:=6): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_SIZE_SHIFT', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_SIZE_WIDTH:=1): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_SIZE_WIDTH', (KERNEL_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_SIZE:=64): 'KERNEL_CODE_PROPERTY_ENABLE_SGPR_PRIVATE_SEGMENT_SIZE', (KERNEL_CODE_PROPERTY_RESERVED0_SHIFT:=7): 'KERNEL_CODE_PROPERTY_RESERVED0_SHIFT', (KERNEL_CODE_PROPERTY_RESERVED0_WIDTH:=3): 'KERNEL_CODE_PROPERTY_RESERVED0_WIDTH', (KERNEL_CODE_PROPERTY_RESERVED0:=896): 'KERNEL_CODE_PROPERTY_RESERVED0', (KERNEL_CODE_PROPERTY_ENABLE_WAVEFRONT_SIZE32_SHIFT:=10): 'KERNEL_CODE_PROPERTY_ENABLE_WAVEFRONT_SIZE32_SHIFT', (KERNEL_CODE_PROPERTY_ENABLE_WAVEFRONT_SIZE32_WIDTH:=1): 'KERNEL_CODE_PROPERTY_ENABLE_WAVEFRONT_SIZE32_WIDTH', (KERNEL_CODE_PROPERTY_ENABLE_WAVEFRONT_SIZE32:=1024): 'KERNEL_CODE_PROPERTY_ENABLE_WAVEFRONT_SIZE32', (KERNEL_CODE_PROPERTY_USES_DYNAMIC_STACK_SHIFT:=11): 'KERNEL_CODE_PROPERTY_USES_DYNAMIC_STACK_SHIFT', (KERNEL_CODE_PROPERTY_USES_DYNAMIC_STACK_WIDTH:=1): 'KERNEL_CODE_PROPERTY_USES_DYNAMIC_STACK_WIDTH', (KERNEL_CODE_PROPERTY_USES_DYNAMIC_STACK:=2048): 'KERNEL_CODE_PROPERTY_USES_DYNAMIC_STACK', (KERNEL_CODE_PROPERTY_RESERVED1_SHIFT:=12): 'KERNEL_CODE_PROPERTY_RESERVED1_SHIFT', (KERNEL_CODE_PROPERTY_RESERVED1_WIDTH:=4): 'KERNEL_CODE_PROPERTY_RESERVED1_WIDTH', (KERNEL_CODE_PROPERTY_RESERVED1:=61440): 'KERNEL_CODE_PROPERTY_RESERVED1'}
_anonenum8: dict[int, str] = {(KERNARG_PRELOAD_SPEC_LENGTH_SHIFT:=0): 'KERNARG_PRELOAD_SPEC_LENGTH_SHIFT', (KERNARG_PRELOAD_SPEC_LENGTH_WIDTH:=7): 'KERNARG_PRELOAD_SPEC_LENGTH_WIDTH', (KERNARG_PRELOAD_SPEC_LENGTH:=127): 'KERNARG_PRELOAD_SPEC_LENGTH', (KERNARG_PRELOAD_SPEC_OFFSET_SHIFT:=7): 'KERNARG_PRELOAD_SPEC_OFFSET_SHIFT', (KERNARG_PRELOAD_SPEC_OFFSET_WIDTH:=9): 'KERNARG_PRELOAD_SPEC_OFFSET_WIDTH', (KERNARG_PRELOAD_SPEC_OFFSET:=65408): 'KERNARG_PRELOAD_SPEC_OFFSET'}
@c.record
class llvm_amdhsa_kernel_descriptor_t(c.Struct):
  SIZE = 64
  group_segment_fixed_size: int
  private_segment_fixed_size: int
  kernarg_size: int
  reserved0: c.Array[ctypes.c_ubyte, Literal[4]]
  kernel_code_entry_byte_offset: int
  reserved1: c.Array[ctypes.c_ubyte, Literal[20]]
  compute_pgm_rsrc3: int
  compute_pgm_rsrc1: int
  compute_pgm_rsrc2: int
  kernel_code_properties: int
  kernarg_preload: int
  reserved3: c.Array[ctypes.c_ubyte, Literal[4]]
uint32_t: TypeAlias = ctypes.c_uint32
int64_t: TypeAlias = ctypes.c_int64
uint16_t: TypeAlias = ctypes.c_uint16
llvm_amdhsa_kernel_descriptor_t.register_fields([('group_segment_fixed_size', uint32_t, 0), ('private_segment_fixed_size', uint32_t, 4), ('kernarg_size', uint32_t, 8), ('reserved0', c.Array[uint8_t, Literal[4]], 12), ('kernel_code_entry_byte_offset', int64_t, 16), ('reserved1', c.Array[uint8_t, Literal[20]], 24), ('compute_pgm_rsrc3', uint32_t, 44), ('compute_pgm_rsrc1', uint32_t, 48), ('compute_pgm_rsrc2', uint32_t, 52), ('kernel_code_properties', uint16_t, 56), ('kernarg_preload', uint16_t, 58), ('reserved3', c.Array[uint8_t, Literal[4]], 60)])
_anonenum9: dict[int, str] = {(GROUP_SEGMENT_FIXED_SIZE_OFFSET:=0): 'GROUP_SEGMENT_FIXED_SIZE_OFFSET', (PRIVATE_SEGMENT_FIXED_SIZE_OFFSET:=4): 'PRIVATE_SEGMENT_FIXED_SIZE_OFFSET', (KERNARG_SIZE_OFFSET:=8): 'KERNARG_SIZE_OFFSET', (RESERVED0_OFFSET:=12): 'RESERVED0_OFFSET', (KERNEL_CODE_ENTRY_BYTE_OFFSET_OFFSET:=16): 'KERNEL_CODE_ENTRY_BYTE_OFFSET_OFFSET', (RESERVED1_OFFSET:=24): 'RESERVED1_OFFSET', (COMPUTE_PGM_RSRC3_OFFSET:=44): 'COMPUTE_PGM_RSRC3_OFFSET', (COMPUTE_PGM_RSRC1_OFFSET:=48): 'COMPUTE_PGM_RSRC1_OFFSET', (COMPUTE_PGM_RSRC2_OFFSET:=52): 'COMPUTE_PGM_RSRC2_OFFSET', (KERNEL_CODE_PROPERTIES_OFFSET:=56): 'KERNEL_CODE_PROPERTIES_OFFSET', (KERNARG_PRELOAD_OFFSET:=58): 'KERNARG_PRELOAD_OFFSET', (RESERVED3_OFFSET:=60): 'RESERVED3_OFFSET'}
