tinygrad 0.10.2__py3-none-any.whl → 0.11.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tinygrad/__init__.py +1 -1
- tinygrad/apps/llm.py +206 -0
- tinygrad/codegen/__init__.py +116 -0
- tinygrad/codegen/devectorizer.py +315 -172
- tinygrad/codegen/expander.py +8 -16
- tinygrad/codegen/gpudims.py +89 -0
- tinygrad/codegen/linearize.py +205 -203
- tinygrad/codegen/lowerer.py +92 -139
- tinygrad/codegen/opt/__init__.py +38 -0
- tinygrad/codegen/opt/heuristic.py +125 -0
- tinygrad/codegen/opt/kernel.py +510 -0
- tinygrad/{engine → codegen/opt}/search.py +51 -35
- tinygrad/codegen/opt/swizzler.py +134 -0
- tinygrad/codegen/opt/tc.py +127 -0
- tinygrad/codegen/quantize.py +67 -0
- tinygrad/device.py +122 -132
- tinygrad/dtype.py +152 -35
- tinygrad/engine/jit.py +81 -54
- tinygrad/engine/memory.py +46 -27
- tinygrad/engine/realize.py +82 -41
- tinygrad/engine/schedule.py +70 -445
- tinygrad/frontend/__init__.py +0 -0
- tinygrad/frontend/onnx.py +1253 -0
- tinygrad/frontend/torch.py +5 -0
- tinygrad/gradient.py +19 -27
- tinygrad/helpers.py +95 -47
- tinygrad/nn/__init__.py +7 -8
- tinygrad/nn/optim.py +72 -41
- tinygrad/nn/state.py +37 -23
- tinygrad/renderer/__init__.py +40 -60
- tinygrad/renderer/cstyle.py +143 -128
- tinygrad/renderer/llvmir.py +113 -62
- tinygrad/renderer/ptx.py +50 -32
- tinygrad/renderer/wgsl.py +27 -23
- tinygrad/runtime/autogen/am/am.py +5861 -0
- tinygrad/runtime/autogen/am/pm4_nv.py +962 -0
- tinygrad/runtime/autogen/am/pm4_soc15.py +931 -0
- tinygrad/runtime/autogen/am/sdma_4_0_0.py +5209 -0
- tinygrad/runtime/autogen/am/sdma_4_4_2.py +5209 -0
- tinygrad/runtime/autogen/am/sdma_5_0_0.py +7103 -0
- tinygrad/runtime/autogen/am/sdma_6_0_0.py +8085 -0
- tinygrad/runtime/autogen/am/smu_v13_0_0.py +3068 -0
- tinygrad/runtime/autogen/am/smu_v14_0_2.py +3605 -0
- tinygrad/runtime/autogen/amd_gpu.py +1433 -67197
- tinygrad/runtime/autogen/comgr.py +35 -9
- tinygrad/runtime/autogen/comgr_3.py +906 -0
- tinygrad/runtime/autogen/cuda.py +2419 -494
- tinygrad/runtime/autogen/hsa.py +57 -16
- tinygrad/runtime/autogen/ib.py +7171 -0
- tinygrad/runtime/autogen/io_uring.py +917 -118
- tinygrad/runtime/autogen/kfd.py +748 -26
- tinygrad/runtime/autogen/libc.py +613 -218
- tinygrad/runtime/autogen/libusb.py +1643 -0
- tinygrad/runtime/autogen/nv/nv.py +8602 -0
- tinygrad/runtime/autogen/nv_gpu.py +7218 -2072
- tinygrad/runtime/autogen/opencl.py +2 -4
- tinygrad/runtime/autogen/sqtt.py +1789 -0
- tinygrad/runtime/autogen/vfio.py +3 -3
- tinygrad/runtime/autogen/webgpu.py +273 -264
- tinygrad/runtime/graph/cuda.py +3 -3
- tinygrad/runtime/graph/hcq.py +68 -29
- tinygrad/runtime/graph/metal.py +29 -13
- tinygrad/runtime/graph/remote.py +114 -0
- tinygrad/runtime/ops_amd.py +537 -320
- tinygrad/runtime/ops_cpu.py +108 -7
- tinygrad/runtime/ops_cuda.py +12 -14
- tinygrad/runtime/ops_disk.py +13 -10
- tinygrad/runtime/ops_dsp.py +47 -40
- tinygrad/runtime/ops_gpu.py +13 -11
- tinygrad/runtime/ops_hip.py +6 -9
- tinygrad/runtime/ops_llvm.py +35 -15
- tinygrad/runtime/ops_metal.py +29 -19
- tinygrad/runtime/ops_npy.py +5 -3
- tinygrad/runtime/ops_null.py +28 -0
- tinygrad/runtime/ops_nv.py +306 -234
- tinygrad/runtime/ops_python.py +62 -52
- tinygrad/runtime/ops_qcom.py +28 -39
- tinygrad/runtime/ops_remote.py +482 -0
- tinygrad/runtime/ops_webgpu.py +28 -28
- tinygrad/runtime/support/am/amdev.py +114 -249
- tinygrad/runtime/support/am/ip.py +211 -172
- tinygrad/runtime/support/amd.py +138 -0
- tinygrad/runtime/support/{compiler_hip.py → compiler_amd.py} +40 -8
- tinygrad/runtime/support/compiler_cuda.py +8 -11
- tinygrad/runtime/support/elf.py +2 -1
- tinygrad/runtime/support/hcq.py +184 -97
- tinygrad/runtime/support/ib.py +172 -0
- tinygrad/runtime/support/llvm.py +3 -4
- tinygrad/runtime/support/memory.py +251 -0
- tinygrad/runtime/support/nv/__init__.py +0 -0
- tinygrad/runtime/support/nv/ip.py +581 -0
- tinygrad/runtime/support/nv/nvdev.py +183 -0
- tinygrad/runtime/support/system.py +170 -0
- tinygrad/runtime/support/usb.py +268 -0
- tinygrad/runtime/support/webgpu.py +18 -0
- tinygrad/schedule/__init__.py +0 -0
- tinygrad/schedule/grouper.py +119 -0
- tinygrad/schedule/kernelize.py +368 -0
- tinygrad/schedule/multi.py +231 -0
- tinygrad/shape/shapetracker.py +40 -46
- tinygrad/shape/view.py +88 -52
- tinygrad/tensor.py +968 -542
- tinygrad/uop/__init__.py +117 -0
- tinygrad/{codegen/transcendental.py → uop/decompositions.py} +125 -38
- tinygrad/uop/mathtraits.py +169 -0
- tinygrad/uop/ops.py +1021 -0
- tinygrad/uop/spec.py +228 -0
- tinygrad/{codegen → uop}/symbolic.py +239 -216
- tinygrad/uop/upat.py +163 -0
- tinygrad/viz/assets/cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/languages/x86asm.min.js +19 -0
- tinygrad/viz/assets/d3js.org/d3.v7.min.js +2 -0
- tinygrad/viz/assets/dagrejs.github.io/project/dagre/latest/dagre.min.js +801 -0
- tinygrad/viz/index.html +203 -403
- tinygrad/viz/js/index.js +718 -0
- tinygrad/viz/js/worker.js +29 -0
- tinygrad/viz/serve.py +224 -102
- {tinygrad-0.10.2.dist-info → tinygrad-0.11.0.dist-info}/METADATA +24 -16
- tinygrad-0.11.0.dist-info/RECORD +141 -0
- {tinygrad-0.10.2.dist-info → tinygrad-0.11.0.dist-info}/WHEEL +1 -1
- tinygrad/codegen/kernel.py +0 -693
- tinygrad/engine/multi.py +0 -161
- tinygrad/ops.py +0 -1003
- tinygrad/runtime/ops_cloud.py +0 -220
- tinygrad/runtime/support/allocator.py +0 -94
- tinygrad/spec.py +0 -155
- tinygrad/viz/assets/d3js.org/d3.v5.min.js +0 -2
- tinygrad/viz/assets/dagrejs.github.io/project/dagre-d3/latest/dagre-d3.min.js +0 -4816
- tinygrad/viz/perfetto.html +0 -178
- tinygrad-0.10.2.dist-info/RECORD +0 -99
- {tinygrad-0.10.2.dist-info → tinygrad-0.11.0.dist-info/licenses}/LICENSE +0 -0
- {tinygrad-0.10.2.dist-info → tinygrad-0.11.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1789 @@
|
|
1
|
+
# mypy: ignore-errors
|
2
|
+
# -*- coding: utf-8 -*-
|
3
|
+
#
|
4
|
+
# TARGET arch is: []
|
5
|
+
# WORD_SIZE is: 8
|
6
|
+
# POINTER_SIZE is: 8
|
7
|
+
# LONGDOUBLE_SIZE is: 16
|
8
|
+
#
|
9
|
+
import ctypes, os
|
10
|
+
|
11
|
+
|
12
|
+
class AsDictMixin:
|
13
|
+
@classmethod
|
14
|
+
def as_dict(cls, self):
|
15
|
+
result = {}
|
16
|
+
if not isinstance(self, AsDictMixin):
|
17
|
+
# not a structure, assume it's already a python object
|
18
|
+
return self
|
19
|
+
if not hasattr(cls, "_fields_"):
|
20
|
+
return result
|
21
|
+
# sys.version_info >= (3, 5)
|
22
|
+
# for (field, *_) in cls._fields_: # noqa
|
23
|
+
for field_tuple in cls._fields_: # noqa
|
24
|
+
field = field_tuple[0]
|
25
|
+
if field.startswith('PADDING_'):
|
26
|
+
continue
|
27
|
+
value = getattr(self, field)
|
28
|
+
type_ = type(value)
|
29
|
+
if hasattr(value, "_length_") and hasattr(value, "_type_"):
|
30
|
+
# array
|
31
|
+
if not hasattr(type_, "as_dict"):
|
32
|
+
value = [v for v in value]
|
33
|
+
else:
|
34
|
+
type_ = type_._type_
|
35
|
+
value = [type_.as_dict(v) for v in value]
|
36
|
+
elif hasattr(value, "contents") and hasattr(value, "_type_"):
|
37
|
+
# pointer
|
38
|
+
try:
|
39
|
+
if not hasattr(type_, "as_dict"):
|
40
|
+
value = value.contents
|
41
|
+
else:
|
42
|
+
type_ = type_._type_
|
43
|
+
value = type_.as_dict(value.contents)
|
44
|
+
except ValueError:
|
45
|
+
# nullptr
|
46
|
+
value = None
|
47
|
+
elif isinstance(value, AsDictMixin):
|
48
|
+
# other structure
|
49
|
+
value = type_.as_dict(value)
|
50
|
+
result[field] = value
|
51
|
+
return result
|
52
|
+
|
53
|
+
|
54
|
+
class Structure(ctypes.Structure, AsDictMixin):
|
55
|
+
|
56
|
+
def __init__(self, *args, **kwds):
|
57
|
+
# We don't want to use positional arguments fill PADDING_* fields
|
58
|
+
|
59
|
+
args = dict(zip(self.__class__._field_names_(), args))
|
60
|
+
args.update(kwds)
|
61
|
+
super(Structure, self).__init__(**args)
|
62
|
+
|
63
|
+
@classmethod
|
64
|
+
def _field_names_(cls):
|
65
|
+
if hasattr(cls, '_fields_'):
|
66
|
+
return (f[0] for f in cls._fields_ if not f[0].startswith('PADDING'))
|
67
|
+
else:
|
68
|
+
return ()
|
69
|
+
|
70
|
+
@classmethod
|
71
|
+
def get_type(cls, field):
|
72
|
+
for f in cls._fields_:
|
73
|
+
if f[0] == field:
|
74
|
+
return f[1]
|
75
|
+
return None
|
76
|
+
|
77
|
+
@classmethod
|
78
|
+
def bind(cls, bound_fields):
|
79
|
+
fields = {}
|
80
|
+
for name, type_ in cls._fields_:
|
81
|
+
if hasattr(type_, "restype"):
|
82
|
+
if name in bound_fields:
|
83
|
+
if bound_fields[name] is None:
|
84
|
+
fields[name] = type_()
|
85
|
+
else:
|
86
|
+
# use a closure to capture the callback from the loop scope
|
87
|
+
fields[name] = (
|
88
|
+
type_((lambda callback: lambda *args: callback(*args))(
|
89
|
+
bound_fields[name]))
|
90
|
+
)
|
91
|
+
del bound_fields[name]
|
92
|
+
else:
|
93
|
+
# default callback implementation (does nothing)
|
94
|
+
try:
|
95
|
+
default_ = type_(0).restype().value
|
96
|
+
except TypeError:
|
97
|
+
default_ = None
|
98
|
+
fields[name] = type_((
|
99
|
+
lambda default_: lambda *args: default_)(default_))
|
100
|
+
else:
|
101
|
+
# not a callback function, use default initialization
|
102
|
+
if name in bound_fields:
|
103
|
+
fields[name] = bound_fields[name]
|
104
|
+
del bound_fields[name]
|
105
|
+
else:
|
106
|
+
fields[name] = type_()
|
107
|
+
if len(bound_fields) != 0:
|
108
|
+
raise ValueError(
|
109
|
+
"Cannot bind the following unknown callback(s) {}.{}".format(
|
110
|
+
cls.__name__, bound_fields.keys()
|
111
|
+
))
|
112
|
+
return cls(**fields)
|
113
|
+
|
114
|
+
|
115
|
+
class Union(ctypes.Union, AsDictMixin):
|
116
|
+
pass
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
c_int128 = ctypes.c_ubyte*16
|
121
|
+
c_uint128 = c_int128
|
122
|
+
void = None
|
123
|
+
if ctypes.sizeof(ctypes.c_longdouble) == 16:
|
124
|
+
c_long_double_t = ctypes.c_longdouble
|
125
|
+
else:
|
126
|
+
c_long_double_t = ctypes.c_ubyte*16
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
SQTT_FILE_MAGIC_NUMBER = 0x50303042 # macro
|
131
|
+
SQTT_FILE_VERSION_MAJOR = 1 # macro
|
132
|
+
SQTT_FILE_VERSION_MINOR = 5 # macro
|
133
|
+
SQTT_GPU_NAME_MAX_SIZE = 256 # macro
|
134
|
+
SQTT_MAX_NUM_SE = 32 # macro
|
135
|
+
SQTT_SA_PER_SE = 2 # macro
|
136
|
+
SQTT_ACTIVE_PIXEL_PACKER_MASK_DWORDS = 4 # macro
|
137
|
+
class struct_sqtt_data_info(Structure):
|
138
|
+
pass
|
139
|
+
|
140
|
+
class union_sqtt_data_info_0(Union):
|
141
|
+
pass
|
142
|
+
|
143
|
+
union_sqtt_data_info_0._pack_ = 1 # source:False
|
144
|
+
union_sqtt_data_info_0._fields_ = [
|
145
|
+
('gfx9_write_counter', ctypes.c_uint32),
|
146
|
+
('gfx10_dropped_cntr', ctypes.c_uint32),
|
147
|
+
]
|
148
|
+
|
149
|
+
struct_sqtt_data_info._pack_ = 1 # source:False
|
150
|
+
struct_sqtt_data_info._anonymous_ = ('_0',)
|
151
|
+
struct_sqtt_data_info._fields_ = [
|
152
|
+
('cur_offset', ctypes.c_uint32),
|
153
|
+
('trace_status', ctypes.c_uint32),
|
154
|
+
('_0', union_sqtt_data_info_0),
|
155
|
+
]
|
156
|
+
|
157
|
+
class struct_sqtt_data_se(Structure):
|
158
|
+
pass
|
159
|
+
|
160
|
+
struct_sqtt_data_se._pack_ = 1 # source:False
|
161
|
+
struct_sqtt_data_se._fields_ = [
|
162
|
+
('info', struct_sqtt_data_info),
|
163
|
+
('PADDING_0', ctypes.c_ubyte * 4),
|
164
|
+
('data_ptr', ctypes.POINTER(None)),
|
165
|
+
('shader_engine', ctypes.c_uint32),
|
166
|
+
('compute_unit', ctypes.c_uint32),
|
167
|
+
]
|
168
|
+
|
169
|
+
|
170
|
+
# values for enumeration 'sqtt_version'
|
171
|
+
sqtt_version__enumvalues = {
|
172
|
+
0: 'SQTT_VERSION_NONE',
|
173
|
+
5: 'SQTT_VERSION_2_2',
|
174
|
+
6: 'SQTT_VERSION_2_3',
|
175
|
+
7: 'SQTT_VERSION_2_4',
|
176
|
+
11: 'SQTT_VERSION_3_2',
|
177
|
+
}
|
178
|
+
SQTT_VERSION_NONE = 0
|
179
|
+
SQTT_VERSION_2_2 = 5
|
180
|
+
SQTT_VERSION_2_3 = 6
|
181
|
+
SQTT_VERSION_2_4 = 7
|
182
|
+
SQTT_VERSION_3_2 = 11
|
183
|
+
sqtt_version = ctypes.c_uint32 # enum
|
184
|
+
|
185
|
+
# values for enumeration 'sqtt_file_chunk_type'
|
186
|
+
sqtt_file_chunk_type__enumvalues = {
|
187
|
+
0: 'SQTT_FILE_CHUNK_TYPE_ASIC_INFO',
|
188
|
+
1: 'SQTT_FILE_CHUNK_TYPE_SQTT_DESC',
|
189
|
+
2: 'SQTT_FILE_CHUNK_TYPE_SQTT_DATA',
|
190
|
+
3: 'SQTT_FILE_CHUNK_TYPE_API_INFO',
|
191
|
+
4: 'SQTT_FILE_CHUNK_TYPE_RESERVED',
|
192
|
+
5: 'SQTT_FILE_CHUNK_TYPE_QUEUE_EVENT_TIMINGS',
|
193
|
+
6: 'SQTT_FILE_CHUNK_TYPE_CLOCK_CALIBRATION',
|
194
|
+
7: 'SQTT_FILE_CHUNK_TYPE_CPU_INFO',
|
195
|
+
8: 'SQTT_FILE_CHUNK_TYPE_SPM_DB',
|
196
|
+
9: 'SQTT_FILE_CHUNK_TYPE_CODE_OBJECT_DATABASE',
|
197
|
+
10: 'SQTT_FILE_CHUNK_TYPE_CODE_OBJECT_LOADER_EVENTS',
|
198
|
+
11: 'SQTT_FILE_CHUNK_TYPE_PSO_CORRELATION',
|
199
|
+
12: 'SQTT_FILE_CHUNK_TYPE_INSTRUMENTATION_TABLE',
|
200
|
+
13: 'SQTT_FILE_CHUNK_TYPE_COUNT',
|
201
|
+
}
|
202
|
+
SQTT_FILE_CHUNK_TYPE_ASIC_INFO = 0
|
203
|
+
SQTT_FILE_CHUNK_TYPE_SQTT_DESC = 1
|
204
|
+
SQTT_FILE_CHUNK_TYPE_SQTT_DATA = 2
|
205
|
+
SQTT_FILE_CHUNK_TYPE_API_INFO = 3
|
206
|
+
SQTT_FILE_CHUNK_TYPE_RESERVED = 4
|
207
|
+
SQTT_FILE_CHUNK_TYPE_QUEUE_EVENT_TIMINGS = 5
|
208
|
+
SQTT_FILE_CHUNK_TYPE_CLOCK_CALIBRATION = 6
|
209
|
+
SQTT_FILE_CHUNK_TYPE_CPU_INFO = 7
|
210
|
+
SQTT_FILE_CHUNK_TYPE_SPM_DB = 8
|
211
|
+
SQTT_FILE_CHUNK_TYPE_CODE_OBJECT_DATABASE = 9
|
212
|
+
SQTT_FILE_CHUNK_TYPE_CODE_OBJECT_LOADER_EVENTS = 10
|
213
|
+
SQTT_FILE_CHUNK_TYPE_PSO_CORRELATION = 11
|
214
|
+
SQTT_FILE_CHUNK_TYPE_INSTRUMENTATION_TABLE = 12
|
215
|
+
SQTT_FILE_CHUNK_TYPE_COUNT = 13
|
216
|
+
sqtt_file_chunk_type = ctypes.c_uint32 # enum
|
217
|
+
class struct_sqtt_file_chunk_id(Structure):
|
218
|
+
pass
|
219
|
+
|
220
|
+
struct_sqtt_file_chunk_id._pack_ = 1 # source:False
|
221
|
+
struct_sqtt_file_chunk_id._fields_ = [
|
222
|
+
('type', ctypes.c_int32, 8),
|
223
|
+
('index', ctypes.c_int32, 8),
|
224
|
+
('reserved', ctypes.c_int32, 16),
|
225
|
+
]
|
226
|
+
|
227
|
+
class struct_sqtt_file_chunk_header(Structure):
|
228
|
+
pass
|
229
|
+
|
230
|
+
struct_sqtt_file_chunk_header._pack_ = 1 # source:False
|
231
|
+
struct_sqtt_file_chunk_header._fields_ = [
|
232
|
+
('chunk_id', struct_sqtt_file_chunk_id),
|
233
|
+
('minor_version', ctypes.c_uint16),
|
234
|
+
('major_version', ctypes.c_uint16),
|
235
|
+
('size_in_bytes', ctypes.c_int32),
|
236
|
+
('padding', ctypes.c_int32),
|
237
|
+
]
|
238
|
+
|
239
|
+
class struct_sqtt_file_header_flags(Structure):
|
240
|
+
pass
|
241
|
+
|
242
|
+
class union_sqtt_file_header_flags_0(Union):
|
243
|
+
pass
|
244
|
+
|
245
|
+
class struct_sqtt_file_header_flags_0_0(Structure):
|
246
|
+
pass
|
247
|
+
|
248
|
+
struct_sqtt_file_header_flags_0_0._pack_ = 1 # source:False
|
249
|
+
struct_sqtt_file_header_flags_0_0._fields_ = [
|
250
|
+
('is_semaphore_queue_timing_etw', ctypes.c_uint32, 1),
|
251
|
+
('no_queue_semaphore_timestamps', ctypes.c_uint32, 1),
|
252
|
+
('reserved', ctypes.c_uint32, 30),
|
253
|
+
]
|
254
|
+
|
255
|
+
union_sqtt_file_header_flags_0._pack_ = 1 # source:False
|
256
|
+
union_sqtt_file_header_flags_0._anonymous_ = ('_0',)
|
257
|
+
union_sqtt_file_header_flags_0._fields_ = [
|
258
|
+
('_0', struct_sqtt_file_header_flags_0_0),
|
259
|
+
('value', ctypes.c_uint32),
|
260
|
+
]
|
261
|
+
|
262
|
+
struct_sqtt_file_header_flags._pack_ = 1 # source:False
|
263
|
+
struct_sqtt_file_header_flags._anonymous_ = ('_0',)
|
264
|
+
struct_sqtt_file_header_flags._fields_ = [
|
265
|
+
('_0', union_sqtt_file_header_flags_0),
|
266
|
+
]
|
267
|
+
|
268
|
+
class struct_sqtt_file_header(Structure):
|
269
|
+
pass
|
270
|
+
|
271
|
+
struct_sqtt_file_header._pack_ = 1 # source:False
|
272
|
+
struct_sqtt_file_header._fields_ = [
|
273
|
+
('magic_number', ctypes.c_uint32),
|
274
|
+
('version_major', ctypes.c_uint32),
|
275
|
+
('version_minor', ctypes.c_uint32),
|
276
|
+
('flags', struct_sqtt_file_header_flags),
|
277
|
+
('chunk_offset', ctypes.c_int32),
|
278
|
+
('second', ctypes.c_int32),
|
279
|
+
('minute', ctypes.c_int32),
|
280
|
+
('hour', ctypes.c_int32),
|
281
|
+
('day_in_month', ctypes.c_int32),
|
282
|
+
('month', ctypes.c_int32),
|
283
|
+
('year', ctypes.c_int32),
|
284
|
+
('day_in_week', ctypes.c_int32),
|
285
|
+
('day_in_year', ctypes.c_int32),
|
286
|
+
('is_daylight_savings', ctypes.c_int32),
|
287
|
+
]
|
288
|
+
|
289
|
+
class struct_sqtt_file_chunk_cpu_info(Structure):
|
290
|
+
pass
|
291
|
+
|
292
|
+
struct_sqtt_file_chunk_cpu_info._pack_ = 1 # source:False
|
293
|
+
struct_sqtt_file_chunk_cpu_info._fields_ = [
|
294
|
+
('header', struct_sqtt_file_chunk_header),
|
295
|
+
('vendor_id', ctypes.c_uint32 * 4),
|
296
|
+
('processor_brand', ctypes.c_uint32 * 12),
|
297
|
+
('reserved', ctypes.c_uint32 * 2),
|
298
|
+
('cpu_timestamp_freq', ctypes.c_uint64),
|
299
|
+
('clock_speed', ctypes.c_uint32),
|
300
|
+
('num_logical_cores', ctypes.c_uint32),
|
301
|
+
('num_physical_cores', ctypes.c_uint32),
|
302
|
+
('system_ram_size', ctypes.c_uint32),
|
303
|
+
]
|
304
|
+
|
305
|
+
|
306
|
+
# values for enumeration 'sqtt_file_chunk_asic_info_flags'
|
307
|
+
sqtt_file_chunk_asic_info_flags__enumvalues = {
|
308
|
+
1: 'SQTT_FILE_CHUNK_ASIC_INFO_FLAG_SC_PACKER_NUMBERING',
|
309
|
+
2: 'SQTT_FILE_CHUNK_ASIC_INFO_FLAG_PS1_EVENT_TOKENS_ENABLED',
|
310
|
+
}
|
311
|
+
SQTT_FILE_CHUNK_ASIC_INFO_FLAG_SC_PACKER_NUMBERING = 1
|
312
|
+
SQTT_FILE_CHUNK_ASIC_INFO_FLAG_PS1_EVENT_TOKENS_ENABLED = 2
|
313
|
+
sqtt_file_chunk_asic_info_flags = ctypes.c_uint32 # enum
|
314
|
+
|
315
|
+
# values for enumeration 'sqtt_gpu_type'
|
316
|
+
sqtt_gpu_type__enumvalues = {
|
317
|
+
0: 'SQTT_GPU_TYPE_UNKNOWN',
|
318
|
+
1: 'SQTT_GPU_TYPE_INTEGRATED',
|
319
|
+
2: 'SQTT_GPU_TYPE_DISCRETE',
|
320
|
+
3: 'SQTT_GPU_TYPE_VIRTUAL',
|
321
|
+
}
|
322
|
+
SQTT_GPU_TYPE_UNKNOWN = 0
|
323
|
+
SQTT_GPU_TYPE_INTEGRATED = 1
|
324
|
+
SQTT_GPU_TYPE_DISCRETE = 2
|
325
|
+
SQTT_GPU_TYPE_VIRTUAL = 3
|
326
|
+
sqtt_gpu_type = ctypes.c_uint32 # enum
|
327
|
+
|
328
|
+
# values for enumeration 'sqtt_gfxip_level'
|
329
|
+
sqtt_gfxip_level__enumvalues = {
|
330
|
+
0: 'SQTT_GFXIP_LEVEL_NONE',
|
331
|
+
1: 'SQTT_GFXIP_LEVEL_GFXIP_6',
|
332
|
+
2: 'SQTT_GFXIP_LEVEL_GFXIP_7',
|
333
|
+
3: 'SQTT_GFXIP_LEVEL_GFXIP_8',
|
334
|
+
4: 'SQTT_GFXIP_LEVEL_GFXIP_8_1',
|
335
|
+
5: 'SQTT_GFXIP_LEVEL_GFXIP_9',
|
336
|
+
7: 'SQTT_GFXIP_LEVEL_GFXIP_10_1',
|
337
|
+
9: 'SQTT_GFXIP_LEVEL_GFXIP_10_3',
|
338
|
+
12: 'SQTT_GFXIP_LEVEL_GFXIP_11_0',
|
339
|
+
}
|
340
|
+
SQTT_GFXIP_LEVEL_NONE = 0
|
341
|
+
SQTT_GFXIP_LEVEL_GFXIP_6 = 1
|
342
|
+
SQTT_GFXIP_LEVEL_GFXIP_7 = 2
|
343
|
+
SQTT_GFXIP_LEVEL_GFXIP_8 = 3
|
344
|
+
SQTT_GFXIP_LEVEL_GFXIP_8_1 = 4
|
345
|
+
SQTT_GFXIP_LEVEL_GFXIP_9 = 5
|
346
|
+
SQTT_GFXIP_LEVEL_GFXIP_10_1 = 7
|
347
|
+
SQTT_GFXIP_LEVEL_GFXIP_10_3 = 9
|
348
|
+
SQTT_GFXIP_LEVEL_GFXIP_11_0 = 12
|
349
|
+
sqtt_gfxip_level = ctypes.c_uint32 # enum
|
350
|
+
|
351
|
+
# values for enumeration 'sqtt_memory_type'
|
352
|
+
sqtt_memory_type__enumvalues = {
|
353
|
+
0: 'SQTT_MEMORY_TYPE_UNKNOWN',
|
354
|
+
1: 'SQTT_MEMORY_TYPE_DDR',
|
355
|
+
2: 'SQTT_MEMORY_TYPE_DDR2',
|
356
|
+
3: 'SQTT_MEMORY_TYPE_DDR3',
|
357
|
+
4: 'SQTT_MEMORY_TYPE_DDR4',
|
358
|
+
5: 'SQTT_MEMORY_TYPE_DDR5',
|
359
|
+
16: 'SQTT_MEMORY_TYPE_GDDR3',
|
360
|
+
17: 'SQTT_MEMORY_TYPE_GDDR4',
|
361
|
+
18: 'SQTT_MEMORY_TYPE_GDDR5',
|
362
|
+
19: 'SQTT_MEMORY_TYPE_GDDR6',
|
363
|
+
32: 'SQTT_MEMORY_TYPE_HBM',
|
364
|
+
33: 'SQTT_MEMORY_TYPE_HBM2',
|
365
|
+
34: 'SQTT_MEMORY_TYPE_HBM3',
|
366
|
+
48: 'SQTT_MEMORY_TYPE_LPDDR4',
|
367
|
+
49: 'SQTT_MEMORY_TYPE_LPDDR5',
|
368
|
+
}
|
369
|
+
SQTT_MEMORY_TYPE_UNKNOWN = 0
|
370
|
+
SQTT_MEMORY_TYPE_DDR = 1
|
371
|
+
SQTT_MEMORY_TYPE_DDR2 = 2
|
372
|
+
SQTT_MEMORY_TYPE_DDR3 = 3
|
373
|
+
SQTT_MEMORY_TYPE_DDR4 = 4
|
374
|
+
SQTT_MEMORY_TYPE_DDR5 = 5
|
375
|
+
SQTT_MEMORY_TYPE_GDDR3 = 16
|
376
|
+
SQTT_MEMORY_TYPE_GDDR4 = 17
|
377
|
+
SQTT_MEMORY_TYPE_GDDR5 = 18
|
378
|
+
SQTT_MEMORY_TYPE_GDDR6 = 19
|
379
|
+
SQTT_MEMORY_TYPE_HBM = 32
|
380
|
+
SQTT_MEMORY_TYPE_HBM2 = 33
|
381
|
+
SQTT_MEMORY_TYPE_HBM3 = 34
|
382
|
+
SQTT_MEMORY_TYPE_LPDDR4 = 48
|
383
|
+
SQTT_MEMORY_TYPE_LPDDR5 = 49
|
384
|
+
sqtt_memory_type = ctypes.c_uint32 # enum
|
385
|
+
class struct_sqtt_file_chunk_asic_info(Structure):
|
386
|
+
pass
|
387
|
+
|
388
|
+
struct_sqtt_file_chunk_asic_info._pack_ = 1 # source:False
|
389
|
+
struct_sqtt_file_chunk_asic_info._fields_ = [
|
390
|
+
('header', struct_sqtt_file_chunk_header),
|
391
|
+
('flags', ctypes.c_uint64),
|
392
|
+
('trace_shader_core_clock', ctypes.c_uint64),
|
393
|
+
('trace_memory_clock', ctypes.c_uint64),
|
394
|
+
('device_id', ctypes.c_int32),
|
395
|
+
('device_revision_id', ctypes.c_int32),
|
396
|
+
('vgprs_per_simd', ctypes.c_int32),
|
397
|
+
('sgprs_per_simd', ctypes.c_int32),
|
398
|
+
('shader_engines', ctypes.c_int32),
|
399
|
+
('compute_unit_per_shader_engine', ctypes.c_int32),
|
400
|
+
('simd_per_compute_unit', ctypes.c_int32),
|
401
|
+
('wavefronts_per_simd', ctypes.c_int32),
|
402
|
+
('minimum_vgpr_alloc', ctypes.c_int32),
|
403
|
+
('vgpr_alloc_granularity', ctypes.c_int32),
|
404
|
+
('minimum_sgpr_alloc', ctypes.c_int32),
|
405
|
+
('sgpr_alloc_granularity', ctypes.c_int32),
|
406
|
+
('hardware_contexts', ctypes.c_int32),
|
407
|
+
('gpu_type', sqtt_gpu_type),
|
408
|
+
('gfxip_level', sqtt_gfxip_level),
|
409
|
+
('gpu_index', ctypes.c_int32),
|
410
|
+
('gds_size', ctypes.c_int32),
|
411
|
+
('gds_per_shader_engine', ctypes.c_int32),
|
412
|
+
('ce_ram_size', ctypes.c_int32),
|
413
|
+
('ce_ram_size_graphics', ctypes.c_int32),
|
414
|
+
('ce_ram_size_compute', ctypes.c_int32),
|
415
|
+
('max_number_of_dedicated_cus', ctypes.c_int32),
|
416
|
+
('vram_size', ctypes.c_int64),
|
417
|
+
('vram_bus_width', ctypes.c_int32),
|
418
|
+
('l2_cache_size', ctypes.c_int32),
|
419
|
+
('l1_cache_size', ctypes.c_int32),
|
420
|
+
('lds_size', ctypes.c_int32),
|
421
|
+
('gpu_name', ctypes.c_char * 256),
|
422
|
+
('alu_per_clock', ctypes.c_float),
|
423
|
+
('texture_per_clock', ctypes.c_float),
|
424
|
+
('prims_per_clock', ctypes.c_float),
|
425
|
+
('pixels_per_clock', ctypes.c_float),
|
426
|
+
('gpu_timestamp_frequency', ctypes.c_uint64),
|
427
|
+
('max_shader_core_clock', ctypes.c_uint64),
|
428
|
+
('max_memory_clock', ctypes.c_uint64),
|
429
|
+
('memory_ops_per_clock', ctypes.c_uint32),
|
430
|
+
('memory_chip_type', sqtt_memory_type),
|
431
|
+
('lds_granularity', ctypes.c_uint32),
|
432
|
+
('cu_mask', ctypes.c_uint16 * 2 * 32),
|
433
|
+
('reserved1', ctypes.c_char * 128),
|
434
|
+
('active_pixel_packer_mask', ctypes.c_uint32 * 4),
|
435
|
+
('reserved2', ctypes.c_char * 16),
|
436
|
+
('gl1_cache_size', ctypes.c_uint32),
|
437
|
+
('instruction_cache_size', ctypes.c_uint32),
|
438
|
+
('scalar_cache_size', ctypes.c_uint32),
|
439
|
+
('mall_cache_size', ctypes.c_uint32),
|
440
|
+
('padding', ctypes.c_char * 4),
|
441
|
+
]
|
442
|
+
|
443
|
+
|
444
|
+
# values for enumeration 'sqtt_api_type'
|
445
|
+
sqtt_api_type__enumvalues = {
|
446
|
+
0: 'SQTT_API_TYPE_DIRECTX_12',
|
447
|
+
1: 'SQTT_API_TYPE_VULKAN',
|
448
|
+
2: 'SQTT_API_TYPE_GENERIC',
|
449
|
+
3: 'SQTT_API_TYPE_OPENCL',
|
450
|
+
}
|
451
|
+
SQTT_API_TYPE_DIRECTX_12 = 0
|
452
|
+
SQTT_API_TYPE_VULKAN = 1
|
453
|
+
SQTT_API_TYPE_GENERIC = 2
|
454
|
+
SQTT_API_TYPE_OPENCL = 3
|
455
|
+
sqtt_api_type = ctypes.c_uint32 # enum
|
456
|
+
|
457
|
+
# values for enumeration 'sqtt_instruction_trace_mode'
|
458
|
+
sqtt_instruction_trace_mode__enumvalues = {
|
459
|
+
0: 'SQTT_INSTRUCTION_TRACE_DISABLED',
|
460
|
+
1: 'SQTT_INSTRUCTION_TRACE_FULL_FRAME',
|
461
|
+
2: 'SQTT_INSTRUCTION_TRACE_API_PSO',
|
462
|
+
}
|
463
|
+
SQTT_INSTRUCTION_TRACE_DISABLED = 0
|
464
|
+
SQTT_INSTRUCTION_TRACE_FULL_FRAME = 1
|
465
|
+
SQTT_INSTRUCTION_TRACE_API_PSO = 2
|
466
|
+
sqtt_instruction_trace_mode = ctypes.c_uint32 # enum
|
467
|
+
|
468
|
+
# values for enumeration 'sqtt_profiling_mode'
|
469
|
+
sqtt_profiling_mode__enumvalues = {
|
470
|
+
0: 'SQTT_PROFILING_MODE_PRESENT',
|
471
|
+
1: 'SQTT_PROFILING_MODE_USER_MARKERS',
|
472
|
+
2: 'SQTT_PROFILING_MODE_INDEX',
|
473
|
+
3: 'SQTT_PROFILING_MODE_TAG',
|
474
|
+
}
|
475
|
+
SQTT_PROFILING_MODE_PRESENT = 0
|
476
|
+
SQTT_PROFILING_MODE_USER_MARKERS = 1
|
477
|
+
SQTT_PROFILING_MODE_INDEX = 2
|
478
|
+
SQTT_PROFILING_MODE_TAG = 3
|
479
|
+
sqtt_profiling_mode = ctypes.c_uint32 # enum
|
480
|
+
class union_sqtt_profiling_mode_data(Union):
|
481
|
+
pass
|
482
|
+
|
483
|
+
class struct_sqtt_profiling_mode_data_user_marker_profiling_data(Structure):
|
484
|
+
pass
|
485
|
+
|
486
|
+
struct_sqtt_profiling_mode_data_user_marker_profiling_data._pack_ = 1 # source:False
|
487
|
+
struct_sqtt_profiling_mode_data_user_marker_profiling_data._fields_ = [
|
488
|
+
('start', ctypes.c_char * 256),
|
489
|
+
('end', ctypes.c_char * 256),
|
490
|
+
]
|
491
|
+
|
492
|
+
class struct_sqtt_profiling_mode_data_index_profiling_data(Structure):
|
493
|
+
pass
|
494
|
+
|
495
|
+
struct_sqtt_profiling_mode_data_index_profiling_data._pack_ = 1 # source:False
|
496
|
+
struct_sqtt_profiling_mode_data_index_profiling_data._fields_ = [
|
497
|
+
('start', ctypes.c_uint32),
|
498
|
+
('end', ctypes.c_uint32),
|
499
|
+
]
|
500
|
+
|
501
|
+
class struct_sqtt_profiling_mode_data_tag_profiling_data(Structure):
|
502
|
+
pass
|
503
|
+
|
504
|
+
struct_sqtt_profiling_mode_data_tag_profiling_data._pack_ = 1 # source:False
|
505
|
+
struct_sqtt_profiling_mode_data_tag_profiling_data._fields_ = [
|
506
|
+
('begin_hi', ctypes.c_uint32),
|
507
|
+
('begin_lo', ctypes.c_uint32),
|
508
|
+
('end_hi', ctypes.c_uint32),
|
509
|
+
('end_lo', ctypes.c_uint32),
|
510
|
+
]
|
511
|
+
|
512
|
+
union_sqtt_profiling_mode_data._pack_ = 1 # source:False
|
513
|
+
union_sqtt_profiling_mode_data._fields_ = [
|
514
|
+
('user_marker_profiling_data', struct_sqtt_profiling_mode_data_user_marker_profiling_data),
|
515
|
+
('index_profiling_data', struct_sqtt_profiling_mode_data_index_profiling_data),
|
516
|
+
('tag_profiling_data', struct_sqtt_profiling_mode_data_tag_profiling_data),
|
517
|
+
('PADDING_0', ctypes.c_ubyte * 496),
|
518
|
+
]
|
519
|
+
|
520
|
+
class union_sqtt_instruction_trace_data(Union):
|
521
|
+
pass
|
522
|
+
|
523
|
+
class struct_sqtt_instruction_trace_data_api_pso_data(Structure):
|
524
|
+
pass
|
525
|
+
|
526
|
+
struct_sqtt_instruction_trace_data_api_pso_data._pack_ = 1 # source:False
|
527
|
+
struct_sqtt_instruction_trace_data_api_pso_data._fields_ = [
|
528
|
+
('api_pso_filter', ctypes.c_uint64),
|
529
|
+
]
|
530
|
+
|
531
|
+
class struct_sqtt_instruction_trace_data_shader_engine_filter(Structure):
|
532
|
+
pass
|
533
|
+
|
534
|
+
struct_sqtt_instruction_trace_data_shader_engine_filter._pack_ = 1 # source:False
|
535
|
+
struct_sqtt_instruction_trace_data_shader_engine_filter._fields_ = [
|
536
|
+
('mask', ctypes.c_uint32),
|
537
|
+
]
|
538
|
+
|
539
|
+
union_sqtt_instruction_trace_data._pack_ = 1 # source:False
|
540
|
+
union_sqtt_instruction_trace_data._fields_ = [
|
541
|
+
('api_pso_data', struct_sqtt_instruction_trace_data_api_pso_data),
|
542
|
+
('shader_engine_filter', struct_sqtt_instruction_trace_data_shader_engine_filter),
|
543
|
+
('PADDING_0', ctypes.c_ubyte * 4),
|
544
|
+
]
|
545
|
+
|
546
|
+
class struct_sqtt_file_chunk_api_info(Structure):
|
547
|
+
pass
|
548
|
+
|
549
|
+
struct_sqtt_file_chunk_api_info._pack_ = 1 # source:False
|
550
|
+
struct_sqtt_file_chunk_api_info._fields_ = [
|
551
|
+
('header', struct_sqtt_file_chunk_header),
|
552
|
+
('api_type', sqtt_api_type),
|
553
|
+
('major_version', ctypes.c_uint16),
|
554
|
+
('minor_version', ctypes.c_uint16),
|
555
|
+
('profiling_mode', sqtt_profiling_mode),
|
556
|
+
('reserved', ctypes.c_uint32),
|
557
|
+
('profiling_mode_data', union_sqtt_profiling_mode_data),
|
558
|
+
('instruction_trace_mode', sqtt_instruction_trace_mode),
|
559
|
+
('reserved2', ctypes.c_uint32),
|
560
|
+
('instruction_trace_data', union_sqtt_instruction_trace_data),
|
561
|
+
]
|
562
|
+
|
563
|
+
class struct_sqtt_code_object_database_record(Structure):
|
564
|
+
pass
|
565
|
+
|
566
|
+
struct_sqtt_code_object_database_record._pack_ = 1 # source:False
|
567
|
+
struct_sqtt_code_object_database_record._fields_ = [
|
568
|
+
('size', ctypes.c_uint32),
|
569
|
+
]
|
570
|
+
|
571
|
+
class struct_sqtt_file_chunk_code_object_database(Structure):
|
572
|
+
pass
|
573
|
+
|
574
|
+
struct_sqtt_file_chunk_code_object_database._pack_ = 1 # source:False
|
575
|
+
struct_sqtt_file_chunk_code_object_database._fields_ = [
|
576
|
+
('header', struct_sqtt_file_chunk_header),
|
577
|
+
('offset', ctypes.c_uint32),
|
578
|
+
('flags', ctypes.c_uint32),
|
579
|
+
('size', ctypes.c_uint32),
|
580
|
+
('record_count', ctypes.c_uint32),
|
581
|
+
]
|
582
|
+
|
583
|
+
class struct_sqtt_code_object_loader_events_record(Structure):
|
584
|
+
pass
|
585
|
+
|
586
|
+
struct_sqtt_code_object_loader_events_record._pack_ = 1 # source:False
|
587
|
+
struct_sqtt_code_object_loader_events_record._fields_ = [
|
588
|
+
('loader_event_type', ctypes.c_uint32),
|
589
|
+
('reserved', ctypes.c_uint32),
|
590
|
+
('base_address', ctypes.c_uint64),
|
591
|
+
('code_object_hash', ctypes.c_uint64 * 2),
|
592
|
+
('time_stamp', ctypes.c_uint64),
|
593
|
+
]
|
594
|
+
|
595
|
+
class struct_sqtt_file_chunk_code_object_loader_events(Structure):
|
596
|
+
pass
|
597
|
+
|
598
|
+
struct_sqtt_file_chunk_code_object_loader_events._pack_ = 1 # source:False
|
599
|
+
struct_sqtt_file_chunk_code_object_loader_events._fields_ = [
|
600
|
+
('header', struct_sqtt_file_chunk_header),
|
601
|
+
('offset', ctypes.c_uint32),
|
602
|
+
('flags', ctypes.c_uint32),
|
603
|
+
('record_size', ctypes.c_uint32),
|
604
|
+
('record_count', ctypes.c_uint32),
|
605
|
+
]
|
606
|
+
|
607
|
+
class struct_sqtt_pso_correlation_record(Structure):
|
608
|
+
pass
|
609
|
+
|
610
|
+
struct_sqtt_pso_correlation_record._pack_ = 1 # source:False
|
611
|
+
struct_sqtt_pso_correlation_record._fields_ = [
|
612
|
+
('api_pso_hash', ctypes.c_uint64),
|
613
|
+
('pipeline_hash', ctypes.c_uint64 * 2),
|
614
|
+
('api_level_obj_name', ctypes.c_char * 64),
|
615
|
+
]
|
616
|
+
|
617
|
+
class struct_sqtt_file_chunk_pso_correlation(Structure):
|
618
|
+
pass
|
619
|
+
|
620
|
+
struct_sqtt_file_chunk_pso_correlation._pack_ = 1 # source:False
|
621
|
+
struct_sqtt_file_chunk_pso_correlation._fields_ = [
|
622
|
+
('header', struct_sqtt_file_chunk_header),
|
623
|
+
('offset', ctypes.c_uint32),
|
624
|
+
('flags', ctypes.c_uint32),
|
625
|
+
('record_size', ctypes.c_uint32),
|
626
|
+
('record_count', ctypes.c_uint32),
|
627
|
+
]
|
628
|
+
|
629
|
+
class struct_sqtt_file_chunk_sqtt_desc(Structure):
|
630
|
+
pass
|
631
|
+
|
632
|
+
class union_sqtt_file_chunk_sqtt_desc_0(Union):
|
633
|
+
pass
|
634
|
+
|
635
|
+
class struct_sqtt_file_chunk_sqtt_desc_0_v0(Structure):
|
636
|
+
pass
|
637
|
+
|
638
|
+
struct_sqtt_file_chunk_sqtt_desc_0_v0._pack_ = 1 # source:False
|
639
|
+
struct_sqtt_file_chunk_sqtt_desc_0_v0._fields_ = [
|
640
|
+
('instrumentation_version', ctypes.c_int32),
|
641
|
+
]
|
642
|
+
|
643
|
+
class struct_sqtt_file_chunk_sqtt_desc_0_v1(Structure):
|
644
|
+
pass
|
645
|
+
|
646
|
+
struct_sqtt_file_chunk_sqtt_desc_0_v1._pack_ = 1 # source:False
|
647
|
+
struct_sqtt_file_chunk_sqtt_desc_0_v1._fields_ = [
|
648
|
+
('instrumentation_spec_version', ctypes.c_int16),
|
649
|
+
('instrumentation_api_version', ctypes.c_int16),
|
650
|
+
('compute_unit_index', ctypes.c_int32),
|
651
|
+
]
|
652
|
+
|
653
|
+
union_sqtt_file_chunk_sqtt_desc_0._pack_ = 1 # source:False
|
654
|
+
union_sqtt_file_chunk_sqtt_desc_0._fields_ = [
|
655
|
+
('v0', struct_sqtt_file_chunk_sqtt_desc_0_v0),
|
656
|
+
('v1', struct_sqtt_file_chunk_sqtt_desc_0_v1),
|
657
|
+
]
|
658
|
+
|
659
|
+
struct_sqtt_file_chunk_sqtt_desc._pack_ = 1 # source:False
|
660
|
+
struct_sqtt_file_chunk_sqtt_desc._anonymous_ = ('_0',)
|
661
|
+
struct_sqtt_file_chunk_sqtt_desc._fields_ = [
|
662
|
+
('header', struct_sqtt_file_chunk_header),
|
663
|
+
('shader_engine_index', ctypes.c_int32),
|
664
|
+
('sqtt_version', sqtt_version),
|
665
|
+
('_0', union_sqtt_file_chunk_sqtt_desc_0),
|
666
|
+
]
|
667
|
+
|
668
|
+
class struct_sqtt_file_chunk_sqtt_data(Structure):
|
669
|
+
pass
|
670
|
+
|
671
|
+
struct_sqtt_file_chunk_sqtt_data._pack_ = 1 # source:False
|
672
|
+
struct_sqtt_file_chunk_sqtt_data._fields_ = [
|
673
|
+
('header', struct_sqtt_file_chunk_header),
|
674
|
+
('offset', ctypes.c_int32),
|
675
|
+
('size', ctypes.c_int32),
|
676
|
+
]
|
677
|
+
|
678
|
+
class struct_sqtt_file_chunk_queue_event_timings(Structure):
|
679
|
+
pass
|
680
|
+
|
681
|
+
struct_sqtt_file_chunk_queue_event_timings._pack_ = 1 # source:False
|
682
|
+
struct_sqtt_file_chunk_queue_event_timings._fields_ = [
|
683
|
+
('header', struct_sqtt_file_chunk_header),
|
684
|
+
('queue_info_table_record_count', ctypes.c_uint32),
|
685
|
+
('queue_info_table_size', ctypes.c_uint32),
|
686
|
+
('queue_event_table_record_count', ctypes.c_uint32),
|
687
|
+
('queue_event_table_size', ctypes.c_uint32),
|
688
|
+
]
|
689
|
+
|
690
|
+
|
691
|
+
# values for enumeration 'sqtt_queue_type'
|
692
|
+
sqtt_queue_type__enumvalues = {
|
693
|
+
0: 'SQTT_QUEUE_TYPE_UNKNOWN',
|
694
|
+
1: 'SQTT_QUEUE_TYPE_UNIVERSAL',
|
695
|
+
2: 'SQTT_QUEUE_TYPE_COMPUTE',
|
696
|
+
3: 'SQTT_QUEUE_TYPE_DMA',
|
697
|
+
}
|
698
|
+
SQTT_QUEUE_TYPE_UNKNOWN = 0
|
699
|
+
SQTT_QUEUE_TYPE_UNIVERSAL = 1
|
700
|
+
SQTT_QUEUE_TYPE_COMPUTE = 2
|
701
|
+
SQTT_QUEUE_TYPE_DMA = 3
|
702
|
+
sqtt_queue_type = ctypes.c_uint32 # enum
|
703
|
+
|
704
|
+
# values for enumeration 'sqtt_engine_type'
|
705
|
+
sqtt_engine_type__enumvalues = {
|
706
|
+
0: 'SQTT_ENGINE_TYPE_UNKNOWN',
|
707
|
+
1: 'SQTT_ENGINE_TYPE_UNIVERSAL',
|
708
|
+
2: 'SQTT_ENGINE_TYPE_COMPUTE',
|
709
|
+
3: 'SQTT_ENGINE_TYPE_EXCLUSIVE_COMPUTE',
|
710
|
+
4: 'SQTT_ENGINE_TYPE_DMA',
|
711
|
+
7: 'SQTT_ENGINE_TYPE_HIGH_PRIORITY_UNIVERSAL',
|
712
|
+
8: 'SQTT_ENGINE_TYPE_HIGH_PRIORITY_GRAPHICS',
|
713
|
+
}
|
714
|
+
SQTT_ENGINE_TYPE_UNKNOWN = 0
|
715
|
+
SQTT_ENGINE_TYPE_UNIVERSAL = 1
|
716
|
+
SQTT_ENGINE_TYPE_COMPUTE = 2
|
717
|
+
SQTT_ENGINE_TYPE_EXCLUSIVE_COMPUTE = 3
|
718
|
+
SQTT_ENGINE_TYPE_DMA = 4
|
719
|
+
SQTT_ENGINE_TYPE_HIGH_PRIORITY_UNIVERSAL = 7
|
720
|
+
SQTT_ENGINE_TYPE_HIGH_PRIORITY_GRAPHICS = 8
|
721
|
+
sqtt_engine_type = ctypes.c_uint32 # enum
|
722
|
+
class struct_sqtt_queue_hardware_info(Structure):
|
723
|
+
pass
|
724
|
+
|
725
|
+
class union_sqtt_queue_hardware_info_0(Union):
|
726
|
+
pass
|
727
|
+
|
728
|
+
class struct_sqtt_queue_hardware_info_0_0(Structure):
|
729
|
+
pass
|
730
|
+
|
731
|
+
struct_sqtt_queue_hardware_info_0_0._pack_ = 1 # source:False
|
732
|
+
struct_sqtt_queue_hardware_info_0_0._fields_ = [
|
733
|
+
('queue_type', ctypes.c_int32, 8),
|
734
|
+
('engine_type', ctypes.c_int32, 8),
|
735
|
+
('reserved', ctypes.c_int32, 16),
|
736
|
+
]
|
737
|
+
|
738
|
+
union_sqtt_queue_hardware_info_0._pack_ = 1 # source:False
|
739
|
+
union_sqtt_queue_hardware_info_0._anonymous_ = ('_0',)
|
740
|
+
union_sqtt_queue_hardware_info_0._fields_ = [
|
741
|
+
('_0', struct_sqtt_queue_hardware_info_0_0),
|
742
|
+
('value', ctypes.c_uint32),
|
743
|
+
]
|
744
|
+
|
745
|
+
struct_sqtt_queue_hardware_info._pack_ = 1 # source:False
|
746
|
+
struct_sqtt_queue_hardware_info._anonymous_ = ('_0',)
|
747
|
+
struct_sqtt_queue_hardware_info._fields_ = [
|
748
|
+
('_0', union_sqtt_queue_hardware_info_0),
|
749
|
+
]
|
750
|
+
|
751
|
+
class struct_sqtt_queue_info_record(Structure):
|
752
|
+
pass
|
753
|
+
|
754
|
+
struct_sqtt_queue_info_record._pack_ = 1 # source:False
|
755
|
+
struct_sqtt_queue_info_record._fields_ = [
|
756
|
+
('queue_id', ctypes.c_uint64),
|
757
|
+
('queue_context', ctypes.c_uint64),
|
758
|
+
('hardware_info', struct_sqtt_queue_hardware_info),
|
759
|
+
('reserved', ctypes.c_uint32),
|
760
|
+
]
|
761
|
+
|
762
|
+
|
763
|
+
# values for enumeration 'sqtt_queue_event_type'
|
764
|
+
sqtt_queue_event_type__enumvalues = {
|
765
|
+
0: 'SQTT_QUEUE_TIMING_EVENT_CMDBUF_SUBMIT',
|
766
|
+
1: 'SQTT_QUEUE_TIMING_EVENT_SIGNAL_SEMAPHORE',
|
767
|
+
2: 'SQTT_QUEUE_TIMING_EVENT_WAIT_SEMAPHORE',
|
768
|
+
3: 'SQTT_QUEUE_TIMING_EVENT_PRESENT',
|
769
|
+
}
|
770
|
+
SQTT_QUEUE_TIMING_EVENT_CMDBUF_SUBMIT = 0
|
771
|
+
SQTT_QUEUE_TIMING_EVENT_SIGNAL_SEMAPHORE = 1
|
772
|
+
SQTT_QUEUE_TIMING_EVENT_WAIT_SEMAPHORE = 2
|
773
|
+
SQTT_QUEUE_TIMING_EVENT_PRESENT = 3
|
774
|
+
sqtt_queue_event_type = ctypes.c_uint32 # enum
|
775
|
+
class struct_sqtt_queue_event_record(Structure):
|
776
|
+
pass
|
777
|
+
|
778
|
+
struct_sqtt_queue_event_record._pack_ = 1 # source:False
|
779
|
+
struct_sqtt_queue_event_record._fields_ = [
|
780
|
+
('event_type', sqtt_queue_event_type),
|
781
|
+
('sqtt_cb_id', ctypes.c_uint32),
|
782
|
+
('frame_index', ctypes.c_uint64),
|
783
|
+
('queue_info_index', ctypes.c_uint32),
|
784
|
+
('submit_sub_index', ctypes.c_uint32),
|
785
|
+
('api_id', ctypes.c_uint64),
|
786
|
+
('cpu_timestamp', ctypes.c_uint64),
|
787
|
+
('gpu_timestamps', ctypes.c_uint64 * 2),
|
788
|
+
]
|
789
|
+
|
790
|
+
class struct_sqtt_file_chunk_clock_calibration(Structure):
|
791
|
+
pass
|
792
|
+
|
793
|
+
struct_sqtt_file_chunk_clock_calibration._pack_ = 1 # source:False
|
794
|
+
struct_sqtt_file_chunk_clock_calibration._fields_ = [
|
795
|
+
('header', struct_sqtt_file_chunk_header),
|
796
|
+
('cpu_timestamp', ctypes.c_uint64),
|
797
|
+
('gpu_timestamp', ctypes.c_uint64),
|
798
|
+
('reserved', ctypes.c_uint64),
|
799
|
+
]
|
800
|
+
|
801
|
+
|
802
|
+
# values for enumeration 'elf_gfxip_level'
|
803
|
+
elf_gfxip_level__enumvalues = {
|
804
|
+
40: 'EF_AMDGPU_MACH_AMDGCN_GFX801',
|
805
|
+
44: 'EF_AMDGPU_MACH_AMDGCN_GFX900',
|
806
|
+
51: 'EF_AMDGPU_MACH_AMDGCN_GFX1010',
|
807
|
+
54: 'EF_AMDGPU_MACH_AMDGCN_GFX1030',
|
808
|
+
65: 'EF_AMDGPU_MACH_AMDGCN_GFX1100',
|
809
|
+
}
|
810
|
+
EF_AMDGPU_MACH_AMDGCN_GFX801 = 40
|
811
|
+
EF_AMDGPU_MACH_AMDGCN_GFX900 = 44
|
812
|
+
EF_AMDGPU_MACH_AMDGCN_GFX1010 = 51
|
813
|
+
EF_AMDGPU_MACH_AMDGCN_GFX1030 = 54
|
814
|
+
EF_AMDGPU_MACH_AMDGCN_GFX1100 = 65
|
815
|
+
elf_gfxip_level = ctypes.c_uint32 # enum
|
816
|
+
class struct_sqtt_file_chunk_spm_db(Structure):
|
817
|
+
pass
|
818
|
+
|
819
|
+
struct_sqtt_file_chunk_spm_db._pack_ = 1 # source:False
|
820
|
+
struct_sqtt_file_chunk_spm_db._fields_ = [
|
821
|
+
('header', struct_sqtt_file_chunk_header),
|
822
|
+
('flags', ctypes.c_uint32),
|
823
|
+
('preamble_size', ctypes.c_uint32),
|
824
|
+
('num_timestamps', ctypes.c_uint32),
|
825
|
+
('num_spm_counter_info', ctypes.c_uint32),
|
826
|
+
('spm_counter_info_size', ctypes.c_uint32),
|
827
|
+
('sample_interval', ctypes.c_uint32),
|
828
|
+
]
|
829
|
+
|
830
|
+
|
831
|
+
# values for enumeration 'rgp_sqtt_marker_identifier'
|
832
|
+
rgp_sqtt_marker_identifier__enumvalues = {
|
833
|
+
0: 'RGP_SQTT_MARKER_IDENTIFIER_EVENT',
|
834
|
+
1: 'RGP_SQTT_MARKER_IDENTIFIER_CB_START',
|
835
|
+
2: 'RGP_SQTT_MARKER_IDENTIFIER_CB_END',
|
836
|
+
3: 'RGP_SQTT_MARKER_IDENTIFIER_BARRIER_START',
|
837
|
+
4: 'RGP_SQTT_MARKER_IDENTIFIER_BARRIER_END',
|
838
|
+
5: 'RGP_SQTT_MARKER_IDENTIFIER_USER_EVENT',
|
839
|
+
6: 'RGP_SQTT_MARKER_IDENTIFIER_GENERAL_API',
|
840
|
+
7: 'RGP_SQTT_MARKER_IDENTIFIER_SYNC',
|
841
|
+
8: 'RGP_SQTT_MARKER_IDENTIFIER_PRESENT',
|
842
|
+
9: 'RGP_SQTT_MARKER_IDENTIFIER_LAYOUT_TRANSITION',
|
843
|
+
10: 'RGP_SQTT_MARKER_IDENTIFIER_RENDER_PASS',
|
844
|
+
11: 'RGP_SQTT_MARKER_IDENTIFIER_RESERVED2',
|
845
|
+
12: 'RGP_SQTT_MARKER_IDENTIFIER_BIND_PIPELINE',
|
846
|
+
13: 'RGP_SQTT_MARKER_IDENTIFIER_RESERVED4',
|
847
|
+
14: 'RGP_SQTT_MARKER_IDENTIFIER_RESERVED5',
|
848
|
+
15: 'RGP_SQTT_MARKER_IDENTIFIER_RESERVED6',
|
849
|
+
}
|
850
|
+
RGP_SQTT_MARKER_IDENTIFIER_EVENT = 0
|
851
|
+
RGP_SQTT_MARKER_IDENTIFIER_CB_START = 1
|
852
|
+
RGP_SQTT_MARKER_IDENTIFIER_CB_END = 2
|
853
|
+
RGP_SQTT_MARKER_IDENTIFIER_BARRIER_START = 3
|
854
|
+
RGP_SQTT_MARKER_IDENTIFIER_BARRIER_END = 4
|
855
|
+
RGP_SQTT_MARKER_IDENTIFIER_USER_EVENT = 5
|
856
|
+
RGP_SQTT_MARKER_IDENTIFIER_GENERAL_API = 6
|
857
|
+
RGP_SQTT_MARKER_IDENTIFIER_SYNC = 7
|
858
|
+
RGP_SQTT_MARKER_IDENTIFIER_PRESENT = 8
|
859
|
+
RGP_SQTT_MARKER_IDENTIFIER_LAYOUT_TRANSITION = 9
|
860
|
+
RGP_SQTT_MARKER_IDENTIFIER_RENDER_PASS = 10
|
861
|
+
RGP_SQTT_MARKER_IDENTIFIER_RESERVED2 = 11
|
862
|
+
RGP_SQTT_MARKER_IDENTIFIER_BIND_PIPELINE = 12
|
863
|
+
RGP_SQTT_MARKER_IDENTIFIER_RESERVED4 = 13
|
864
|
+
RGP_SQTT_MARKER_IDENTIFIER_RESERVED5 = 14
|
865
|
+
RGP_SQTT_MARKER_IDENTIFIER_RESERVED6 = 15
|
866
|
+
rgp_sqtt_marker_identifier = ctypes.c_uint32 # enum
|
867
|
+
class union_rgp_sqtt_marker_cb_id(Union):
|
868
|
+
pass
|
869
|
+
|
870
|
+
class struct_rgp_sqtt_marker_cb_id_per_frame_cb_id(Structure):
|
871
|
+
pass
|
872
|
+
|
873
|
+
struct_rgp_sqtt_marker_cb_id_per_frame_cb_id._pack_ = 1 # source:False
|
874
|
+
struct_rgp_sqtt_marker_cb_id_per_frame_cb_id._fields_ = [
|
875
|
+
('per_frame', ctypes.c_uint32, 1),
|
876
|
+
('frame_index', ctypes.c_uint32, 7),
|
877
|
+
('cb_index', ctypes.c_uint32, 12),
|
878
|
+
('reserved', ctypes.c_uint32, 12),
|
879
|
+
]
|
880
|
+
|
881
|
+
class struct_rgp_sqtt_marker_cb_id_global_cb_id(Structure):
|
882
|
+
pass
|
883
|
+
|
884
|
+
struct_rgp_sqtt_marker_cb_id_global_cb_id._pack_ = 1 # source:False
|
885
|
+
struct_rgp_sqtt_marker_cb_id_global_cb_id._fields_ = [
|
886
|
+
('per_frame', ctypes.c_uint32, 1),
|
887
|
+
('cb_index', ctypes.c_uint32, 19),
|
888
|
+
('reserved', ctypes.c_uint32, 12),
|
889
|
+
]
|
890
|
+
|
891
|
+
union_rgp_sqtt_marker_cb_id._pack_ = 1 # source:False
|
892
|
+
union_rgp_sqtt_marker_cb_id._fields_ = [
|
893
|
+
('per_frame_cb_id', struct_rgp_sqtt_marker_cb_id_per_frame_cb_id),
|
894
|
+
('global_cb_id', struct_rgp_sqtt_marker_cb_id_global_cb_id),
|
895
|
+
('all', ctypes.c_uint32),
|
896
|
+
]
|
897
|
+
|
898
|
+
class struct_rgp_sqtt_marker_cb_start(Structure):
|
899
|
+
pass
|
900
|
+
|
901
|
+
class union_rgp_sqtt_marker_cb_start_0(Union):
|
902
|
+
pass
|
903
|
+
|
904
|
+
class struct_rgp_sqtt_marker_cb_start_0_0(Structure):
|
905
|
+
pass
|
906
|
+
|
907
|
+
struct_rgp_sqtt_marker_cb_start_0_0._pack_ = 1 # source:False
|
908
|
+
struct_rgp_sqtt_marker_cb_start_0_0._fields_ = [
|
909
|
+
('identifier', ctypes.c_uint32, 4),
|
910
|
+
('ext_dwords', ctypes.c_uint32, 3),
|
911
|
+
('cb_id', ctypes.c_uint32, 20),
|
912
|
+
('queue', ctypes.c_uint32, 5),
|
913
|
+
]
|
914
|
+
|
915
|
+
union_rgp_sqtt_marker_cb_start_0._pack_ = 1 # source:False
|
916
|
+
union_rgp_sqtt_marker_cb_start_0._anonymous_ = ('_0',)
|
917
|
+
union_rgp_sqtt_marker_cb_start_0._fields_ = [
|
918
|
+
('_0', struct_rgp_sqtt_marker_cb_start_0_0),
|
919
|
+
('dword01', ctypes.c_uint32),
|
920
|
+
]
|
921
|
+
|
922
|
+
class union_rgp_sqtt_marker_cb_start_1(Union):
|
923
|
+
pass
|
924
|
+
|
925
|
+
union_rgp_sqtt_marker_cb_start_1._pack_ = 1 # source:False
|
926
|
+
union_rgp_sqtt_marker_cb_start_1._fields_ = [
|
927
|
+
('device_id_low', ctypes.c_uint32),
|
928
|
+
('dword02', ctypes.c_uint32),
|
929
|
+
]
|
930
|
+
|
931
|
+
class union_rgp_sqtt_marker_cb_start_2(Union):
|
932
|
+
pass
|
933
|
+
|
934
|
+
union_rgp_sqtt_marker_cb_start_2._pack_ = 1 # source:False
|
935
|
+
union_rgp_sqtt_marker_cb_start_2._fields_ = [
|
936
|
+
('device_id_high', ctypes.c_uint32),
|
937
|
+
('dword03', ctypes.c_uint32),
|
938
|
+
]
|
939
|
+
|
940
|
+
class union_rgp_sqtt_marker_cb_start_3(Union):
|
941
|
+
pass
|
942
|
+
|
943
|
+
union_rgp_sqtt_marker_cb_start_3._pack_ = 1 # source:False
|
944
|
+
union_rgp_sqtt_marker_cb_start_3._fields_ = [
|
945
|
+
('queue_flags', ctypes.c_uint32),
|
946
|
+
('dword04', ctypes.c_uint32),
|
947
|
+
]
|
948
|
+
|
949
|
+
struct_rgp_sqtt_marker_cb_start._pack_ = 1 # source:False
|
950
|
+
struct_rgp_sqtt_marker_cb_start._anonymous_ = ('_0', '_1', '_2', '_3',)
|
951
|
+
struct_rgp_sqtt_marker_cb_start._fields_ = [
|
952
|
+
('_0', union_rgp_sqtt_marker_cb_start_0),
|
953
|
+
('_1', union_rgp_sqtt_marker_cb_start_1),
|
954
|
+
('_2', union_rgp_sqtt_marker_cb_start_2),
|
955
|
+
('_3', union_rgp_sqtt_marker_cb_start_3),
|
956
|
+
]
|
957
|
+
|
958
|
+
class struct_rgp_sqtt_marker_cb_end(Structure):
|
959
|
+
pass
|
960
|
+
|
961
|
+
class union_rgp_sqtt_marker_cb_end_0(Union):
|
962
|
+
pass
|
963
|
+
|
964
|
+
class struct_rgp_sqtt_marker_cb_end_0_0(Structure):
|
965
|
+
pass
|
966
|
+
|
967
|
+
struct_rgp_sqtt_marker_cb_end_0_0._pack_ = 1 # source:False
|
968
|
+
struct_rgp_sqtt_marker_cb_end_0_0._fields_ = [
|
969
|
+
('identifier', ctypes.c_uint32, 4),
|
970
|
+
('ext_dwords', ctypes.c_uint32, 3),
|
971
|
+
('cb_id', ctypes.c_uint32, 20),
|
972
|
+
('reserved', ctypes.c_uint32, 5),
|
973
|
+
]
|
974
|
+
|
975
|
+
union_rgp_sqtt_marker_cb_end_0._pack_ = 1 # source:False
|
976
|
+
union_rgp_sqtt_marker_cb_end_0._anonymous_ = ('_0',)
|
977
|
+
union_rgp_sqtt_marker_cb_end_0._fields_ = [
|
978
|
+
('_0', struct_rgp_sqtt_marker_cb_end_0_0),
|
979
|
+
('dword01', ctypes.c_uint32),
|
980
|
+
]
|
981
|
+
|
982
|
+
class union_rgp_sqtt_marker_cb_end_1(Union):
|
983
|
+
pass
|
984
|
+
|
985
|
+
union_rgp_sqtt_marker_cb_end_1._pack_ = 1 # source:False
|
986
|
+
union_rgp_sqtt_marker_cb_end_1._fields_ = [
|
987
|
+
('device_id_low', ctypes.c_uint32),
|
988
|
+
('dword02', ctypes.c_uint32),
|
989
|
+
]
|
990
|
+
|
991
|
+
class union_rgp_sqtt_marker_cb_end_2(Union):
|
992
|
+
pass
|
993
|
+
|
994
|
+
union_rgp_sqtt_marker_cb_end_2._pack_ = 1 # source:False
|
995
|
+
union_rgp_sqtt_marker_cb_end_2._fields_ = [
|
996
|
+
('device_id_high', ctypes.c_uint32),
|
997
|
+
('dword03', ctypes.c_uint32),
|
998
|
+
]
|
999
|
+
|
1000
|
+
struct_rgp_sqtt_marker_cb_end._pack_ = 1 # source:False
|
1001
|
+
struct_rgp_sqtt_marker_cb_end._anonymous_ = ('_0', '_1', '_2',)
|
1002
|
+
struct_rgp_sqtt_marker_cb_end._fields_ = [
|
1003
|
+
('_0', union_rgp_sqtt_marker_cb_end_0),
|
1004
|
+
('_1', union_rgp_sqtt_marker_cb_end_1),
|
1005
|
+
('_2', union_rgp_sqtt_marker_cb_end_2),
|
1006
|
+
]
|
1007
|
+
|
1008
|
+
|
1009
|
+
# values for enumeration 'rgp_sqtt_marker_general_api_type'
|
1010
|
+
rgp_sqtt_marker_general_api_type__enumvalues = {
|
1011
|
+
0: 'ApiCmdBindPipeline',
|
1012
|
+
1: 'ApiCmdBindDescriptorSets',
|
1013
|
+
2: 'ApiCmdBindIndexBuffer',
|
1014
|
+
3: 'ApiCmdBindVertexBuffers',
|
1015
|
+
4: 'ApiCmdDraw',
|
1016
|
+
5: 'ApiCmdDrawIndexed',
|
1017
|
+
6: 'ApiCmdDrawIndirect',
|
1018
|
+
7: 'ApiCmdDrawIndexedIndirect',
|
1019
|
+
8: 'ApiCmdDrawIndirectCountAMD',
|
1020
|
+
9: 'ApiCmdDrawIndexedIndirectCountAMD',
|
1021
|
+
10: 'ApiCmdDispatch',
|
1022
|
+
11: 'ApiCmdDispatchIndirect',
|
1023
|
+
12: 'ApiCmdCopyBuffer',
|
1024
|
+
13: 'ApiCmdCopyImage',
|
1025
|
+
14: 'ApiCmdBlitImage',
|
1026
|
+
15: 'ApiCmdCopyBufferToImage',
|
1027
|
+
16: 'ApiCmdCopyImageToBuffer',
|
1028
|
+
17: 'ApiCmdUpdateBuffer',
|
1029
|
+
18: 'ApiCmdFillBuffer',
|
1030
|
+
19: 'ApiCmdClearColorImage',
|
1031
|
+
20: 'ApiCmdClearDepthStencilImage',
|
1032
|
+
21: 'ApiCmdClearAttachments',
|
1033
|
+
22: 'ApiCmdResolveImage',
|
1034
|
+
23: 'ApiCmdWaitEvents',
|
1035
|
+
24: 'ApiCmdPipelineBarrier',
|
1036
|
+
25: 'ApiCmdBeginQuery',
|
1037
|
+
26: 'ApiCmdEndQuery',
|
1038
|
+
27: 'ApiCmdResetQueryPool',
|
1039
|
+
28: 'ApiCmdWriteTimestamp',
|
1040
|
+
29: 'ApiCmdCopyQueryPoolResults',
|
1041
|
+
30: 'ApiCmdPushConstants',
|
1042
|
+
31: 'ApiCmdBeginRenderPass',
|
1043
|
+
32: 'ApiCmdNextSubpass',
|
1044
|
+
33: 'ApiCmdEndRenderPass',
|
1045
|
+
34: 'ApiCmdExecuteCommands',
|
1046
|
+
35: 'ApiCmdSetViewport',
|
1047
|
+
36: 'ApiCmdSetScissor',
|
1048
|
+
37: 'ApiCmdSetLineWidth',
|
1049
|
+
38: 'ApiCmdSetDepthBias',
|
1050
|
+
39: 'ApiCmdSetBlendConstants',
|
1051
|
+
40: 'ApiCmdSetDepthBounds',
|
1052
|
+
41: 'ApiCmdSetStencilCompareMask',
|
1053
|
+
42: 'ApiCmdSetStencilWriteMask',
|
1054
|
+
43: 'ApiCmdSetStencilReference',
|
1055
|
+
44: 'ApiCmdDrawIndirectCount',
|
1056
|
+
45: 'ApiCmdDrawIndexedIndirectCount',
|
1057
|
+
47: 'ApiCmdDrawMeshTasksEXT',
|
1058
|
+
48: 'ApiCmdDrawMeshTasksIndirectCountEXT',
|
1059
|
+
49: 'ApiCmdDrawMeshTasksIndirectEXT',
|
1060
|
+
8388608: 'ApiRayTracingSeparateCompiled',
|
1061
|
+
4294967295: 'ApiInvalid',
|
1062
|
+
}
|
1063
|
+
ApiCmdBindPipeline = 0
|
1064
|
+
ApiCmdBindDescriptorSets = 1
|
1065
|
+
ApiCmdBindIndexBuffer = 2
|
1066
|
+
ApiCmdBindVertexBuffers = 3
|
1067
|
+
ApiCmdDraw = 4
|
1068
|
+
ApiCmdDrawIndexed = 5
|
1069
|
+
ApiCmdDrawIndirect = 6
|
1070
|
+
ApiCmdDrawIndexedIndirect = 7
|
1071
|
+
ApiCmdDrawIndirectCountAMD = 8
|
1072
|
+
ApiCmdDrawIndexedIndirectCountAMD = 9
|
1073
|
+
ApiCmdDispatch = 10
|
1074
|
+
ApiCmdDispatchIndirect = 11
|
1075
|
+
ApiCmdCopyBuffer = 12
|
1076
|
+
ApiCmdCopyImage = 13
|
1077
|
+
ApiCmdBlitImage = 14
|
1078
|
+
ApiCmdCopyBufferToImage = 15
|
1079
|
+
ApiCmdCopyImageToBuffer = 16
|
1080
|
+
ApiCmdUpdateBuffer = 17
|
1081
|
+
ApiCmdFillBuffer = 18
|
1082
|
+
ApiCmdClearColorImage = 19
|
1083
|
+
ApiCmdClearDepthStencilImage = 20
|
1084
|
+
ApiCmdClearAttachments = 21
|
1085
|
+
ApiCmdResolveImage = 22
|
1086
|
+
ApiCmdWaitEvents = 23
|
1087
|
+
ApiCmdPipelineBarrier = 24
|
1088
|
+
ApiCmdBeginQuery = 25
|
1089
|
+
ApiCmdEndQuery = 26
|
1090
|
+
ApiCmdResetQueryPool = 27
|
1091
|
+
ApiCmdWriteTimestamp = 28
|
1092
|
+
ApiCmdCopyQueryPoolResults = 29
|
1093
|
+
ApiCmdPushConstants = 30
|
1094
|
+
ApiCmdBeginRenderPass = 31
|
1095
|
+
ApiCmdNextSubpass = 32
|
1096
|
+
ApiCmdEndRenderPass = 33
|
1097
|
+
ApiCmdExecuteCommands = 34
|
1098
|
+
ApiCmdSetViewport = 35
|
1099
|
+
ApiCmdSetScissor = 36
|
1100
|
+
ApiCmdSetLineWidth = 37
|
1101
|
+
ApiCmdSetDepthBias = 38
|
1102
|
+
ApiCmdSetBlendConstants = 39
|
1103
|
+
ApiCmdSetDepthBounds = 40
|
1104
|
+
ApiCmdSetStencilCompareMask = 41
|
1105
|
+
ApiCmdSetStencilWriteMask = 42
|
1106
|
+
ApiCmdSetStencilReference = 43
|
1107
|
+
ApiCmdDrawIndirectCount = 44
|
1108
|
+
ApiCmdDrawIndexedIndirectCount = 45
|
1109
|
+
ApiCmdDrawMeshTasksEXT = 47
|
1110
|
+
ApiCmdDrawMeshTasksIndirectCountEXT = 48
|
1111
|
+
ApiCmdDrawMeshTasksIndirectEXT = 49
|
1112
|
+
ApiRayTracingSeparateCompiled = 8388608
|
1113
|
+
ApiInvalid = 4294967295
|
1114
|
+
rgp_sqtt_marker_general_api_type = ctypes.c_uint32 # enum
|
1115
|
+
class struct_rgp_sqtt_marker_general_api(Structure):
|
1116
|
+
pass
|
1117
|
+
|
1118
|
+
class union_rgp_sqtt_marker_general_api_0(Union):
|
1119
|
+
pass
|
1120
|
+
|
1121
|
+
class struct_rgp_sqtt_marker_general_api_0_0(Structure):
|
1122
|
+
pass
|
1123
|
+
|
1124
|
+
struct_rgp_sqtt_marker_general_api_0_0._pack_ = 1 # source:False
|
1125
|
+
struct_rgp_sqtt_marker_general_api_0_0._fields_ = [
|
1126
|
+
('identifier', ctypes.c_uint32, 4),
|
1127
|
+
('ext_dwords', ctypes.c_uint32, 3),
|
1128
|
+
('api_type', ctypes.c_uint32, 20),
|
1129
|
+
('is_end', ctypes.c_uint32, 1),
|
1130
|
+
('reserved', ctypes.c_uint32, 4),
|
1131
|
+
]
|
1132
|
+
|
1133
|
+
union_rgp_sqtt_marker_general_api_0._pack_ = 1 # source:False
|
1134
|
+
union_rgp_sqtt_marker_general_api_0._anonymous_ = ('_0',)
|
1135
|
+
union_rgp_sqtt_marker_general_api_0._fields_ = [
|
1136
|
+
('_0', struct_rgp_sqtt_marker_general_api_0_0),
|
1137
|
+
('dword01', ctypes.c_uint32),
|
1138
|
+
]
|
1139
|
+
|
1140
|
+
struct_rgp_sqtt_marker_general_api._pack_ = 1 # source:False
|
1141
|
+
struct_rgp_sqtt_marker_general_api._anonymous_ = ('_0',)
|
1142
|
+
struct_rgp_sqtt_marker_general_api._fields_ = [
|
1143
|
+
('_0', union_rgp_sqtt_marker_general_api_0),
|
1144
|
+
]
|
1145
|
+
|
1146
|
+
|
1147
|
+
# values for enumeration 'rgp_sqtt_marker_event_type'
|
1148
|
+
rgp_sqtt_marker_event_type__enumvalues = {
|
1149
|
+
0: 'EventCmdDraw',
|
1150
|
+
1: 'EventCmdDrawIndexed',
|
1151
|
+
2: 'EventCmdDrawIndirect',
|
1152
|
+
3: 'EventCmdDrawIndexedIndirect',
|
1153
|
+
4: 'EventCmdDrawIndirectCountAMD',
|
1154
|
+
5: 'EventCmdDrawIndexedIndirectCountAMD',
|
1155
|
+
6: 'EventCmdDispatch',
|
1156
|
+
7: 'EventCmdDispatchIndirect',
|
1157
|
+
8: 'EventCmdCopyBuffer',
|
1158
|
+
9: 'EventCmdCopyImage',
|
1159
|
+
10: 'EventCmdBlitImage',
|
1160
|
+
11: 'EventCmdCopyBufferToImage',
|
1161
|
+
12: 'EventCmdCopyImageToBuffer',
|
1162
|
+
13: 'EventCmdUpdateBuffer',
|
1163
|
+
14: 'EventCmdFillBuffer',
|
1164
|
+
15: 'EventCmdClearColorImage',
|
1165
|
+
16: 'EventCmdClearDepthStencilImage',
|
1166
|
+
17: 'EventCmdClearAttachments',
|
1167
|
+
18: 'EventCmdResolveImage',
|
1168
|
+
19: 'EventCmdWaitEvents',
|
1169
|
+
20: 'EventCmdPipelineBarrier',
|
1170
|
+
21: 'EventCmdResetQueryPool',
|
1171
|
+
22: 'EventCmdCopyQueryPoolResults',
|
1172
|
+
23: 'EventRenderPassColorClear',
|
1173
|
+
24: 'EventRenderPassDepthStencilClear',
|
1174
|
+
25: 'EventRenderPassResolve',
|
1175
|
+
26: 'EventInternalUnknown',
|
1176
|
+
27: 'EventCmdDrawIndirectCount',
|
1177
|
+
28: 'EventCmdDrawIndexedIndirectCount',
|
1178
|
+
30: 'EventCmdTraceRaysKHR',
|
1179
|
+
31: 'EventCmdTraceRaysIndirectKHR',
|
1180
|
+
32: 'EventCmdBuildAccelerationStructuresKHR',
|
1181
|
+
33: 'EventCmdBuildAccelerationStructuresIndirectKHR',
|
1182
|
+
34: 'EventCmdCopyAccelerationStructureKHR',
|
1183
|
+
35: 'EventCmdCopyAccelerationStructureToMemoryKHR',
|
1184
|
+
36: 'EventCmdCopyMemoryToAccelerationStructureKHR',
|
1185
|
+
41: 'EventCmdDrawMeshTasksEXT',
|
1186
|
+
42: 'EventCmdDrawMeshTasksIndirectCountEXT',
|
1187
|
+
43: 'EventCmdDrawMeshTasksIndirectEXT',
|
1188
|
+
32767: 'EventUnknown',
|
1189
|
+
4294967295: 'EventInvalid',
|
1190
|
+
}
|
1191
|
+
EventCmdDraw = 0
|
1192
|
+
EventCmdDrawIndexed = 1
|
1193
|
+
EventCmdDrawIndirect = 2
|
1194
|
+
EventCmdDrawIndexedIndirect = 3
|
1195
|
+
EventCmdDrawIndirectCountAMD = 4
|
1196
|
+
EventCmdDrawIndexedIndirectCountAMD = 5
|
1197
|
+
EventCmdDispatch = 6
|
1198
|
+
EventCmdDispatchIndirect = 7
|
1199
|
+
EventCmdCopyBuffer = 8
|
1200
|
+
EventCmdCopyImage = 9
|
1201
|
+
EventCmdBlitImage = 10
|
1202
|
+
EventCmdCopyBufferToImage = 11
|
1203
|
+
EventCmdCopyImageToBuffer = 12
|
1204
|
+
EventCmdUpdateBuffer = 13
|
1205
|
+
EventCmdFillBuffer = 14
|
1206
|
+
EventCmdClearColorImage = 15
|
1207
|
+
EventCmdClearDepthStencilImage = 16
|
1208
|
+
EventCmdClearAttachments = 17
|
1209
|
+
EventCmdResolveImage = 18
|
1210
|
+
EventCmdWaitEvents = 19
|
1211
|
+
EventCmdPipelineBarrier = 20
|
1212
|
+
EventCmdResetQueryPool = 21
|
1213
|
+
EventCmdCopyQueryPoolResults = 22
|
1214
|
+
EventRenderPassColorClear = 23
|
1215
|
+
EventRenderPassDepthStencilClear = 24
|
1216
|
+
EventRenderPassResolve = 25
|
1217
|
+
EventInternalUnknown = 26
|
1218
|
+
EventCmdDrawIndirectCount = 27
|
1219
|
+
EventCmdDrawIndexedIndirectCount = 28
|
1220
|
+
EventCmdTraceRaysKHR = 30
|
1221
|
+
EventCmdTraceRaysIndirectKHR = 31
|
1222
|
+
EventCmdBuildAccelerationStructuresKHR = 32
|
1223
|
+
EventCmdBuildAccelerationStructuresIndirectKHR = 33
|
1224
|
+
EventCmdCopyAccelerationStructureKHR = 34
|
1225
|
+
EventCmdCopyAccelerationStructureToMemoryKHR = 35
|
1226
|
+
EventCmdCopyMemoryToAccelerationStructureKHR = 36
|
1227
|
+
EventCmdDrawMeshTasksEXT = 41
|
1228
|
+
EventCmdDrawMeshTasksIndirectCountEXT = 42
|
1229
|
+
EventCmdDrawMeshTasksIndirectEXT = 43
|
1230
|
+
EventUnknown = 32767
|
1231
|
+
EventInvalid = 4294967295
|
1232
|
+
rgp_sqtt_marker_event_type = ctypes.c_uint32 # enum
|
1233
|
+
class struct_rgp_sqtt_marker_event(Structure):
|
1234
|
+
pass
|
1235
|
+
|
1236
|
+
class union_rgp_sqtt_marker_event_0(Union):
|
1237
|
+
pass
|
1238
|
+
|
1239
|
+
class struct_rgp_sqtt_marker_event_0_0(Structure):
|
1240
|
+
pass
|
1241
|
+
|
1242
|
+
struct_rgp_sqtt_marker_event_0_0._pack_ = 1 # source:False
|
1243
|
+
struct_rgp_sqtt_marker_event_0_0._fields_ = [
|
1244
|
+
('identifier', ctypes.c_uint32, 4),
|
1245
|
+
('ext_dwords', ctypes.c_uint32, 3),
|
1246
|
+
('api_type', ctypes.c_uint32, 24),
|
1247
|
+
('has_thread_dims', ctypes.c_uint32, 1),
|
1248
|
+
]
|
1249
|
+
|
1250
|
+
union_rgp_sqtt_marker_event_0._pack_ = 1 # source:False
|
1251
|
+
union_rgp_sqtt_marker_event_0._anonymous_ = ('_0',)
|
1252
|
+
union_rgp_sqtt_marker_event_0._fields_ = [
|
1253
|
+
('_0', struct_rgp_sqtt_marker_event_0_0),
|
1254
|
+
('dword01', ctypes.c_uint32),
|
1255
|
+
]
|
1256
|
+
|
1257
|
+
class union_rgp_sqtt_marker_event_1(Union):
|
1258
|
+
pass
|
1259
|
+
|
1260
|
+
class struct_rgp_sqtt_marker_event_1_0(Structure):
|
1261
|
+
pass
|
1262
|
+
|
1263
|
+
struct_rgp_sqtt_marker_event_1_0._pack_ = 1 # source:False
|
1264
|
+
struct_rgp_sqtt_marker_event_1_0._fields_ = [
|
1265
|
+
('cb_id', ctypes.c_uint32, 20),
|
1266
|
+
('vertex_offset_reg_idx', ctypes.c_uint32, 4),
|
1267
|
+
('instance_offset_reg_idx', ctypes.c_uint32, 4),
|
1268
|
+
('draw_index_reg_idx', ctypes.c_uint32, 4),
|
1269
|
+
]
|
1270
|
+
|
1271
|
+
union_rgp_sqtt_marker_event_1._pack_ = 1 # source:False
|
1272
|
+
union_rgp_sqtt_marker_event_1._anonymous_ = ('_0',)
|
1273
|
+
union_rgp_sqtt_marker_event_1._fields_ = [
|
1274
|
+
('_0', struct_rgp_sqtt_marker_event_1_0),
|
1275
|
+
('dword02', ctypes.c_uint32),
|
1276
|
+
]
|
1277
|
+
|
1278
|
+
class union_rgp_sqtt_marker_event_2(Union):
|
1279
|
+
pass
|
1280
|
+
|
1281
|
+
union_rgp_sqtt_marker_event_2._pack_ = 1 # source:False
|
1282
|
+
union_rgp_sqtt_marker_event_2._fields_ = [
|
1283
|
+
('cmd_id', ctypes.c_uint32),
|
1284
|
+
('dword03', ctypes.c_uint32),
|
1285
|
+
]
|
1286
|
+
|
1287
|
+
struct_rgp_sqtt_marker_event._pack_ = 1 # source:False
|
1288
|
+
struct_rgp_sqtt_marker_event._anonymous_ = ('_0', '_1', '_2',)
|
1289
|
+
struct_rgp_sqtt_marker_event._fields_ = [
|
1290
|
+
('_0', union_rgp_sqtt_marker_event_0),
|
1291
|
+
('_1', union_rgp_sqtt_marker_event_1),
|
1292
|
+
('_2', union_rgp_sqtt_marker_event_2),
|
1293
|
+
]
|
1294
|
+
|
1295
|
+
class struct_rgp_sqtt_marker_event_with_dims(Structure):
|
1296
|
+
pass
|
1297
|
+
|
1298
|
+
struct_rgp_sqtt_marker_event_with_dims._pack_ = 1 # source:False
|
1299
|
+
struct_rgp_sqtt_marker_event_with_dims._fields_ = [
|
1300
|
+
('event', struct_rgp_sqtt_marker_event),
|
1301
|
+
('thread_x', ctypes.c_uint32),
|
1302
|
+
('thread_y', ctypes.c_uint32),
|
1303
|
+
('thread_z', ctypes.c_uint32),
|
1304
|
+
]
|
1305
|
+
|
1306
|
+
class struct_rgp_sqtt_marker_barrier_start(Structure):
|
1307
|
+
pass
|
1308
|
+
|
1309
|
+
class union_rgp_sqtt_marker_barrier_start_0(Union):
|
1310
|
+
pass
|
1311
|
+
|
1312
|
+
class struct_rgp_sqtt_marker_barrier_start_0_0(Structure):
|
1313
|
+
pass
|
1314
|
+
|
1315
|
+
struct_rgp_sqtt_marker_barrier_start_0_0._pack_ = 1 # source:False
|
1316
|
+
struct_rgp_sqtt_marker_barrier_start_0_0._fields_ = [
|
1317
|
+
('identifier', ctypes.c_uint32, 4),
|
1318
|
+
('ext_dwords', ctypes.c_uint32, 3),
|
1319
|
+
('cb_id', ctypes.c_uint32, 20),
|
1320
|
+
('reserved', ctypes.c_uint32, 5),
|
1321
|
+
]
|
1322
|
+
|
1323
|
+
union_rgp_sqtt_marker_barrier_start_0._pack_ = 1 # source:False
|
1324
|
+
union_rgp_sqtt_marker_barrier_start_0._anonymous_ = ('_0',)
|
1325
|
+
union_rgp_sqtt_marker_barrier_start_0._fields_ = [
|
1326
|
+
('_0', struct_rgp_sqtt_marker_barrier_start_0_0),
|
1327
|
+
('dword01', ctypes.c_uint32),
|
1328
|
+
]
|
1329
|
+
|
1330
|
+
class union_rgp_sqtt_marker_barrier_start_1(Union):
|
1331
|
+
pass
|
1332
|
+
|
1333
|
+
class struct_rgp_sqtt_marker_barrier_start_1_0(Structure):
|
1334
|
+
pass
|
1335
|
+
|
1336
|
+
struct_rgp_sqtt_marker_barrier_start_1_0._pack_ = 1 # source:False
|
1337
|
+
struct_rgp_sqtt_marker_barrier_start_1_0._fields_ = [
|
1338
|
+
('driver_reason', ctypes.c_uint32, 31),
|
1339
|
+
('internal', ctypes.c_uint32, 1),
|
1340
|
+
]
|
1341
|
+
|
1342
|
+
union_rgp_sqtt_marker_barrier_start_1._pack_ = 1 # source:False
|
1343
|
+
union_rgp_sqtt_marker_barrier_start_1._anonymous_ = ('_0',)
|
1344
|
+
union_rgp_sqtt_marker_barrier_start_1._fields_ = [
|
1345
|
+
('_0', struct_rgp_sqtt_marker_barrier_start_1_0),
|
1346
|
+
('dword02', ctypes.c_uint32),
|
1347
|
+
]
|
1348
|
+
|
1349
|
+
struct_rgp_sqtt_marker_barrier_start._pack_ = 1 # source:False
|
1350
|
+
struct_rgp_sqtt_marker_barrier_start._anonymous_ = ('_0', '_1',)
|
1351
|
+
struct_rgp_sqtt_marker_barrier_start._fields_ = [
|
1352
|
+
('_0', union_rgp_sqtt_marker_barrier_start_0),
|
1353
|
+
('_1', union_rgp_sqtt_marker_barrier_start_1),
|
1354
|
+
]
|
1355
|
+
|
1356
|
+
class struct_rgp_sqtt_marker_barrier_end(Structure):
|
1357
|
+
pass
|
1358
|
+
|
1359
|
+
class union_rgp_sqtt_marker_barrier_end_0(Union):
|
1360
|
+
pass
|
1361
|
+
|
1362
|
+
class struct_rgp_sqtt_marker_barrier_end_0_0(Structure):
|
1363
|
+
pass
|
1364
|
+
|
1365
|
+
struct_rgp_sqtt_marker_barrier_end_0_0._pack_ = 1 # source:False
|
1366
|
+
struct_rgp_sqtt_marker_barrier_end_0_0._fields_ = [
|
1367
|
+
('identifier', ctypes.c_uint32, 4),
|
1368
|
+
('ext_dwords', ctypes.c_uint32, 3),
|
1369
|
+
('cb_id', ctypes.c_uint32, 20),
|
1370
|
+
('wait_on_eop_ts', ctypes.c_uint32, 1),
|
1371
|
+
('vs_partial_flush', ctypes.c_uint32, 1),
|
1372
|
+
('ps_partial_flush', ctypes.c_uint32, 1),
|
1373
|
+
('cs_partial_flush', ctypes.c_uint32, 1),
|
1374
|
+
('pfp_sync_me', ctypes.c_uint32, 1),
|
1375
|
+
]
|
1376
|
+
|
1377
|
+
union_rgp_sqtt_marker_barrier_end_0._pack_ = 1 # source:False
|
1378
|
+
union_rgp_sqtt_marker_barrier_end_0._anonymous_ = ('_0',)
|
1379
|
+
union_rgp_sqtt_marker_barrier_end_0._fields_ = [
|
1380
|
+
('_0', struct_rgp_sqtt_marker_barrier_end_0_0),
|
1381
|
+
('dword01', ctypes.c_uint32),
|
1382
|
+
]
|
1383
|
+
|
1384
|
+
class union_rgp_sqtt_marker_barrier_end_1(Union):
|
1385
|
+
pass
|
1386
|
+
|
1387
|
+
class struct_rgp_sqtt_marker_barrier_end_1_0(Structure):
|
1388
|
+
pass
|
1389
|
+
|
1390
|
+
struct_rgp_sqtt_marker_barrier_end_1_0._pack_ = 1 # source:False
|
1391
|
+
struct_rgp_sqtt_marker_barrier_end_1_0._fields_ = [
|
1392
|
+
('sync_cp_dma', ctypes.c_uint32, 1),
|
1393
|
+
('inval_tcp', ctypes.c_uint32, 1),
|
1394
|
+
('inval_sqI', ctypes.c_uint32, 1),
|
1395
|
+
('inval_sqK', ctypes.c_uint32, 1),
|
1396
|
+
('flush_tcc', ctypes.c_uint32, 1),
|
1397
|
+
('inval_tcc', ctypes.c_uint32, 1),
|
1398
|
+
('flush_cb', ctypes.c_uint32, 1),
|
1399
|
+
('inval_cb', ctypes.c_uint32, 1),
|
1400
|
+
('flush_db', ctypes.c_uint32, 1),
|
1401
|
+
('inval_db', ctypes.c_uint32, 1),
|
1402
|
+
('num_layout_transitions', ctypes.c_uint32, 16),
|
1403
|
+
('inval_gl1', ctypes.c_uint32, 1),
|
1404
|
+
('wait_on_ts', ctypes.c_uint32, 1),
|
1405
|
+
('eop_ts_bottom_of_pipe', ctypes.c_uint32, 1),
|
1406
|
+
('eos_ts_ps_done', ctypes.c_uint32, 1),
|
1407
|
+
('eos_ts_cs_done', ctypes.c_uint32, 1),
|
1408
|
+
('reserved', ctypes.c_uint32, 1),
|
1409
|
+
]
|
1410
|
+
|
1411
|
+
union_rgp_sqtt_marker_barrier_end_1._pack_ = 1 # source:False
|
1412
|
+
union_rgp_sqtt_marker_barrier_end_1._anonymous_ = ('_0',)
|
1413
|
+
union_rgp_sqtt_marker_barrier_end_1._fields_ = [
|
1414
|
+
('_0', struct_rgp_sqtt_marker_barrier_end_1_0),
|
1415
|
+
('dword02', ctypes.c_uint32),
|
1416
|
+
]
|
1417
|
+
|
1418
|
+
struct_rgp_sqtt_marker_barrier_end._pack_ = 1 # source:False
|
1419
|
+
struct_rgp_sqtt_marker_barrier_end._anonymous_ = ('_0', '_1',)
|
1420
|
+
struct_rgp_sqtt_marker_barrier_end._fields_ = [
|
1421
|
+
('_0', union_rgp_sqtt_marker_barrier_end_0),
|
1422
|
+
('_1', union_rgp_sqtt_marker_barrier_end_1),
|
1423
|
+
]
|
1424
|
+
|
1425
|
+
class struct_rgp_sqtt_marker_layout_transition(Structure):
|
1426
|
+
pass
|
1427
|
+
|
1428
|
+
class union_rgp_sqtt_marker_layout_transition_0(Union):
|
1429
|
+
pass
|
1430
|
+
|
1431
|
+
class struct_rgp_sqtt_marker_layout_transition_0_0(Structure):
|
1432
|
+
pass
|
1433
|
+
|
1434
|
+
struct_rgp_sqtt_marker_layout_transition_0_0._pack_ = 1 # source:False
|
1435
|
+
struct_rgp_sqtt_marker_layout_transition_0_0._fields_ = [
|
1436
|
+
('identifier', ctypes.c_uint32, 4),
|
1437
|
+
('ext_dwords', ctypes.c_uint32, 3),
|
1438
|
+
('depth_stencil_expand', ctypes.c_uint32, 1),
|
1439
|
+
('htile_hiz_range_expand', ctypes.c_uint32, 1),
|
1440
|
+
('depth_stencil_resummarize', ctypes.c_uint32, 1),
|
1441
|
+
('dcc_decompress', ctypes.c_uint32, 1),
|
1442
|
+
('fmask_decompress', ctypes.c_uint32, 1),
|
1443
|
+
('fast_clear_eliminate', ctypes.c_uint32, 1),
|
1444
|
+
('fmask_color_expand', ctypes.c_uint32, 1),
|
1445
|
+
('init_mask_ram', ctypes.c_uint32, 1),
|
1446
|
+
('reserved1', ctypes.c_uint32, 17),
|
1447
|
+
]
|
1448
|
+
|
1449
|
+
union_rgp_sqtt_marker_layout_transition_0._pack_ = 1 # source:False
|
1450
|
+
union_rgp_sqtt_marker_layout_transition_0._anonymous_ = ('_0',)
|
1451
|
+
union_rgp_sqtt_marker_layout_transition_0._fields_ = [
|
1452
|
+
('_0', struct_rgp_sqtt_marker_layout_transition_0_0),
|
1453
|
+
('dword01', ctypes.c_uint32),
|
1454
|
+
]
|
1455
|
+
|
1456
|
+
class union_rgp_sqtt_marker_layout_transition_1(Union):
|
1457
|
+
pass
|
1458
|
+
|
1459
|
+
class struct_rgp_sqtt_marker_layout_transition_1_0(Structure):
|
1460
|
+
pass
|
1461
|
+
|
1462
|
+
struct_rgp_sqtt_marker_layout_transition_1_0._pack_ = 1 # source:False
|
1463
|
+
struct_rgp_sqtt_marker_layout_transition_1_0._fields_ = [
|
1464
|
+
('reserved2', ctypes.c_uint32, 32),
|
1465
|
+
]
|
1466
|
+
|
1467
|
+
union_rgp_sqtt_marker_layout_transition_1._pack_ = 1 # source:False
|
1468
|
+
union_rgp_sqtt_marker_layout_transition_1._anonymous_ = ('_0',)
|
1469
|
+
union_rgp_sqtt_marker_layout_transition_1._fields_ = [
|
1470
|
+
('_0', struct_rgp_sqtt_marker_layout_transition_1_0),
|
1471
|
+
('dword02', ctypes.c_uint32),
|
1472
|
+
]
|
1473
|
+
|
1474
|
+
struct_rgp_sqtt_marker_layout_transition._pack_ = 1 # source:False
|
1475
|
+
struct_rgp_sqtt_marker_layout_transition._anonymous_ = ('_0', '_1',)
|
1476
|
+
struct_rgp_sqtt_marker_layout_transition._fields_ = [
|
1477
|
+
('_0', union_rgp_sqtt_marker_layout_transition_0),
|
1478
|
+
('_1', union_rgp_sqtt_marker_layout_transition_1),
|
1479
|
+
]
|
1480
|
+
|
1481
|
+
class struct_rgp_sqtt_marker_user_event(Structure):
|
1482
|
+
pass
|
1483
|
+
|
1484
|
+
class union_rgp_sqtt_marker_user_event_0(Union):
|
1485
|
+
pass
|
1486
|
+
|
1487
|
+
class struct_rgp_sqtt_marker_user_event_0_0(Structure):
|
1488
|
+
pass
|
1489
|
+
|
1490
|
+
struct_rgp_sqtt_marker_user_event_0_0._pack_ = 1 # source:False
|
1491
|
+
struct_rgp_sqtt_marker_user_event_0_0._fields_ = [
|
1492
|
+
('identifier', ctypes.c_uint32, 4),
|
1493
|
+
('reserved0', ctypes.c_uint32, 8),
|
1494
|
+
('data_type', ctypes.c_uint32, 8),
|
1495
|
+
('reserved1', ctypes.c_uint32, 12),
|
1496
|
+
]
|
1497
|
+
|
1498
|
+
union_rgp_sqtt_marker_user_event_0._pack_ = 1 # source:False
|
1499
|
+
union_rgp_sqtt_marker_user_event_0._anonymous_ = ('_0',)
|
1500
|
+
union_rgp_sqtt_marker_user_event_0._fields_ = [
|
1501
|
+
('_0', struct_rgp_sqtt_marker_user_event_0_0),
|
1502
|
+
('dword01', ctypes.c_uint32),
|
1503
|
+
]
|
1504
|
+
|
1505
|
+
struct_rgp_sqtt_marker_user_event._pack_ = 1 # source:False
|
1506
|
+
struct_rgp_sqtt_marker_user_event._anonymous_ = ('_0',)
|
1507
|
+
struct_rgp_sqtt_marker_user_event._fields_ = [
|
1508
|
+
('_0', union_rgp_sqtt_marker_user_event_0),
|
1509
|
+
]
|
1510
|
+
|
1511
|
+
class struct_rgp_sqtt_marker_user_event_with_length(Structure):
|
1512
|
+
pass
|
1513
|
+
|
1514
|
+
struct_rgp_sqtt_marker_user_event_with_length._pack_ = 1 # source:False
|
1515
|
+
struct_rgp_sqtt_marker_user_event_with_length._fields_ = [
|
1516
|
+
('user_event', struct_rgp_sqtt_marker_user_event),
|
1517
|
+
('length', ctypes.c_uint32),
|
1518
|
+
]
|
1519
|
+
|
1520
|
+
|
1521
|
+
# values for enumeration 'rgp_sqtt_marker_user_event_type'
|
1522
|
+
rgp_sqtt_marker_user_event_type__enumvalues = {
|
1523
|
+
0: 'UserEventTrigger',
|
1524
|
+
1: 'UserEventPop',
|
1525
|
+
2: 'UserEventPush',
|
1526
|
+
3: 'UserEventObjectName',
|
1527
|
+
}
|
1528
|
+
UserEventTrigger = 0
|
1529
|
+
UserEventPop = 1
|
1530
|
+
UserEventPush = 2
|
1531
|
+
UserEventObjectName = 3
|
1532
|
+
rgp_sqtt_marker_user_event_type = ctypes.c_uint32 # enum
|
1533
|
+
class struct_rgp_sqtt_marker_pipeline_bind(Structure):
|
1534
|
+
pass
|
1535
|
+
|
1536
|
+
class union_rgp_sqtt_marker_pipeline_bind_0(Union):
|
1537
|
+
pass
|
1538
|
+
|
1539
|
+
class struct_rgp_sqtt_marker_pipeline_bind_0_0(Structure):
|
1540
|
+
pass
|
1541
|
+
|
1542
|
+
struct_rgp_sqtt_marker_pipeline_bind_0_0._pack_ = 1 # source:False
|
1543
|
+
struct_rgp_sqtt_marker_pipeline_bind_0_0._fields_ = [
|
1544
|
+
('identifier', ctypes.c_uint32, 4),
|
1545
|
+
('ext_dwords', ctypes.c_uint32, 3),
|
1546
|
+
('bind_point', ctypes.c_uint32, 1),
|
1547
|
+
('cb_id', ctypes.c_uint32, 20),
|
1548
|
+
('reserved', ctypes.c_uint32, 4),
|
1549
|
+
]
|
1550
|
+
|
1551
|
+
union_rgp_sqtt_marker_pipeline_bind_0._pack_ = 1 # source:False
|
1552
|
+
union_rgp_sqtt_marker_pipeline_bind_0._anonymous_ = ('_0',)
|
1553
|
+
union_rgp_sqtt_marker_pipeline_bind_0._fields_ = [
|
1554
|
+
('_0', struct_rgp_sqtt_marker_pipeline_bind_0_0),
|
1555
|
+
('dword01', ctypes.c_uint32),
|
1556
|
+
]
|
1557
|
+
|
1558
|
+
class union_rgp_sqtt_marker_pipeline_bind_1(Union):
|
1559
|
+
pass
|
1560
|
+
|
1561
|
+
class struct_rgp_sqtt_marker_pipeline_bind_1_0(Structure):
|
1562
|
+
pass
|
1563
|
+
|
1564
|
+
struct_rgp_sqtt_marker_pipeline_bind_1_0._pack_ = 1 # source:False
|
1565
|
+
struct_rgp_sqtt_marker_pipeline_bind_1_0._fields_ = [
|
1566
|
+
('dword02', ctypes.c_uint32),
|
1567
|
+
('dword03', ctypes.c_uint32),
|
1568
|
+
]
|
1569
|
+
|
1570
|
+
union_rgp_sqtt_marker_pipeline_bind_1._pack_ = 1 # source:False
|
1571
|
+
union_rgp_sqtt_marker_pipeline_bind_1._anonymous_ = ('_0',)
|
1572
|
+
union_rgp_sqtt_marker_pipeline_bind_1._fields_ = [
|
1573
|
+
('api_pso_hash', ctypes.c_uint32 * 2),
|
1574
|
+
('_0', struct_rgp_sqtt_marker_pipeline_bind_1_0),
|
1575
|
+
]
|
1576
|
+
|
1577
|
+
struct_rgp_sqtt_marker_pipeline_bind._pack_ = 1 # source:False
|
1578
|
+
struct_rgp_sqtt_marker_pipeline_bind._anonymous_ = ('_0', '_1',)
|
1579
|
+
struct_rgp_sqtt_marker_pipeline_bind._fields_ = [
|
1580
|
+
('_0', union_rgp_sqtt_marker_pipeline_bind_0),
|
1581
|
+
('_1', union_rgp_sqtt_marker_pipeline_bind_1),
|
1582
|
+
]
|
1583
|
+
|
1584
|
+
__all__ = \
|
1585
|
+
['ApiCmdBeginQuery', 'ApiCmdBeginRenderPass',
|
1586
|
+
'ApiCmdBindDescriptorSets', 'ApiCmdBindIndexBuffer',
|
1587
|
+
'ApiCmdBindPipeline', 'ApiCmdBindVertexBuffers',
|
1588
|
+
'ApiCmdBlitImage', 'ApiCmdClearAttachments',
|
1589
|
+
'ApiCmdClearColorImage', 'ApiCmdClearDepthStencilImage',
|
1590
|
+
'ApiCmdCopyBuffer', 'ApiCmdCopyBufferToImage', 'ApiCmdCopyImage',
|
1591
|
+
'ApiCmdCopyImageToBuffer', 'ApiCmdCopyQueryPoolResults',
|
1592
|
+
'ApiCmdDispatch', 'ApiCmdDispatchIndirect', 'ApiCmdDraw',
|
1593
|
+
'ApiCmdDrawIndexed', 'ApiCmdDrawIndexedIndirect',
|
1594
|
+
'ApiCmdDrawIndexedIndirectCount',
|
1595
|
+
'ApiCmdDrawIndexedIndirectCountAMD', 'ApiCmdDrawIndirect',
|
1596
|
+
'ApiCmdDrawIndirectCount', 'ApiCmdDrawIndirectCountAMD',
|
1597
|
+
'ApiCmdDrawMeshTasksEXT', 'ApiCmdDrawMeshTasksIndirectCountEXT',
|
1598
|
+
'ApiCmdDrawMeshTasksIndirectEXT', 'ApiCmdEndQuery',
|
1599
|
+
'ApiCmdEndRenderPass', 'ApiCmdExecuteCommands',
|
1600
|
+
'ApiCmdFillBuffer', 'ApiCmdNextSubpass', 'ApiCmdPipelineBarrier',
|
1601
|
+
'ApiCmdPushConstants', 'ApiCmdResetQueryPool',
|
1602
|
+
'ApiCmdResolveImage', 'ApiCmdSetBlendConstants',
|
1603
|
+
'ApiCmdSetDepthBias', 'ApiCmdSetDepthBounds',
|
1604
|
+
'ApiCmdSetLineWidth', 'ApiCmdSetScissor',
|
1605
|
+
'ApiCmdSetStencilCompareMask', 'ApiCmdSetStencilReference',
|
1606
|
+
'ApiCmdSetStencilWriteMask', 'ApiCmdSetViewport',
|
1607
|
+
'ApiCmdUpdateBuffer', 'ApiCmdWaitEvents', 'ApiCmdWriteTimestamp',
|
1608
|
+
'ApiInvalid', 'ApiRayTracingSeparateCompiled',
|
1609
|
+
'EF_AMDGPU_MACH_AMDGCN_GFX1010', 'EF_AMDGPU_MACH_AMDGCN_GFX1030',
|
1610
|
+
'EF_AMDGPU_MACH_AMDGCN_GFX1100', 'EF_AMDGPU_MACH_AMDGCN_GFX801',
|
1611
|
+
'EF_AMDGPU_MACH_AMDGCN_GFX900', 'EventCmdBlitImage',
|
1612
|
+
'EventCmdBuildAccelerationStructuresIndirectKHR',
|
1613
|
+
'EventCmdBuildAccelerationStructuresKHR',
|
1614
|
+
'EventCmdClearAttachments', 'EventCmdClearColorImage',
|
1615
|
+
'EventCmdClearDepthStencilImage',
|
1616
|
+
'EventCmdCopyAccelerationStructureKHR',
|
1617
|
+
'EventCmdCopyAccelerationStructureToMemoryKHR',
|
1618
|
+
'EventCmdCopyBuffer', 'EventCmdCopyBufferToImage',
|
1619
|
+
'EventCmdCopyImage', 'EventCmdCopyImageToBuffer',
|
1620
|
+
'EventCmdCopyMemoryToAccelerationStructureKHR',
|
1621
|
+
'EventCmdCopyQueryPoolResults', 'EventCmdDispatch',
|
1622
|
+
'EventCmdDispatchIndirect', 'EventCmdDraw', 'EventCmdDrawIndexed',
|
1623
|
+
'EventCmdDrawIndexedIndirect', 'EventCmdDrawIndexedIndirectCount',
|
1624
|
+
'EventCmdDrawIndexedIndirectCountAMD', 'EventCmdDrawIndirect',
|
1625
|
+
'EventCmdDrawIndirectCount', 'EventCmdDrawIndirectCountAMD',
|
1626
|
+
'EventCmdDrawMeshTasksEXT',
|
1627
|
+
'EventCmdDrawMeshTasksIndirectCountEXT',
|
1628
|
+
'EventCmdDrawMeshTasksIndirectEXT', 'EventCmdFillBuffer',
|
1629
|
+
'EventCmdPipelineBarrier', 'EventCmdResetQueryPool',
|
1630
|
+
'EventCmdResolveImage', 'EventCmdTraceRaysIndirectKHR',
|
1631
|
+
'EventCmdTraceRaysKHR', 'EventCmdUpdateBuffer',
|
1632
|
+
'EventCmdWaitEvents', 'EventInternalUnknown', 'EventInvalid',
|
1633
|
+
'EventRenderPassColorClear', 'EventRenderPassDepthStencilClear',
|
1634
|
+
'EventRenderPassResolve', 'EventUnknown',
|
1635
|
+
'RGP_SQTT_MARKER_IDENTIFIER_BARRIER_END',
|
1636
|
+
'RGP_SQTT_MARKER_IDENTIFIER_BARRIER_START',
|
1637
|
+
'RGP_SQTT_MARKER_IDENTIFIER_BIND_PIPELINE',
|
1638
|
+
'RGP_SQTT_MARKER_IDENTIFIER_CB_END',
|
1639
|
+
'RGP_SQTT_MARKER_IDENTIFIER_CB_START',
|
1640
|
+
'RGP_SQTT_MARKER_IDENTIFIER_EVENT',
|
1641
|
+
'RGP_SQTT_MARKER_IDENTIFIER_GENERAL_API',
|
1642
|
+
'RGP_SQTT_MARKER_IDENTIFIER_LAYOUT_TRANSITION',
|
1643
|
+
'RGP_SQTT_MARKER_IDENTIFIER_PRESENT',
|
1644
|
+
'RGP_SQTT_MARKER_IDENTIFIER_RENDER_PASS',
|
1645
|
+
'RGP_SQTT_MARKER_IDENTIFIER_RESERVED2',
|
1646
|
+
'RGP_SQTT_MARKER_IDENTIFIER_RESERVED4',
|
1647
|
+
'RGP_SQTT_MARKER_IDENTIFIER_RESERVED5',
|
1648
|
+
'RGP_SQTT_MARKER_IDENTIFIER_RESERVED6',
|
1649
|
+
'RGP_SQTT_MARKER_IDENTIFIER_SYNC',
|
1650
|
+
'RGP_SQTT_MARKER_IDENTIFIER_USER_EVENT',
|
1651
|
+
'SQTT_ACTIVE_PIXEL_PACKER_MASK_DWORDS',
|
1652
|
+
'SQTT_API_TYPE_DIRECTX_12', 'SQTT_API_TYPE_GENERIC',
|
1653
|
+
'SQTT_API_TYPE_OPENCL', 'SQTT_API_TYPE_VULKAN',
|
1654
|
+
'SQTT_ENGINE_TYPE_COMPUTE', 'SQTT_ENGINE_TYPE_DMA',
|
1655
|
+
'SQTT_ENGINE_TYPE_EXCLUSIVE_COMPUTE',
|
1656
|
+
'SQTT_ENGINE_TYPE_HIGH_PRIORITY_GRAPHICS',
|
1657
|
+
'SQTT_ENGINE_TYPE_HIGH_PRIORITY_UNIVERSAL',
|
1658
|
+
'SQTT_ENGINE_TYPE_UNIVERSAL', 'SQTT_ENGINE_TYPE_UNKNOWN',
|
1659
|
+
'SQTT_FILE_CHUNK_ASIC_INFO_FLAG_PS1_EVENT_TOKENS_ENABLED',
|
1660
|
+
'SQTT_FILE_CHUNK_ASIC_INFO_FLAG_SC_PACKER_NUMBERING',
|
1661
|
+
'SQTT_FILE_CHUNK_TYPE_API_INFO', 'SQTT_FILE_CHUNK_TYPE_ASIC_INFO',
|
1662
|
+
'SQTT_FILE_CHUNK_TYPE_CLOCK_CALIBRATION',
|
1663
|
+
'SQTT_FILE_CHUNK_TYPE_CODE_OBJECT_DATABASE',
|
1664
|
+
'SQTT_FILE_CHUNK_TYPE_CODE_OBJECT_LOADER_EVENTS',
|
1665
|
+
'SQTT_FILE_CHUNK_TYPE_COUNT', 'SQTT_FILE_CHUNK_TYPE_CPU_INFO',
|
1666
|
+
'SQTT_FILE_CHUNK_TYPE_INSTRUMENTATION_TABLE',
|
1667
|
+
'SQTT_FILE_CHUNK_TYPE_PSO_CORRELATION',
|
1668
|
+
'SQTT_FILE_CHUNK_TYPE_QUEUE_EVENT_TIMINGS',
|
1669
|
+
'SQTT_FILE_CHUNK_TYPE_RESERVED', 'SQTT_FILE_CHUNK_TYPE_SPM_DB',
|
1670
|
+
'SQTT_FILE_CHUNK_TYPE_SQTT_DATA',
|
1671
|
+
'SQTT_FILE_CHUNK_TYPE_SQTT_DESC', 'SQTT_FILE_MAGIC_NUMBER',
|
1672
|
+
'SQTT_FILE_VERSION_MAJOR', 'SQTT_FILE_VERSION_MINOR',
|
1673
|
+
'SQTT_GFXIP_LEVEL_GFXIP_10_1', 'SQTT_GFXIP_LEVEL_GFXIP_10_3',
|
1674
|
+
'SQTT_GFXIP_LEVEL_GFXIP_11_0', 'SQTT_GFXIP_LEVEL_GFXIP_6',
|
1675
|
+
'SQTT_GFXIP_LEVEL_GFXIP_7', 'SQTT_GFXIP_LEVEL_GFXIP_8',
|
1676
|
+
'SQTT_GFXIP_LEVEL_GFXIP_8_1', 'SQTT_GFXIP_LEVEL_GFXIP_9',
|
1677
|
+
'SQTT_GFXIP_LEVEL_NONE', 'SQTT_GPU_NAME_MAX_SIZE',
|
1678
|
+
'SQTT_GPU_TYPE_DISCRETE', 'SQTT_GPU_TYPE_INTEGRATED',
|
1679
|
+
'SQTT_GPU_TYPE_UNKNOWN', 'SQTT_GPU_TYPE_VIRTUAL',
|
1680
|
+
'SQTT_INSTRUCTION_TRACE_API_PSO',
|
1681
|
+
'SQTT_INSTRUCTION_TRACE_DISABLED',
|
1682
|
+
'SQTT_INSTRUCTION_TRACE_FULL_FRAME', 'SQTT_MAX_NUM_SE',
|
1683
|
+
'SQTT_MEMORY_TYPE_DDR', 'SQTT_MEMORY_TYPE_DDR2',
|
1684
|
+
'SQTT_MEMORY_TYPE_DDR3', 'SQTT_MEMORY_TYPE_DDR4',
|
1685
|
+
'SQTT_MEMORY_TYPE_DDR5', 'SQTT_MEMORY_TYPE_GDDR3',
|
1686
|
+
'SQTT_MEMORY_TYPE_GDDR4', 'SQTT_MEMORY_TYPE_GDDR5',
|
1687
|
+
'SQTT_MEMORY_TYPE_GDDR6', 'SQTT_MEMORY_TYPE_HBM',
|
1688
|
+
'SQTT_MEMORY_TYPE_HBM2', 'SQTT_MEMORY_TYPE_HBM3',
|
1689
|
+
'SQTT_MEMORY_TYPE_LPDDR4', 'SQTT_MEMORY_TYPE_LPDDR5',
|
1690
|
+
'SQTT_MEMORY_TYPE_UNKNOWN', 'SQTT_PROFILING_MODE_INDEX',
|
1691
|
+
'SQTT_PROFILING_MODE_PRESENT', 'SQTT_PROFILING_MODE_TAG',
|
1692
|
+
'SQTT_PROFILING_MODE_USER_MARKERS',
|
1693
|
+
'SQTT_QUEUE_TIMING_EVENT_CMDBUF_SUBMIT',
|
1694
|
+
'SQTT_QUEUE_TIMING_EVENT_PRESENT',
|
1695
|
+
'SQTT_QUEUE_TIMING_EVENT_SIGNAL_SEMAPHORE',
|
1696
|
+
'SQTT_QUEUE_TIMING_EVENT_WAIT_SEMAPHORE',
|
1697
|
+
'SQTT_QUEUE_TYPE_COMPUTE', 'SQTT_QUEUE_TYPE_DMA',
|
1698
|
+
'SQTT_QUEUE_TYPE_UNIVERSAL', 'SQTT_QUEUE_TYPE_UNKNOWN',
|
1699
|
+
'SQTT_SA_PER_SE', 'SQTT_VERSION_2_2', 'SQTT_VERSION_2_3',
|
1700
|
+
'SQTT_VERSION_2_4', 'SQTT_VERSION_3_2', 'SQTT_VERSION_NONE',
|
1701
|
+
'UserEventObjectName', 'UserEventPop', 'UserEventPush',
|
1702
|
+
'UserEventTrigger', 'elf_gfxip_level',
|
1703
|
+
'rgp_sqtt_marker_event_type', 'rgp_sqtt_marker_general_api_type',
|
1704
|
+
'rgp_sqtt_marker_identifier', 'rgp_sqtt_marker_user_event_type',
|
1705
|
+
'sqtt_api_type', 'sqtt_engine_type',
|
1706
|
+
'sqtt_file_chunk_asic_info_flags', 'sqtt_file_chunk_type',
|
1707
|
+
'sqtt_gfxip_level', 'sqtt_gpu_type',
|
1708
|
+
'sqtt_instruction_trace_mode', 'sqtt_memory_type',
|
1709
|
+
'sqtt_profiling_mode', 'sqtt_queue_event_type', 'sqtt_queue_type',
|
1710
|
+
'sqtt_version', 'struct_rgp_sqtt_marker_barrier_end',
|
1711
|
+
'struct_rgp_sqtt_marker_barrier_end_0_0',
|
1712
|
+
'struct_rgp_sqtt_marker_barrier_end_1_0',
|
1713
|
+
'struct_rgp_sqtt_marker_barrier_start',
|
1714
|
+
'struct_rgp_sqtt_marker_barrier_start_0_0',
|
1715
|
+
'struct_rgp_sqtt_marker_barrier_start_1_0',
|
1716
|
+
'struct_rgp_sqtt_marker_cb_end',
|
1717
|
+
'struct_rgp_sqtt_marker_cb_end_0_0',
|
1718
|
+
'struct_rgp_sqtt_marker_cb_id_global_cb_id',
|
1719
|
+
'struct_rgp_sqtt_marker_cb_id_per_frame_cb_id',
|
1720
|
+
'struct_rgp_sqtt_marker_cb_start',
|
1721
|
+
'struct_rgp_sqtt_marker_cb_start_0_0',
|
1722
|
+
'struct_rgp_sqtt_marker_event',
|
1723
|
+
'struct_rgp_sqtt_marker_event_0_0',
|
1724
|
+
'struct_rgp_sqtt_marker_event_1_0',
|
1725
|
+
'struct_rgp_sqtt_marker_event_with_dims',
|
1726
|
+
'struct_rgp_sqtt_marker_general_api',
|
1727
|
+
'struct_rgp_sqtt_marker_general_api_0_0',
|
1728
|
+
'struct_rgp_sqtt_marker_layout_transition',
|
1729
|
+
'struct_rgp_sqtt_marker_layout_transition_0_0',
|
1730
|
+
'struct_rgp_sqtt_marker_layout_transition_1_0',
|
1731
|
+
'struct_rgp_sqtt_marker_pipeline_bind',
|
1732
|
+
'struct_rgp_sqtt_marker_pipeline_bind_0_0',
|
1733
|
+
'struct_rgp_sqtt_marker_pipeline_bind_1_0',
|
1734
|
+
'struct_rgp_sqtt_marker_user_event',
|
1735
|
+
'struct_rgp_sqtt_marker_user_event_0_0',
|
1736
|
+
'struct_rgp_sqtt_marker_user_event_with_length',
|
1737
|
+
'struct_sqtt_code_object_database_record',
|
1738
|
+
'struct_sqtt_code_object_loader_events_record',
|
1739
|
+
'struct_sqtt_data_info', 'struct_sqtt_data_se',
|
1740
|
+
'struct_sqtt_file_chunk_api_info',
|
1741
|
+
'struct_sqtt_file_chunk_asic_info',
|
1742
|
+
'struct_sqtt_file_chunk_clock_calibration',
|
1743
|
+
'struct_sqtt_file_chunk_code_object_database',
|
1744
|
+
'struct_sqtt_file_chunk_code_object_loader_events',
|
1745
|
+
'struct_sqtt_file_chunk_cpu_info',
|
1746
|
+
'struct_sqtt_file_chunk_header', 'struct_sqtt_file_chunk_id',
|
1747
|
+
'struct_sqtt_file_chunk_pso_correlation',
|
1748
|
+
'struct_sqtt_file_chunk_queue_event_timings',
|
1749
|
+
'struct_sqtt_file_chunk_spm_db',
|
1750
|
+
'struct_sqtt_file_chunk_sqtt_data',
|
1751
|
+
'struct_sqtt_file_chunk_sqtt_desc',
|
1752
|
+
'struct_sqtt_file_chunk_sqtt_desc_0_v0',
|
1753
|
+
'struct_sqtt_file_chunk_sqtt_desc_0_v1',
|
1754
|
+
'struct_sqtt_file_header', 'struct_sqtt_file_header_flags',
|
1755
|
+
'struct_sqtt_file_header_flags_0_0',
|
1756
|
+
'struct_sqtt_instruction_trace_data_api_pso_data',
|
1757
|
+
'struct_sqtt_instruction_trace_data_shader_engine_filter',
|
1758
|
+
'struct_sqtt_profiling_mode_data_index_profiling_data',
|
1759
|
+
'struct_sqtt_profiling_mode_data_tag_profiling_data',
|
1760
|
+
'struct_sqtt_profiling_mode_data_user_marker_profiling_data',
|
1761
|
+
'struct_sqtt_pso_correlation_record',
|
1762
|
+
'struct_sqtt_queue_event_record',
|
1763
|
+
'struct_sqtt_queue_hardware_info',
|
1764
|
+
'struct_sqtt_queue_hardware_info_0_0',
|
1765
|
+
'struct_sqtt_queue_info_record',
|
1766
|
+
'union_rgp_sqtt_marker_barrier_end_0',
|
1767
|
+
'union_rgp_sqtt_marker_barrier_end_1',
|
1768
|
+
'union_rgp_sqtt_marker_barrier_start_0',
|
1769
|
+
'union_rgp_sqtt_marker_barrier_start_1',
|
1770
|
+
'union_rgp_sqtt_marker_cb_end_0',
|
1771
|
+
'union_rgp_sqtt_marker_cb_end_1',
|
1772
|
+
'union_rgp_sqtt_marker_cb_end_2', 'union_rgp_sqtt_marker_cb_id',
|
1773
|
+
'union_rgp_sqtt_marker_cb_start_0',
|
1774
|
+
'union_rgp_sqtt_marker_cb_start_1',
|
1775
|
+
'union_rgp_sqtt_marker_cb_start_2',
|
1776
|
+
'union_rgp_sqtt_marker_cb_start_3',
|
1777
|
+
'union_rgp_sqtt_marker_event_0', 'union_rgp_sqtt_marker_event_1',
|
1778
|
+
'union_rgp_sqtt_marker_event_2',
|
1779
|
+
'union_rgp_sqtt_marker_general_api_0',
|
1780
|
+
'union_rgp_sqtt_marker_layout_transition_0',
|
1781
|
+
'union_rgp_sqtt_marker_layout_transition_1',
|
1782
|
+
'union_rgp_sqtt_marker_pipeline_bind_0',
|
1783
|
+
'union_rgp_sqtt_marker_pipeline_bind_1',
|
1784
|
+
'union_rgp_sqtt_marker_user_event_0', 'union_sqtt_data_info_0',
|
1785
|
+
'union_sqtt_file_chunk_sqtt_desc_0',
|
1786
|
+
'union_sqtt_file_header_flags_0',
|
1787
|
+
'union_sqtt_instruction_trace_data',
|
1788
|
+
'union_sqtt_profiling_mode_data',
|
1789
|
+
'union_sqtt_queue_hardware_info_0']
|