triton-windows 3.3.0.post19__cp312-cp312-win_amd64.whl → 3.3.1.post21__cp312-cp312-win_amd64.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.

Potentially problematic release.


This version of triton-windows might be problematic. Click here for more details.

Files changed (116) hide show
  1. triton/_C/libtriton.pyd +0 -0
  2. triton/__init__.py +1 -1
  3. triton/backends/amd/driver.py +6 -1
  4. triton/backends/nvidia/compiler.py +1 -3
  5. triton/backends/nvidia/driver.py +7 -3
  6. triton/runtime/autotuner.py +2 -2
  7. triton/runtime/build.py +5 -5
  8. triton/runtime/tcc/lib/python310.def +1610 -0
  9. triton/runtime/tcc/lib/python311.def +1633 -0
  10. triton/runtime/tcc/lib/python312.def +1703 -0
  11. triton/runtime/tcc/lib/python313.def +1651 -0
  12. triton/runtime/tcc/lib/python313t.def +1656 -0
  13. triton/runtime/tcc/lib/python39.def +1644 -0
  14. triton/runtime/tcc/lib/python3t.def +905 -0
  15. triton/windows_utils.py +11 -4
  16. {triton_windows-3.3.0.post19.dist-info → triton_windows-3.3.1.post21.dist-info}/METADATA +1 -1
  17. {triton_windows-3.3.0.post19.dist-info → triton_windows-3.3.1.post21.dist-info}/RECORD +19 -109
  18. {triton_windows-3.3.0.post19.dist-info → triton_windows-3.3.1.post21.dist-info}/WHEEL +1 -1
  19. triton/backends/amd/include/hip/amd_detail/amd_channel_descriptor.h +0 -358
  20. triton/backends/amd/include/hip/amd_detail/amd_device_functions.h +0 -1010
  21. triton/backends/amd/include/hip/amd_detail/amd_hip_atomic.h +0 -1638
  22. triton/backends/amd/include/hip/amd_detail/amd_hip_bf16.h +0 -1814
  23. triton/backends/amd/include/hip/amd_detail/amd_hip_bfloat16.h +0 -293
  24. triton/backends/amd/include/hip/amd_detail/amd_hip_common.h +0 -32
  25. triton/backends/amd/include/hip/amd_detail/amd_hip_complex.h +0 -174
  26. triton/backends/amd/include/hip/amd_detail/amd_hip_cooperative_groups.h +0 -835
  27. triton/backends/amd/include/hip/amd_detail/amd_hip_fp16.h +0 -1809
  28. triton/backends/amd/include/hip/amd_detail/amd_hip_fp8.h +0 -1391
  29. triton/backends/amd/include/hip/amd_detail/amd_hip_gl_interop.h +0 -108
  30. triton/backends/amd/include/hip/amd_detail/amd_hip_math_constants.h +0 -124
  31. triton/backends/amd/include/hip/amd_detail/amd_hip_runtime.h +0 -405
  32. triton/backends/amd/include/hip/amd_detail/amd_hip_runtime_pt_api.h +0 -196
  33. triton/backends/amd/include/hip/amd_detail/amd_hip_unsafe_atomics.h +0 -565
  34. triton/backends/amd/include/hip/amd_detail/amd_hip_vector_types.h +0 -2226
  35. triton/backends/amd/include/hip/amd_detail/amd_math_functions.h +0 -104
  36. triton/backends/amd/include/hip/amd_detail/amd_surface_functions.h +0 -244
  37. triton/backends/amd/include/hip/amd_detail/amd_warp_functions.h +0 -538
  38. triton/backends/amd/include/hip/amd_detail/amd_warp_sync_functions.h +0 -288
  39. triton/backends/amd/include/hip/amd_detail/concepts.hpp +0 -30
  40. triton/backends/amd/include/hip/amd_detail/device_library_decls.h +0 -133
  41. triton/backends/amd/include/hip/amd_detail/functional_grid_launch.hpp +0 -218
  42. triton/backends/amd/include/hip/amd_detail/grid_launch.h +0 -67
  43. triton/backends/amd/include/hip/amd_detail/grid_launch.hpp +0 -50
  44. triton/backends/amd/include/hip/amd_detail/grid_launch_GGL.hpp +0 -26
  45. triton/backends/amd/include/hip/amd_detail/helpers.hpp +0 -137
  46. triton/backends/amd/include/hip/amd_detail/hip_api_trace.hpp +0 -1446
  47. triton/backends/amd/include/hip/amd_detail/hip_assert.h +0 -101
  48. triton/backends/amd/include/hip/amd_detail/hip_cooperative_groups_helper.h +0 -242
  49. triton/backends/amd/include/hip/amd_detail/hip_fp16_gcc.h +0 -254
  50. triton/backends/amd/include/hip/amd_detail/hip_fp16_math_fwd.h +0 -96
  51. triton/backends/amd/include/hip/amd_detail/hip_ldg.h +0 -100
  52. triton/backends/amd/include/hip/amd_detail/hip_prof_str.h +0 -10570
  53. triton/backends/amd/include/hip/amd_detail/hip_runtime_prof.h +0 -78
  54. triton/backends/amd/include/hip/amd_detail/host_defines.h +0 -184
  55. triton/backends/amd/include/hip/amd_detail/hsa_helpers.hpp +0 -102
  56. triton/backends/amd/include/hip/amd_detail/macro_based_grid_launch.hpp +0 -798
  57. triton/backends/amd/include/hip/amd_detail/math_fwd.h +0 -698
  58. triton/backends/amd/include/hip/amd_detail/ockl_image.h +0 -177
  59. triton/backends/amd/include/hip/amd_detail/program_state.hpp +0 -107
  60. triton/backends/amd/include/hip/amd_detail/texture_fetch_functions.h +0 -491
  61. triton/backends/amd/include/hip/amd_detail/texture_indirect_functions.h +0 -478
  62. triton/backends/amd/include/hip/channel_descriptor.h +0 -39
  63. triton/backends/amd/include/hip/device_functions.h +0 -38
  64. triton/backends/amd/include/hip/driver_types.h +0 -468
  65. triton/backends/amd/include/hip/hip_bf16.h +0 -36
  66. triton/backends/amd/include/hip/hip_bfloat16.h +0 -44
  67. triton/backends/amd/include/hip/hip_common.h +0 -100
  68. triton/backends/amd/include/hip/hip_complex.h +0 -38
  69. triton/backends/amd/include/hip/hip_cooperative_groups.h +0 -46
  70. triton/backends/amd/include/hip/hip_deprecated.h +0 -95
  71. triton/backends/amd/include/hip/hip_ext.h +0 -161
  72. triton/backends/amd/include/hip/hip_fp16.h +0 -36
  73. triton/backends/amd/include/hip/hip_fp8.h +0 -33
  74. triton/backends/amd/include/hip/hip_gl_interop.h +0 -32
  75. triton/backends/amd/include/hip/hip_hcc.h +0 -24
  76. triton/backends/amd/include/hip/hip_math_constants.h +0 -36
  77. triton/backends/amd/include/hip/hip_profile.h +0 -27
  78. triton/backends/amd/include/hip/hip_runtime.h +0 -75
  79. triton/backends/amd/include/hip/hip_runtime_api.h +0 -9261
  80. triton/backends/amd/include/hip/hip_texture_types.h +0 -29
  81. triton/backends/amd/include/hip/hip_vector_types.h +0 -41
  82. triton/backends/amd/include/hip/hip_version.h +0 -17
  83. triton/backends/amd/include/hip/hiprtc.h +0 -421
  84. triton/backends/amd/include/hip/library_types.h +0 -78
  85. triton/backends/amd/include/hip/math_functions.h +0 -42
  86. triton/backends/amd/include/hip/surface_types.h +0 -63
  87. triton/backends/amd/include/hip/texture_types.h +0 -194
  88. triton/backends/amd/include/hsa/Brig.h +0 -1131
  89. triton/backends/amd/include/hsa/amd_hsa_common.h +0 -91
  90. triton/backends/amd/include/hsa/amd_hsa_elf.h +0 -462
  91. triton/backends/amd/include/hsa/amd_hsa_kernel_code.h +0 -269
  92. triton/backends/amd/include/hsa/amd_hsa_queue.h +0 -109
  93. triton/backends/amd/include/hsa/amd_hsa_signal.h +0 -80
  94. triton/backends/amd/include/hsa/hsa.h +0 -5738
  95. triton/backends/amd/include/hsa/hsa_amd_tool.h +0 -91
  96. triton/backends/amd/include/hsa/hsa_api_trace.h +0 -579
  97. triton/backends/amd/include/hsa/hsa_api_trace_version.h +0 -68
  98. triton/backends/amd/include/hsa/hsa_ext_amd.h +0 -3146
  99. triton/backends/amd/include/hsa/hsa_ext_finalize.h +0 -531
  100. triton/backends/amd/include/hsa/hsa_ext_image.h +0 -1454
  101. triton/backends/amd/include/hsa/hsa_ven_amd_aqlprofile.h +0 -488
  102. triton/backends/amd/include/hsa/hsa_ven_amd_loader.h +0 -667
  103. triton/backends/amd/include/hsa/hsa_ven_amd_pc_sampling.h +0 -416
  104. triton/backends/amd/include/roctracer/ext/prof_protocol.h +0 -107
  105. triton/backends/amd/include/roctracer/hip_ostream_ops.h +0 -4515
  106. triton/backends/amd/include/roctracer/hsa_ostream_ops.h +0 -1727
  107. triton/backends/amd/include/roctracer/hsa_prof_str.h +0 -3059
  108. triton/backends/amd/include/roctracer/roctracer.h +0 -779
  109. triton/backends/amd/include/roctracer/roctracer_ext.h +0 -81
  110. triton/backends/amd/include/roctracer/roctracer_hcc.h +0 -24
  111. triton/backends/amd/include/roctracer/roctracer_hip.h +0 -37
  112. triton/backends/amd/include/roctracer/roctracer_hsa.h +0 -112
  113. triton/backends/amd/include/roctracer/roctracer_plugin.h +0 -137
  114. triton/backends/amd/include/roctracer/roctracer_roctx.h +0 -67
  115. triton/backends/amd/include/roctracer/roctx.h +0 -229
  116. {triton_windows-3.3.0.post19.dist-info → triton_windows-3.3.1.post21.dist-info}/top_level.txt +0 -0
@@ -1,1727 +0,0 @@
1
- // automatically generated
2
- /*
3
- Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
22
- */
23
-
24
- #ifndef INC_HSA_OSTREAM_OPS_H_
25
- #define INC_HSA_OSTREAM_OPS_H_
26
-
27
- #include "roctracer.h"
28
-
29
- #ifdef __cplusplus
30
- #include <iostream>
31
- #include <iomanip>
32
- #include <string>
33
- #include <cstring>
34
-
35
- namespace roctracer {
36
- namespace hsa_support {
37
- static int HSA_depth_max = 1;
38
- static int HSA_depth_max_cnt = 0;
39
- static std::string HSA_structs_regex = "";
40
- // begin ostream ops for HSA
41
- // basic ostream ops
42
- namespace detail {
43
- inline static void print_escaped_string(std::ostream& out, const char *v, size_t len) {
44
- out << '"';
45
- for (size_t i = 0; i < len && v[i]; ++i) {
46
- switch (v[i]) {
47
- case '\"': out << "\\\""; break;
48
- case '\\': out << "\\\\"; break;
49
- case '\b': out << "\\\b"; break;
50
- case '\f': out << "\\\f"; break;
51
- case '\n': out << "\\\n"; break;
52
- case '\r': out << "\\\r"; break;
53
- case '\t': out << "\\\t"; break;
54
- default:
55
- if (std::isprint((unsigned char)v[i])) std::operator<<(out, v[i]);
56
- else {
57
- std::ios_base::fmtflags flags(out.flags());
58
- out << "\\x" << std::setfill('0') << std::setw(2) << std::hex << (unsigned int)(unsigned char)v[i];
59
- out.flags(flags);
60
- }
61
- break;
62
- }
63
- }
64
- out << '"';
65
- }
66
-
67
- template <typename T>
68
- inline static std::ostream& operator<<(std::ostream& out, const T& v) {
69
- using std::operator<<;
70
- static bool recursion = false;
71
- if (recursion == false) { recursion = true; out << v; recursion = false; }
72
- return out;
73
- }
74
-
75
- inline static std::ostream &operator<<(std::ostream &out, const unsigned char &v) {
76
- out << (unsigned int)v;
77
- return out;
78
- }
79
-
80
- inline static std::ostream &operator<<(std::ostream &out, const char &v) {
81
- out << (unsigned char)v;
82
- return out;
83
- }
84
-
85
- template <size_t N>
86
- inline static std::ostream &operator<<(std::ostream &out, const char (&v)[N]) {
87
- print_escaped_string(out, v, N);
88
- return out;
89
- }
90
-
91
- inline static std::ostream &operator<<(std::ostream &out, const char *v) {
92
- print_escaped_string(out, v, strlen(v));
93
- return out;
94
- }
95
- // End of basic ostream ops
96
-
97
- inline static std::ostream& operator<<(std::ostream& out, const hsa_dim3_t& v)
98
- {
99
- std::operator<<(out, '{');
100
- HSA_depth_max_cnt++;
101
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
102
- if (std::string("hsa_dim3_t::z").find(HSA_structs_regex) != std::string::npos) {
103
- std::operator<<(out, "z=");
104
- roctracer::hsa_support::detail::operator<<(out, v.z);
105
- std::operator<<(out, ", ");
106
- }
107
- if (std::string("hsa_dim3_t::y").find(HSA_structs_regex) != std::string::npos) {
108
- std::operator<<(out, "y=");
109
- roctracer::hsa_support::detail::operator<<(out, v.y);
110
- std::operator<<(out, ", ");
111
- }
112
- if (std::string("hsa_dim3_t::x").find(HSA_structs_regex) != std::string::npos) {
113
- std::operator<<(out, "x=");
114
- roctracer::hsa_support::detail::operator<<(out, v.x);
115
- }
116
- };
117
- HSA_depth_max_cnt--;
118
- std::operator<<(out, '}');
119
- return out;
120
- }
121
- inline static std::ostream& operator<<(std::ostream& out, const hsa_agent_t& v)
122
- {
123
- std::operator<<(out, '{');
124
- HSA_depth_max_cnt++;
125
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
126
- if (std::string("hsa_agent_t::handle").find(HSA_structs_regex) != std::string::npos) {
127
- std::operator<<(out, "handle=");
128
- roctracer::hsa_support::detail::operator<<(out, v.handle);
129
- }
130
- };
131
- HSA_depth_max_cnt--;
132
- std::operator<<(out, '}');
133
- return out;
134
- }
135
- inline static std::ostream& operator<<(std::ostream& out, const hsa_cache_t& v)
136
- {
137
- std::operator<<(out, '{');
138
- HSA_depth_max_cnt++;
139
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
140
- if (std::string("hsa_cache_t::handle").find(HSA_structs_regex) != std::string::npos) {
141
- std::operator<<(out, "handle=");
142
- roctracer::hsa_support::detail::operator<<(out, v.handle);
143
- }
144
- };
145
- HSA_depth_max_cnt--;
146
- std::operator<<(out, '}');
147
- return out;
148
- }
149
- inline static std::ostream& operator<<(std::ostream& out, const hsa_signal_t& v)
150
- {
151
- std::operator<<(out, '{');
152
- HSA_depth_max_cnt++;
153
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
154
- if (std::string("hsa_signal_t::handle").find(HSA_structs_regex) != std::string::npos) {
155
- std::operator<<(out, "handle=");
156
- roctracer::hsa_support::detail::operator<<(out, v.handle);
157
- }
158
- };
159
- HSA_depth_max_cnt--;
160
- std::operator<<(out, '}');
161
- return out;
162
- }
163
- inline static std::ostream& operator<<(std::ostream& out, const hsa_signal_group_t& v)
164
- {
165
- std::operator<<(out, '{');
166
- HSA_depth_max_cnt++;
167
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
168
- if (std::string("hsa_signal_group_t::handle").find(HSA_structs_regex) != std::string::npos) {
169
- std::operator<<(out, "handle=");
170
- roctracer::hsa_support::detail::operator<<(out, v.handle);
171
- }
172
- };
173
- HSA_depth_max_cnt--;
174
- std::operator<<(out, '}');
175
- return out;
176
- }
177
- inline static std::ostream& operator<<(std::ostream& out, const hsa_region_t& v)
178
- {
179
- std::operator<<(out, '{');
180
- HSA_depth_max_cnt++;
181
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
182
- if (std::string("hsa_region_t::handle").find(HSA_structs_regex) != std::string::npos) {
183
- std::operator<<(out, "handle=");
184
- roctracer::hsa_support::detail::operator<<(out, v.handle);
185
- }
186
- };
187
- HSA_depth_max_cnt--;
188
- std::operator<<(out, '}');
189
- return out;
190
- }
191
- inline static std::ostream& operator<<(std::ostream& out, const hsa_queue_t& v)
192
- {
193
- std::operator<<(out, '{');
194
- HSA_depth_max_cnt++;
195
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
196
- if (std::string("hsa_queue_t::id").find(HSA_structs_regex) != std::string::npos) {
197
- std::operator<<(out, "id=");
198
- roctracer::hsa_support::detail::operator<<(out, v.id);
199
- std::operator<<(out, ", ");
200
- }
201
- if (std::string("hsa_queue_t::reserved1").find(HSA_structs_regex) != std::string::npos) {
202
- std::operator<<(out, "reserved1=");
203
- roctracer::hsa_support::detail::operator<<(out, v.reserved1);
204
- std::operator<<(out, ", ");
205
- }
206
- if (std::string("hsa_queue_t::size").find(HSA_structs_regex) != std::string::npos) {
207
- std::operator<<(out, "size=");
208
- roctracer::hsa_support::detail::operator<<(out, v.size);
209
- std::operator<<(out, ", ");
210
- }
211
- if (std::string("hsa_queue_t::doorbell_signal").find(HSA_structs_regex) != std::string::npos) {
212
- std::operator<<(out, "doorbell_signal=");
213
- roctracer::hsa_support::detail::operator<<(out, v.doorbell_signal);
214
- std::operator<<(out, ", ");
215
- }
216
- if (std::string("hsa_queue_t::features").find(HSA_structs_regex) != std::string::npos) {
217
- std::operator<<(out, "features=");
218
- roctracer::hsa_support::detail::operator<<(out, v.features);
219
- std::operator<<(out, ", ");
220
- }
221
- if (std::string("hsa_queue_t::type").find(HSA_structs_regex) != std::string::npos) {
222
- std::operator<<(out, "type=");
223
- roctracer::hsa_support::detail::operator<<(out, v.type);
224
- }
225
- };
226
- HSA_depth_max_cnt--;
227
- std::operator<<(out, '}');
228
- return out;
229
- }
230
- inline static std::ostream& operator<<(std::ostream& out, const hsa_kernel_dispatch_packet_t& v)
231
- {
232
- std::operator<<(out, '{');
233
- HSA_depth_max_cnt++;
234
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
235
- if (std::string("hsa_kernel_dispatch_packet_t::completion_signal").find(HSA_structs_regex) != std::string::npos) {
236
- std::operator<<(out, "completion_signal=");
237
- roctracer::hsa_support::detail::operator<<(out, v.completion_signal);
238
- std::operator<<(out, ", ");
239
- }
240
- if (std::string("hsa_kernel_dispatch_packet_t::reserved2").find(HSA_structs_regex) != std::string::npos) {
241
- std::operator<<(out, "reserved2=");
242
- roctracer::hsa_support::detail::operator<<(out, v.reserved2);
243
- std::operator<<(out, ", ");
244
- }
245
- if (std::string("hsa_kernel_dispatch_packet_t::kernel_object").find(HSA_structs_regex) != std::string::npos) {
246
- std::operator<<(out, "kernel_object=");
247
- roctracer::hsa_support::detail::operator<<(out, v.kernel_object);
248
- std::operator<<(out, ", ");
249
- }
250
- if (std::string("hsa_kernel_dispatch_packet_t::group_segment_size").find(HSA_structs_regex) != std::string::npos) {
251
- std::operator<<(out, "group_segment_size=");
252
- roctracer::hsa_support::detail::operator<<(out, v.group_segment_size);
253
- std::operator<<(out, ", ");
254
- }
255
- if (std::string("hsa_kernel_dispatch_packet_t::private_segment_size").find(HSA_structs_regex) != std::string::npos) {
256
- std::operator<<(out, "private_segment_size=");
257
- roctracer::hsa_support::detail::operator<<(out, v.private_segment_size);
258
- std::operator<<(out, ", ");
259
- }
260
- if (std::string("hsa_kernel_dispatch_packet_t::grid_size_z").find(HSA_structs_regex) != std::string::npos) {
261
- std::operator<<(out, "grid_size_z=");
262
- roctracer::hsa_support::detail::operator<<(out, v.grid_size_z);
263
- std::operator<<(out, ", ");
264
- }
265
- if (std::string("hsa_kernel_dispatch_packet_t::grid_size_y").find(HSA_structs_regex) != std::string::npos) {
266
- std::operator<<(out, "grid_size_y=");
267
- roctracer::hsa_support::detail::operator<<(out, v.grid_size_y);
268
- std::operator<<(out, ", ");
269
- }
270
- if (std::string("hsa_kernel_dispatch_packet_t::grid_size_x").find(HSA_structs_regex) != std::string::npos) {
271
- std::operator<<(out, "grid_size_x=");
272
- roctracer::hsa_support::detail::operator<<(out, v.grid_size_x);
273
- std::operator<<(out, ", ");
274
- }
275
- if (std::string("hsa_kernel_dispatch_packet_t::reserved0").find(HSA_structs_regex) != std::string::npos) {
276
- std::operator<<(out, "reserved0=");
277
- roctracer::hsa_support::detail::operator<<(out, v.reserved0);
278
- std::operator<<(out, ", ");
279
- }
280
- if (std::string("hsa_kernel_dispatch_packet_t::workgroup_size_z").find(HSA_structs_regex) != std::string::npos) {
281
- std::operator<<(out, "workgroup_size_z=");
282
- roctracer::hsa_support::detail::operator<<(out, v.workgroup_size_z);
283
- std::operator<<(out, ", ");
284
- }
285
- if (std::string("hsa_kernel_dispatch_packet_t::workgroup_size_y").find(HSA_structs_regex) != std::string::npos) {
286
- std::operator<<(out, "workgroup_size_y=");
287
- roctracer::hsa_support::detail::operator<<(out, v.workgroup_size_y);
288
- std::operator<<(out, ", ");
289
- }
290
- if (std::string("hsa_kernel_dispatch_packet_t::workgroup_size_x").find(HSA_structs_regex) != std::string::npos) {
291
- std::operator<<(out, "workgroup_size_x=");
292
- roctracer::hsa_support::detail::operator<<(out, v.workgroup_size_x);
293
- std::operator<<(out, ", ");
294
- }
295
- if (std::string("hsa_kernel_dispatch_packet_t::setup").find(HSA_structs_regex) != std::string::npos) {
296
- std::operator<<(out, "setup=");
297
- roctracer::hsa_support::detail::operator<<(out, v.setup);
298
- std::operator<<(out, ", ");
299
- }
300
- if (std::string("hsa_kernel_dispatch_packet_t::header").find(HSA_structs_regex) != std::string::npos) {
301
- std::operator<<(out, "header=");
302
- roctracer::hsa_support::detail::operator<<(out, v.header);
303
- }
304
- };
305
- HSA_depth_max_cnt--;
306
- std::operator<<(out, '}');
307
- return out;
308
- }
309
- inline static std::ostream& operator<<(std::ostream& out, const hsa_agent_dispatch_packet_t& v)
310
- {
311
- std::operator<<(out, '{');
312
- HSA_depth_max_cnt++;
313
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
314
- if (std::string("hsa_agent_dispatch_packet_t::completion_signal").find(HSA_structs_regex) != std::string::npos) {
315
- std::operator<<(out, "completion_signal=");
316
- roctracer::hsa_support::detail::operator<<(out, v.completion_signal);
317
- std::operator<<(out, ", ");
318
- }
319
- if (std::string("hsa_agent_dispatch_packet_t::reserved2").find(HSA_structs_regex) != std::string::npos) {
320
- std::operator<<(out, "reserved2=");
321
- roctracer::hsa_support::detail::operator<<(out, v.reserved2);
322
- std::operator<<(out, ", ");
323
- }
324
- if (std::string("hsa_agent_dispatch_packet_t::arg").find(HSA_structs_regex) != std::string::npos) {
325
- std::operator<<(out, "arg=");
326
- roctracer::hsa_support::detail::operator<<(out, v.arg);
327
- std::operator<<(out, ", ");
328
- }
329
- if (std::string("hsa_agent_dispatch_packet_t::reserved0").find(HSA_structs_regex) != std::string::npos) {
330
- std::operator<<(out, "reserved0=");
331
- roctracer::hsa_support::detail::operator<<(out, v.reserved0);
332
- std::operator<<(out, ", ");
333
- }
334
- if (std::string("hsa_agent_dispatch_packet_t::type").find(HSA_structs_regex) != std::string::npos) {
335
- std::operator<<(out, "type=");
336
- roctracer::hsa_support::detail::operator<<(out, v.type);
337
- std::operator<<(out, ", ");
338
- }
339
- if (std::string("hsa_agent_dispatch_packet_t::header").find(HSA_structs_regex) != std::string::npos) {
340
- std::operator<<(out, "header=");
341
- roctracer::hsa_support::detail::operator<<(out, v.header);
342
- }
343
- };
344
- HSA_depth_max_cnt--;
345
- std::operator<<(out, '}');
346
- return out;
347
- }
348
- inline static std::ostream& operator<<(std::ostream& out, const hsa_barrier_and_packet_t& v)
349
- {
350
- std::operator<<(out, '{');
351
- HSA_depth_max_cnt++;
352
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
353
- if (std::string("hsa_barrier_and_packet_t::completion_signal").find(HSA_structs_regex) != std::string::npos) {
354
- std::operator<<(out, "completion_signal=");
355
- roctracer::hsa_support::detail::operator<<(out, v.completion_signal);
356
- std::operator<<(out, ", ");
357
- }
358
- if (std::string("hsa_barrier_and_packet_t::reserved2").find(HSA_structs_regex) != std::string::npos) {
359
- std::operator<<(out, "reserved2=");
360
- roctracer::hsa_support::detail::operator<<(out, v.reserved2);
361
- std::operator<<(out, ", ");
362
- }
363
- if (std::string("hsa_barrier_and_packet_t::dep_signal").find(HSA_structs_regex) != std::string::npos) {
364
- std::operator<<(out, "dep_signal=");
365
- roctracer::hsa_support::detail::operator<<(out, v.dep_signal);
366
- std::operator<<(out, ", ");
367
- }
368
- if (std::string("hsa_barrier_and_packet_t::reserved1").find(HSA_structs_regex) != std::string::npos) {
369
- std::operator<<(out, "reserved1=");
370
- roctracer::hsa_support::detail::operator<<(out, v.reserved1);
371
- std::operator<<(out, ", ");
372
- }
373
- if (std::string("hsa_barrier_and_packet_t::reserved0").find(HSA_structs_regex) != std::string::npos) {
374
- std::operator<<(out, "reserved0=");
375
- roctracer::hsa_support::detail::operator<<(out, v.reserved0);
376
- std::operator<<(out, ", ");
377
- }
378
- if (std::string("hsa_barrier_and_packet_t::header").find(HSA_structs_regex) != std::string::npos) {
379
- std::operator<<(out, "header=");
380
- roctracer::hsa_support::detail::operator<<(out, v.header);
381
- }
382
- };
383
- HSA_depth_max_cnt--;
384
- std::operator<<(out, '}');
385
- return out;
386
- }
387
- inline static std::ostream& operator<<(std::ostream& out, const hsa_barrier_or_packet_t& v)
388
- {
389
- std::operator<<(out, '{');
390
- HSA_depth_max_cnt++;
391
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
392
- if (std::string("hsa_barrier_or_packet_t::completion_signal").find(HSA_structs_regex) != std::string::npos) {
393
- std::operator<<(out, "completion_signal=");
394
- roctracer::hsa_support::detail::operator<<(out, v.completion_signal);
395
- std::operator<<(out, ", ");
396
- }
397
- if (std::string("hsa_barrier_or_packet_t::reserved2").find(HSA_structs_regex) != std::string::npos) {
398
- std::operator<<(out, "reserved2=");
399
- roctracer::hsa_support::detail::operator<<(out, v.reserved2);
400
- std::operator<<(out, ", ");
401
- }
402
- if (std::string("hsa_barrier_or_packet_t::dep_signal").find(HSA_structs_regex) != std::string::npos) {
403
- std::operator<<(out, "dep_signal=");
404
- roctracer::hsa_support::detail::operator<<(out, v.dep_signal);
405
- std::operator<<(out, ", ");
406
- }
407
- if (std::string("hsa_barrier_or_packet_t::reserved1").find(HSA_structs_regex) != std::string::npos) {
408
- std::operator<<(out, "reserved1=");
409
- roctracer::hsa_support::detail::operator<<(out, v.reserved1);
410
- std::operator<<(out, ", ");
411
- }
412
- if (std::string("hsa_barrier_or_packet_t::reserved0").find(HSA_structs_regex) != std::string::npos) {
413
- std::operator<<(out, "reserved0=");
414
- roctracer::hsa_support::detail::operator<<(out, v.reserved0);
415
- std::operator<<(out, ", ");
416
- }
417
- if (std::string("hsa_barrier_or_packet_t::header").find(HSA_structs_regex) != std::string::npos) {
418
- std::operator<<(out, "header=");
419
- roctracer::hsa_support::detail::operator<<(out, v.header);
420
- }
421
- };
422
- HSA_depth_max_cnt--;
423
- std::operator<<(out, '}');
424
- return out;
425
- }
426
- inline static std::ostream& operator<<(std::ostream& out, const hsa_isa_t& v)
427
- {
428
- std::operator<<(out, '{');
429
- HSA_depth_max_cnt++;
430
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
431
- if (std::string("hsa_isa_t::handle").find(HSA_structs_regex) != std::string::npos) {
432
- std::operator<<(out, "handle=");
433
- roctracer::hsa_support::detail::operator<<(out, v.handle);
434
- }
435
- };
436
- HSA_depth_max_cnt--;
437
- std::operator<<(out, '}');
438
- return out;
439
- }
440
- inline static std::ostream& operator<<(std::ostream& out, const hsa_wavefront_t& v)
441
- {
442
- std::operator<<(out, '{');
443
- HSA_depth_max_cnt++;
444
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
445
- if (std::string("hsa_wavefront_t::handle").find(HSA_structs_regex) != std::string::npos) {
446
- std::operator<<(out, "handle=");
447
- roctracer::hsa_support::detail::operator<<(out, v.handle);
448
- }
449
- };
450
- HSA_depth_max_cnt--;
451
- std::operator<<(out, '}');
452
- return out;
453
- }
454
- inline static std::ostream& operator<<(std::ostream& out, const hsa_code_object_reader_t& v)
455
- {
456
- std::operator<<(out, '{');
457
- HSA_depth_max_cnt++;
458
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
459
- if (std::string("hsa_code_object_reader_t::handle").find(HSA_structs_regex) != std::string::npos) {
460
- std::operator<<(out, "handle=");
461
- roctracer::hsa_support::detail::operator<<(out, v.handle);
462
- }
463
- };
464
- HSA_depth_max_cnt--;
465
- std::operator<<(out, '}');
466
- return out;
467
- }
468
- inline static std::ostream& operator<<(std::ostream& out, const hsa_executable_t& v)
469
- {
470
- std::operator<<(out, '{');
471
- HSA_depth_max_cnt++;
472
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
473
- if (std::string("hsa_executable_t::handle").find(HSA_structs_regex) != std::string::npos) {
474
- std::operator<<(out, "handle=");
475
- roctracer::hsa_support::detail::operator<<(out, v.handle);
476
- }
477
- };
478
- HSA_depth_max_cnt--;
479
- std::operator<<(out, '}');
480
- return out;
481
- }
482
- inline static std::ostream& operator<<(std::ostream& out, const hsa_loaded_code_object_t& v)
483
- {
484
- std::operator<<(out, '{');
485
- HSA_depth_max_cnt++;
486
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
487
- if (std::string("hsa_loaded_code_object_t::handle").find(HSA_structs_regex) != std::string::npos) {
488
- std::operator<<(out, "handle=");
489
- roctracer::hsa_support::detail::operator<<(out, v.handle);
490
- }
491
- };
492
- HSA_depth_max_cnt--;
493
- std::operator<<(out, '}');
494
- return out;
495
- }
496
- inline static std::ostream& operator<<(std::ostream& out, const hsa_executable_symbol_t& v)
497
- {
498
- std::operator<<(out, '{');
499
- HSA_depth_max_cnt++;
500
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
501
- if (std::string("hsa_executable_symbol_t::handle").find(HSA_structs_regex) != std::string::npos) {
502
- std::operator<<(out, "handle=");
503
- roctracer::hsa_support::detail::operator<<(out, v.handle);
504
- }
505
- };
506
- HSA_depth_max_cnt--;
507
- std::operator<<(out, '}');
508
- return out;
509
- }
510
- inline static std::ostream& operator<<(std::ostream& out, const hsa_code_object_t& v)
511
- {
512
- std::operator<<(out, '{');
513
- HSA_depth_max_cnt++;
514
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
515
- if (std::string("hsa_code_object_t::handle").find(HSA_structs_regex) != std::string::npos) {
516
- std::operator<<(out, "handle=");
517
- roctracer::hsa_support::detail::operator<<(out, v.handle);
518
- }
519
- };
520
- HSA_depth_max_cnt--;
521
- std::operator<<(out, '}');
522
- return out;
523
- }
524
- inline static std::ostream& operator<<(std::ostream& out, const hsa_callback_data_t& v)
525
- {
526
- std::operator<<(out, '{');
527
- HSA_depth_max_cnt++;
528
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
529
- if (std::string("hsa_callback_data_t::handle").find(HSA_structs_regex) != std::string::npos) {
530
- std::operator<<(out, "handle=");
531
- roctracer::hsa_support::detail::operator<<(out, v.handle);
532
- }
533
- };
534
- HSA_depth_max_cnt--;
535
- std::operator<<(out, '}');
536
- return out;
537
- }
538
- inline static std::ostream& operator<<(std::ostream& out, const hsa_code_symbol_t& v)
539
- {
540
- std::operator<<(out, '{');
541
- HSA_depth_max_cnt++;
542
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
543
- if (std::string("hsa_code_symbol_t::handle").find(HSA_structs_regex) != std::string::npos) {
544
- std::operator<<(out, "handle=");
545
- roctracer::hsa_support::detail::operator<<(out, v.handle);
546
- }
547
- };
548
- HSA_depth_max_cnt--;
549
- std::operator<<(out, '}');
550
- return out;
551
- }
552
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_image_t& v)
553
- {
554
- std::operator<<(out, '{');
555
- HSA_depth_max_cnt++;
556
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
557
- if (std::string("hsa_ext_image_t::handle").find(HSA_structs_regex) != std::string::npos) {
558
- std::operator<<(out, "handle=");
559
- roctracer::hsa_support::detail::operator<<(out, v.handle);
560
- }
561
- };
562
- HSA_depth_max_cnt--;
563
- std::operator<<(out, '}');
564
- return out;
565
- }
566
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_image_format_t& v)
567
- {
568
- std::operator<<(out, '{');
569
- HSA_depth_max_cnt++;
570
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
571
- if (std::string("hsa_ext_image_format_t::channel_order").find(HSA_structs_regex) != std::string::npos) {
572
- std::operator<<(out, "channel_order=");
573
- roctracer::hsa_support::detail::operator<<(out, v.channel_order);
574
- std::operator<<(out, ", ");
575
- }
576
- if (std::string("hsa_ext_image_format_t::channel_type").find(HSA_structs_regex) != std::string::npos) {
577
- std::operator<<(out, "channel_type=");
578
- roctracer::hsa_support::detail::operator<<(out, v.channel_type);
579
- }
580
- };
581
- HSA_depth_max_cnt--;
582
- std::operator<<(out, '}');
583
- return out;
584
- }
585
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_image_descriptor_t& v)
586
- {
587
- std::operator<<(out, '{');
588
- HSA_depth_max_cnt++;
589
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
590
- if (std::string("hsa_ext_image_descriptor_t::format").find(HSA_structs_regex) != std::string::npos) {
591
- std::operator<<(out, "format=");
592
- roctracer::hsa_support::detail::operator<<(out, v.format);
593
- std::operator<<(out, ", ");
594
- }
595
- if (std::string("hsa_ext_image_descriptor_t::array_size").find(HSA_structs_regex) != std::string::npos) {
596
- std::operator<<(out, "array_size=");
597
- roctracer::hsa_support::detail::operator<<(out, v.array_size);
598
- std::operator<<(out, ", ");
599
- }
600
- if (std::string("hsa_ext_image_descriptor_t::depth").find(HSA_structs_regex) != std::string::npos) {
601
- std::operator<<(out, "depth=");
602
- roctracer::hsa_support::detail::operator<<(out, v.depth);
603
- std::operator<<(out, ", ");
604
- }
605
- if (std::string("hsa_ext_image_descriptor_t::height").find(HSA_structs_regex) != std::string::npos) {
606
- std::operator<<(out, "height=");
607
- roctracer::hsa_support::detail::operator<<(out, v.height);
608
- std::operator<<(out, ", ");
609
- }
610
- if (std::string("hsa_ext_image_descriptor_t::width").find(HSA_structs_regex) != std::string::npos) {
611
- std::operator<<(out, "width=");
612
- roctracer::hsa_support::detail::operator<<(out, v.width);
613
- std::operator<<(out, ", ");
614
- }
615
- if (std::string("hsa_ext_image_descriptor_t::geometry").find(HSA_structs_regex) != std::string::npos) {
616
- std::operator<<(out, "geometry=");
617
- roctracer::hsa_support::detail::operator<<(out, v.geometry);
618
- }
619
- };
620
- HSA_depth_max_cnt--;
621
- std::operator<<(out, '}');
622
- return out;
623
- }
624
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_image_data_info_t& v)
625
- {
626
- std::operator<<(out, '{');
627
- HSA_depth_max_cnt++;
628
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
629
- if (std::string("hsa_ext_image_data_info_t::alignment").find(HSA_structs_regex) != std::string::npos) {
630
- std::operator<<(out, "alignment=");
631
- roctracer::hsa_support::detail::operator<<(out, v.alignment);
632
- std::operator<<(out, ", ");
633
- }
634
- if (std::string("hsa_ext_image_data_info_t::size").find(HSA_structs_regex) != std::string::npos) {
635
- std::operator<<(out, "size=");
636
- roctracer::hsa_support::detail::operator<<(out, v.size);
637
- }
638
- };
639
- HSA_depth_max_cnt--;
640
- std::operator<<(out, '}');
641
- return out;
642
- }
643
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_image_region_t& v)
644
- {
645
- std::operator<<(out, '{');
646
- HSA_depth_max_cnt++;
647
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
648
- if (std::string("hsa_ext_image_region_t::range").find(HSA_structs_regex) != std::string::npos) {
649
- std::operator<<(out, "range=");
650
- roctracer::hsa_support::detail::operator<<(out, v.range);
651
- std::operator<<(out, ", ");
652
- }
653
- if (std::string("hsa_ext_image_region_t::offset").find(HSA_structs_regex) != std::string::npos) {
654
- std::operator<<(out, "offset=");
655
- roctracer::hsa_support::detail::operator<<(out, v.offset);
656
- }
657
- };
658
- HSA_depth_max_cnt--;
659
- std::operator<<(out, '}');
660
- return out;
661
- }
662
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_sampler_t& v)
663
- {
664
- std::operator<<(out, '{');
665
- HSA_depth_max_cnt++;
666
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
667
- if (std::string("hsa_ext_sampler_t::handle").find(HSA_structs_regex) != std::string::npos) {
668
- std::operator<<(out, "handle=");
669
- roctracer::hsa_support::detail::operator<<(out, v.handle);
670
- }
671
- };
672
- HSA_depth_max_cnt--;
673
- std::operator<<(out, '}');
674
- return out;
675
- }
676
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_sampler_descriptor_t& v)
677
- {
678
- std::operator<<(out, '{');
679
- HSA_depth_max_cnt++;
680
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
681
- if (std::string("hsa_ext_sampler_descriptor_t::address_mode").find(HSA_structs_regex) != std::string::npos) {
682
- std::operator<<(out, "address_mode=");
683
- roctracer::hsa_support::detail::operator<<(out, v.address_mode);
684
- std::operator<<(out, ", ");
685
- }
686
- if (std::string("hsa_ext_sampler_descriptor_t::filter_mode").find(HSA_structs_regex) != std::string::npos) {
687
- std::operator<<(out, "filter_mode=");
688
- roctracer::hsa_support::detail::operator<<(out, v.filter_mode);
689
- std::operator<<(out, ", ");
690
- }
691
- if (std::string("hsa_ext_sampler_descriptor_t::coordinate_mode").find(HSA_structs_regex) != std::string::npos) {
692
- std::operator<<(out, "coordinate_mode=");
693
- roctracer::hsa_support::detail::operator<<(out, v.coordinate_mode);
694
- }
695
- };
696
- HSA_depth_max_cnt--;
697
- std::operator<<(out, '}');
698
- return out;
699
- }
700
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_images_1_00_pfn_t& v)
701
- {
702
- std::operator<<(out, '{');
703
- HSA_depth_max_cnt++;
704
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
705
- if (std::string("hsa_ext_images_1_00_pfn_t::hsa_ext_sampler_destroy").find(HSA_structs_regex) != std::string::npos) {
706
- std::operator<<(out, "hsa_ext_sampler_destroy=");
707
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_sampler_destroy);
708
- std::operator<<(out, ", ");
709
- }
710
- if (std::string("hsa_ext_images_1_00_pfn_t::hsa_ext_sampler_create").find(HSA_structs_regex) != std::string::npos) {
711
- std::operator<<(out, "hsa_ext_sampler_create=");
712
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_sampler_create);
713
- std::operator<<(out, ", ");
714
- }
715
- if (std::string("hsa_ext_images_1_00_pfn_t::hsa_ext_image_copy").find(HSA_structs_regex) != std::string::npos) {
716
- std::operator<<(out, "hsa_ext_image_copy=");
717
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_image_copy);
718
- std::operator<<(out, ", ");
719
- }
720
- if (std::string("hsa_ext_images_1_00_pfn_t::hsa_ext_image_destroy").find(HSA_structs_regex) != std::string::npos) {
721
- std::operator<<(out, "hsa_ext_image_destroy=");
722
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_image_destroy);
723
- std::operator<<(out, ", ");
724
- }
725
- if (std::string("hsa_ext_images_1_00_pfn_t::hsa_ext_image_data_get_info").find(HSA_structs_regex) != std::string::npos) {
726
- std::operator<<(out, "hsa_ext_image_data_get_info=");
727
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_image_data_get_info);
728
- std::operator<<(out, ", ");
729
- }
730
- if (std::string("hsa_ext_images_1_00_pfn_t::hsa_ext_image_get_capability").find(HSA_structs_regex) != std::string::npos) {
731
- std::operator<<(out, "hsa_ext_image_get_capability=");
732
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_image_get_capability);
733
- }
734
- };
735
- HSA_depth_max_cnt--;
736
- std::operator<<(out, '}');
737
- return out;
738
- }
739
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_images_1_pfn_t& v)
740
- {
741
- std::operator<<(out, '{');
742
- HSA_depth_max_cnt++;
743
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
744
- if (std::string("hsa_ext_images_1_pfn_t::hsa_ext_image_data_get_info_with_layout").find(HSA_structs_regex) != std::string::npos) {
745
- std::operator<<(out, "hsa_ext_image_data_get_info_with_layout=");
746
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_image_data_get_info_with_layout);
747
- std::operator<<(out, ", ");
748
- }
749
- if (std::string("hsa_ext_images_1_pfn_t::hsa_ext_image_get_capability_with_layout").find(HSA_structs_regex) != std::string::npos) {
750
- std::operator<<(out, "hsa_ext_image_get_capability_with_layout=");
751
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_image_get_capability_with_layout);
752
- std::operator<<(out, ", ");
753
- }
754
- if (std::string("hsa_ext_images_1_pfn_t::hsa_ext_sampler_destroy").find(HSA_structs_regex) != std::string::npos) {
755
- std::operator<<(out, "hsa_ext_sampler_destroy=");
756
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_sampler_destroy);
757
- std::operator<<(out, ", ");
758
- }
759
- if (std::string("hsa_ext_images_1_pfn_t::hsa_ext_sampler_create").find(HSA_structs_regex) != std::string::npos) {
760
- std::operator<<(out, "hsa_ext_sampler_create=");
761
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_sampler_create);
762
- std::operator<<(out, ", ");
763
- }
764
- if (std::string("hsa_ext_images_1_pfn_t::hsa_ext_image_copy").find(HSA_structs_regex) != std::string::npos) {
765
- std::operator<<(out, "hsa_ext_image_copy=");
766
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_image_copy);
767
- std::operator<<(out, ", ");
768
- }
769
- if (std::string("hsa_ext_images_1_pfn_t::hsa_ext_image_destroy").find(HSA_structs_regex) != std::string::npos) {
770
- std::operator<<(out, "hsa_ext_image_destroy=");
771
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_image_destroy);
772
- std::operator<<(out, ", ");
773
- }
774
- if (std::string("hsa_ext_images_1_pfn_t::hsa_ext_image_data_get_info").find(HSA_structs_regex) != std::string::npos) {
775
- std::operator<<(out, "hsa_ext_image_data_get_info=");
776
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_image_data_get_info);
777
- std::operator<<(out, ", ");
778
- }
779
- if (std::string("hsa_ext_images_1_pfn_t::hsa_ext_image_get_capability").find(HSA_structs_regex) != std::string::npos) {
780
- std::operator<<(out, "hsa_ext_image_get_capability=");
781
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ext_image_get_capability);
782
- }
783
- };
784
- HSA_depth_max_cnt--;
785
- std::operator<<(out, '}');
786
- return out;
787
- }
788
- inline static std::ostream& operator<<(std::ostream& out, const perf_sample_hosttrap_v1_t& v)
789
- {
790
- std::operator<<(out, '{');
791
- HSA_depth_max_cnt++;
792
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
793
- if (std::string("perf_sample_hosttrap_v1_t::correlation_id").find(HSA_structs_regex) != std::string::npos) {
794
- std::operator<<(out, "correlation_id=");
795
- roctracer::hsa_support::detail::operator<<(out, v.correlation_id);
796
- std::operator<<(out, ", ");
797
- }
798
- if (std::string("perf_sample_hosttrap_v1_t::timestamp").find(HSA_structs_regex) != std::string::npos) {
799
- std::operator<<(out, "timestamp=");
800
- roctracer::hsa_support::detail::operator<<(out, v.timestamp);
801
- std::operator<<(out, ", ");
802
- }
803
- if (std::string("perf_sample_hosttrap_v1_t::reserved1").find(HSA_structs_regex) != std::string::npos) {
804
- std::operator<<(out, "reserved1=");
805
- roctracer::hsa_support::detail::operator<<(out, v.reserved1);
806
- std::operator<<(out, ", ");
807
- }
808
- if (std::string("perf_sample_hosttrap_v1_t::reserved0").find(HSA_structs_regex) != std::string::npos) {
809
- std::operator<<(out, "reserved0=");
810
- roctracer::hsa_support::detail::operator<<(out, v.reserved0);
811
- std::operator<<(out, ", ");
812
- }
813
- if (std::string("perf_sample_hosttrap_v1_t::hw_id").find(HSA_structs_regex) != std::string::npos) {
814
- std::operator<<(out, "hw_id=");
815
- roctracer::hsa_support::detail::operator<<(out, v.hw_id);
816
- std::operator<<(out, ", ");
817
- }
818
- if (std::string("perf_sample_hosttrap_v1_t::reserved").find(HSA_structs_regex) != std::string::npos) {
819
- std::operator<<(out, "reserved=");
820
- roctracer::hsa_support::detail::operator<<(out, v.reserved);
821
- std::operator<<(out, ", ");
822
- }
823
- if (std::string("perf_sample_hosttrap_v1_t::chiplet").find(HSA_structs_regex) != std::string::npos) {
824
- std::operator<<(out, "chiplet=");
825
- roctracer::hsa_support::detail::operator<<(out, v.chiplet);
826
- std::operator<<(out, ", ");
827
- }
828
- if (std::string("perf_sample_hosttrap_v1_t::wave_in_wg").find(HSA_structs_regex) != std::string::npos) {
829
- std::operator<<(out, "wave_in_wg=");
830
- roctracer::hsa_support::detail::operator<<(out, v.wave_in_wg);
831
- std::operator<<(out, ", ");
832
- }
833
- if (std::string("perf_sample_hosttrap_v1_t::workgroup_id_z").find(HSA_structs_regex) != std::string::npos) {
834
- std::operator<<(out, "workgroup_id_z=");
835
- roctracer::hsa_support::detail::operator<<(out, v.workgroup_id_z);
836
- std::operator<<(out, ", ");
837
- }
838
- if (std::string("perf_sample_hosttrap_v1_t::workgroup_id_y").find(HSA_structs_regex) != std::string::npos) {
839
- std::operator<<(out, "workgroup_id_y=");
840
- roctracer::hsa_support::detail::operator<<(out, v.workgroup_id_y);
841
- std::operator<<(out, ", ");
842
- }
843
- if (std::string("perf_sample_hosttrap_v1_t::workgroup_id_x").find(HSA_structs_regex) != std::string::npos) {
844
- std::operator<<(out, "workgroup_id_x=");
845
- roctracer::hsa_support::detail::operator<<(out, v.workgroup_id_x);
846
- std::operator<<(out, ", ");
847
- }
848
- if (std::string("perf_sample_hosttrap_v1_t::exec_mask").find(HSA_structs_regex) != std::string::npos) {
849
- std::operator<<(out, "exec_mask=");
850
- roctracer::hsa_support::detail::operator<<(out, v.exec_mask);
851
- std::operator<<(out, ", ");
852
- }
853
- if (std::string("perf_sample_hosttrap_v1_t::pc").find(HSA_structs_regex) != std::string::npos) {
854
- std::operator<<(out, "pc=");
855
- roctracer::hsa_support::detail::operator<<(out, v.pc);
856
- }
857
- };
858
- HSA_depth_max_cnt--;
859
- std::operator<<(out, '}');
860
- return out;
861
- }
862
- inline static std::ostream& operator<<(std::ostream& out, const perf_sample_snapshot_v1_t& v)
863
- {
864
- std::operator<<(out, '{');
865
- HSA_depth_max_cnt++;
866
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
867
- if (std::string("perf_sample_snapshot_v1_t::correlation_id").find(HSA_structs_regex) != std::string::npos) {
868
- std::operator<<(out, "correlation_id=");
869
- roctracer::hsa_support::detail::operator<<(out, v.correlation_id);
870
- std::operator<<(out, ", ");
871
- }
872
- if (std::string("perf_sample_snapshot_v1_t::timestamp").find(HSA_structs_regex) != std::string::npos) {
873
- std::operator<<(out, "timestamp=");
874
- roctracer::hsa_support::detail::operator<<(out, v.timestamp);
875
- std::operator<<(out, ", ");
876
- }
877
- if (std::string("perf_sample_snapshot_v1_t::perf_snapshot_data2").find(HSA_structs_regex) != std::string::npos) {
878
- std::operator<<(out, "perf_snapshot_data2=");
879
- roctracer::hsa_support::detail::operator<<(out, v.perf_snapshot_data2);
880
- std::operator<<(out, ", ");
881
- }
882
- if (std::string("perf_sample_snapshot_v1_t::perf_snapshot_data1").find(HSA_structs_regex) != std::string::npos) {
883
- std::operator<<(out, "perf_snapshot_data1=");
884
- roctracer::hsa_support::detail::operator<<(out, v.perf_snapshot_data1);
885
- std::operator<<(out, ", ");
886
- }
887
- if (std::string("perf_sample_snapshot_v1_t::perf_snapshot_data").find(HSA_structs_regex) != std::string::npos) {
888
- std::operator<<(out, "perf_snapshot_data=");
889
- roctracer::hsa_support::detail::operator<<(out, v.perf_snapshot_data);
890
- std::operator<<(out, ", ");
891
- }
892
- if (std::string("perf_sample_snapshot_v1_t::hw_id").find(HSA_structs_regex) != std::string::npos) {
893
- std::operator<<(out, "hw_id=");
894
- roctracer::hsa_support::detail::operator<<(out, v.hw_id);
895
- std::operator<<(out, ", ");
896
- }
897
- if (std::string("perf_sample_snapshot_v1_t::reserved").find(HSA_structs_regex) != std::string::npos) {
898
- std::operator<<(out, "reserved=");
899
- roctracer::hsa_support::detail::operator<<(out, v.reserved);
900
- std::operator<<(out, ", ");
901
- }
902
- if (std::string("perf_sample_snapshot_v1_t::chiplet").find(HSA_structs_regex) != std::string::npos) {
903
- std::operator<<(out, "chiplet=");
904
- roctracer::hsa_support::detail::operator<<(out, v.chiplet);
905
- std::operator<<(out, ", ");
906
- }
907
- if (std::string("perf_sample_snapshot_v1_t::wave_in_wg").find(HSA_structs_regex) != std::string::npos) {
908
- std::operator<<(out, "wave_in_wg=");
909
- roctracer::hsa_support::detail::operator<<(out, v.wave_in_wg);
910
- std::operator<<(out, ", ");
911
- }
912
- if (std::string("perf_sample_snapshot_v1_t::workgroup_id_z").find(HSA_structs_regex) != std::string::npos) {
913
- std::operator<<(out, "workgroup_id_z=");
914
- roctracer::hsa_support::detail::operator<<(out, v.workgroup_id_z);
915
- std::operator<<(out, ", ");
916
- }
917
- if (std::string("perf_sample_snapshot_v1_t::workgroup_id_y").find(HSA_structs_regex) != std::string::npos) {
918
- std::operator<<(out, "workgroup_id_y=");
919
- roctracer::hsa_support::detail::operator<<(out, v.workgroup_id_y);
920
- std::operator<<(out, ", ");
921
- }
922
- if (std::string("perf_sample_snapshot_v1_t::workgroup_id_x").find(HSA_structs_regex) != std::string::npos) {
923
- std::operator<<(out, "workgroup_id_x=");
924
- roctracer::hsa_support::detail::operator<<(out, v.workgroup_id_x);
925
- std::operator<<(out, ", ");
926
- }
927
- if (std::string("perf_sample_snapshot_v1_t::exec_mask").find(HSA_structs_regex) != std::string::npos) {
928
- std::operator<<(out, "exec_mask=");
929
- roctracer::hsa_support::detail::operator<<(out, v.exec_mask);
930
- std::operator<<(out, ", ");
931
- }
932
- if (std::string("perf_sample_snapshot_v1_t::pc").find(HSA_structs_regex) != std::string::npos) {
933
- std::operator<<(out, "pc=");
934
- roctracer::hsa_support::detail::operator<<(out, v.pc);
935
- }
936
- };
937
- HSA_depth_max_cnt--;
938
- std::operator<<(out, '}');
939
- return out;
940
- }
941
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ven_amd_pcs_t& v)
942
- {
943
- std::operator<<(out, '{');
944
- HSA_depth_max_cnt++;
945
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
946
- if (std::string("hsa_ven_amd_pcs_t::handle").find(HSA_structs_regex) != std::string::npos) {
947
- std::operator<<(out, "handle=");
948
- roctracer::hsa_support::detail::operator<<(out, v.handle);
949
- }
950
- };
951
- HSA_depth_max_cnt--;
952
- std::operator<<(out, '}');
953
- return out;
954
- }
955
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ven_amd_pcs_configuration_t& v)
956
- {
957
- std::operator<<(out, '{');
958
- HSA_depth_max_cnt++;
959
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
960
- if (std::string("hsa_ven_amd_pcs_configuration_t::flags").find(HSA_structs_regex) != std::string::npos) {
961
- std::operator<<(out, "flags=");
962
- roctracer::hsa_support::detail::operator<<(out, v.flags);
963
- std::operator<<(out, ", ");
964
- }
965
- if (std::string("hsa_ven_amd_pcs_configuration_t::max_interval").find(HSA_structs_regex) != std::string::npos) {
966
- std::operator<<(out, "max_interval=");
967
- roctracer::hsa_support::detail::operator<<(out, v.max_interval);
968
- std::operator<<(out, ", ");
969
- }
970
- if (std::string("hsa_ven_amd_pcs_configuration_t::min_interval").find(HSA_structs_regex) != std::string::npos) {
971
- std::operator<<(out, "min_interval=");
972
- roctracer::hsa_support::detail::operator<<(out, v.min_interval);
973
- std::operator<<(out, ", ");
974
- }
975
- if (std::string("hsa_ven_amd_pcs_configuration_t::units").find(HSA_structs_regex) != std::string::npos) {
976
- std::operator<<(out, "units=");
977
- roctracer::hsa_support::detail::operator<<(out, v.units);
978
- std::operator<<(out, ", ");
979
- }
980
- if (std::string("hsa_ven_amd_pcs_configuration_t::method").find(HSA_structs_regex) != std::string::npos) {
981
- std::operator<<(out, "method=");
982
- roctracer::hsa_support::detail::operator<<(out, v.method);
983
- }
984
- };
985
- HSA_depth_max_cnt--;
986
- std::operator<<(out, '}');
987
- return out;
988
- }
989
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ven_amd_pc_sampling_1_00_pfn_t& v)
990
- {
991
- std::operator<<(out, '{');
992
- HSA_depth_max_cnt++;
993
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
994
- if (std::string("hsa_ven_amd_pc_sampling_1_00_pfn_t::hsa_ven_amd_pcs_flush").find(HSA_structs_regex) != std::string::npos) {
995
- std::operator<<(out, "hsa_ven_amd_pcs_flush=");
996
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ven_amd_pcs_flush);
997
- std::operator<<(out, ", ");
998
- }
999
- if (std::string("hsa_ven_amd_pc_sampling_1_00_pfn_t::hsa_ven_amd_pcs_stop").find(HSA_structs_regex) != std::string::npos) {
1000
- std::operator<<(out, "hsa_ven_amd_pcs_stop=");
1001
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ven_amd_pcs_stop);
1002
- std::operator<<(out, ", ");
1003
- }
1004
- if (std::string("hsa_ven_amd_pc_sampling_1_00_pfn_t::hsa_ven_amd_pcs_start").find(HSA_structs_regex) != std::string::npos) {
1005
- std::operator<<(out, "hsa_ven_amd_pcs_start=");
1006
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ven_amd_pcs_start);
1007
- std::operator<<(out, ", ");
1008
- }
1009
- if (std::string("hsa_ven_amd_pc_sampling_1_00_pfn_t::hsa_ven_amd_pcs_destroy").find(HSA_structs_regex) != std::string::npos) {
1010
- std::operator<<(out, "hsa_ven_amd_pcs_destroy=");
1011
- roctracer::hsa_support::detail::operator<<(out, v.hsa_ven_amd_pcs_destroy);
1012
- }
1013
- };
1014
- HSA_depth_max_cnt--;
1015
- std::operator<<(out, '}');
1016
- return out;
1017
- }
1018
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_vendor_packet_header_t& v)
1019
- {
1020
- std::operator<<(out, '{');
1021
- HSA_depth_max_cnt++;
1022
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1023
- if (std::string("hsa_amd_vendor_packet_header_t::reserved").find(HSA_structs_regex) != std::string::npos) {
1024
- std::operator<<(out, "reserved=");
1025
- roctracer::hsa_support::detail::operator<<(out, v.reserved);
1026
- std::operator<<(out, ", ");
1027
- }
1028
- if (std::string("hsa_amd_vendor_packet_header_t::AmdFormat").find(HSA_structs_regex) != std::string::npos) {
1029
- std::operator<<(out, "AmdFormat=");
1030
- roctracer::hsa_support::detail::operator<<(out, v.AmdFormat);
1031
- std::operator<<(out, ", ");
1032
- }
1033
- if (std::string("hsa_amd_vendor_packet_header_t::header").find(HSA_structs_regex) != std::string::npos) {
1034
- std::operator<<(out, "header=");
1035
- roctracer::hsa_support::detail::operator<<(out, v.header);
1036
- }
1037
- };
1038
- HSA_depth_max_cnt--;
1039
- std::operator<<(out, '}');
1040
- return out;
1041
- }
1042
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_barrier_value_packet_t& v)
1043
- {
1044
- std::operator<<(out, '{');
1045
- HSA_depth_max_cnt++;
1046
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1047
- if (std::string("hsa_amd_barrier_value_packet_t::completion_signal").find(HSA_structs_regex) != std::string::npos) {
1048
- std::operator<<(out, "completion_signal=");
1049
- roctracer::hsa_support::detail::operator<<(out, v.completion_signal);
1050
- std::operator<<(out, ", ");
1051
- }
1052
- if (std::string("hsa_amd_barrier_value_packet_t::reserved3").find(HSA_structs_regex) != std::string::npos) {
1053
- std::operator<<(out, "reserved3=");
1054
- roctracer::hsa_support::detail::operator<<(out, v.reserved3);
1055
- std::operator<<(out, ", ");
1056
- }
1057
- if (std::string("hsa_amd_barrier_value_packet_t::reserved2").find(HSA_structs_regex) != std::string::npos) {
1058
- std::operator<<(out, "reserved2=");
1059
- roctracer::hsa_support::detail::operator<<(out, v.reserved2);
1060
- std::operator<<(out, ", ");
1061
- }
1062
- if (std::string("hsa_amd_barrier_value_packet_t::reserved1").find(HSA_structs_regex) != std::string::npos) {
1063
- std::operator<<(out, "reserved1=");
1064
- roctracer::hsa_support::detail::operator<<(out, v.reserved1);
1065
- std::operator<<(out, ", ");
1066
- }
1067
- if (std::string("hsa_amd_barrier_value_packet_t::cond").find(HSA_structs_regex) != std::string::npos) {
1068
- std::operator<<(out, "cond=");
1069
- roctracer::hsa_support::detail::operator<<(out, v.cond);
1070
- std::operator<<(out, ", ");
1071
- }
1072
- if (std::string("hsa_amd_barrier_value_packet_t::mask").find(HSA_structs_regex) != std::string::npos) {
1073
- std::operator<<(out, "mask=");
1074
- roctracer::hsa_support::detail::operator<<(out, v.mask);
1075
- std::operator<<(out, ", ");
1076
- }
1077
- if (std::string("hsa_amd_barrier_value_packet_t::value").find(HSA_structs_regex) != std::string::npos) {
1078
- std::operator<<(out, "value=");
1079
- roctracer::hsa_support::detail::operator<<(out, v.value);
1080
- std::operator<<(out, ", ");
1081
- }
1082
- if (std::string("hsa_amd_barrier_value_packet_t::signal").find(HSA_structs_regex) != std::string::npos) {
1083
- std::operator<<(out, "signal=");
1084
- roctracer::hsa_support::detail::operator<<(out, v.signal);
1085
- std::operator<<(out, ", ");
1086
- }
1087
- if (std::string("hsa_amd_barrier_value_packet_t::reserved0").find(HSA_structs_regex) != std::string::npos) {
1088
- std::operator<<(out, "reserved0=");
1089
- roctracer::hsa_support::detail::operator<<(out, v.reserved0);
1090
- std::operator<<(out, ", ");
1091
- }
1092
- if (std::string("hsa_amd_barrier_value_packet_t::header").find(HSA_structs_regex) != std::string::npos) {
1093
- std::operator<<(out, "header=");
1094
- roctracer::hsa_support::detail::operator<<(out, v.header);
1095
- }
1096
- };
1097
- HSA_depth_max_cnt--;
1098
- std::operator<<(out, '}');
1099
- return out;
1100
- }
1101
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_hdp_flush_t& v)
1102
- {
1103
- std::operator<<(out, '{');
1104
- HSA_depth_max_cnt++;
1105
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1106
- if (std::string("hsa_amd_hdp_flush_t::HDP_REG_FLUSH_CNTL").find(HSA_structs_regex) != std::string::npos) {
1107
- std::operator<<(out, "HDP_REG_FLUSH_CNTL=");
1108
- roctracer::hsa_support::detail::operator<<(out, v.HDP_REG_FLUSH_CNTL);
1109
- std::operator<<(out, ", ");
1110
- }
1111
- if (std::string("hsa_amd_hdp_flush_t::HDP_MEM_FLUSH_CNTL").find(HSA_structs_regex) != std::string::npos) {
1112
- std::operator<<(out, "HDP_MEM_FLUSH_CNTL=");
1113
- roctracer::hsa_support::detail::operator<<(out, v.HDP_MEM_FLUSH_CNTL);
1114
- }
1115
- };
1116
- HSA_depth_max_cnt--;
1117
- std::operator<<(out, '}');
1118
- return out;
1119
- }
1120
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_profiling_dispatch_time_t& v)
1121
- {
1122
- std::operator<<(out, '{');
1123
- HSA_depth_max_cnt++;
1124
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1125
- if (std::string("hsa_amd_profiling_dispatch_time_t::end").find(HSA_structs_regex) != std::string::npos) {
1126
- std::operator<<(out, "end=");
1127
- roctracer::hsa_support::detail::operator<<(out, v.end);
1128
- std::operator<<(out, ", ");
1129
- }
1130
- if (std::string("hsa_amd_profiling_dispatch_time_t::start").find(HSA_structs_regex) != std::string::npos) {
1131
- std::operator<<(out, "start=");
1132
- roctracer::hsa_support::detail::operator<<(out, v.start);
1133
- }
1134
- };
1135
- HSA_depth_max_cnt--;
1136
- std::operator<<(out, '}');
1137
- return out;
1138
- }
1139
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_profiling_async_copy_time_t& v)
1140
- {
1141
- std::operator<<(out, '{');
1142
- HSA_depth_max_cnt++;
1143
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1144
- if (std::string("hsa_amd_profiling_async_copy_time_t::end").find(HSA_structs_regex) != std::string::npos) {
1145
- std::operator<<(out, "end=");
1146
- roctracer::hsa_support::detail::operator<<(out, v.end);
1147
- std::operator<<(out, ", ");
1148
- }
1149
- if (std::string("hsa_amd_profiling_async_copy_time_t::start").find(HSA_structs_regex) != std::string::npos) {
1150
- std::operator<<(out, "start=");
1151
- roctracer::hsa_support::detail::operator<<(out, v.start);
1152
- }
1153
- };
1154
- HSA_depth_max_cnt--;
1155
- std::operator<<(out, '}');
1156
- return out;
1157
- }
1158
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_memory_pool_t& v)
1159
- {
1160
- std::operator<<(out, '{');
1161
- HSA_depth_max_cnt++;
1162
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1163
- if (std::string("hsa_amd_memory_pool_t::handle").find(HSA_structs_regex) != std::string::npos) {
1164
- std::operator<<(out, "handle=");
1165
- roctracer::hsa_support::detail::operator<<(out, v.handle);
1166
- }
1167
- };
1168
- HSA_depth_max_cnt--;
1169
- std::operator<<(out, '}');
1170
- return out;
1171
- }
1172
- inline static std::ostream& operator<<(std::ostream& out, const hsa_pitched_ptr_t& v)
1173
- {
1174
- std::operator<<(out, '{');
1175
- HSA_depth_max_cnt++;
1176
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1177
- if (std::string("hsa_pitched_ptr_t::slice").find(HSA_structs_regex) != std::string::npos) {
1178
- std::operator<<(out, "slice=");
1179
- roctracer::hsa_support::detail::operator<<(out, v.slice);
1180
- std::operator<<(out, ", ");
1181
- }
1182
- if (std::string("hsa_pitched_ptr_t::pitch").find(HSA_structs_regex) != std::string::npos) {
1183
- std::operator<<(out, "pitch=");
1184
- roctracer::hsa_support::detail::operator<<(out, v.pitch);
1185
- }
1186
- };
1187
- HSA_depth_max_cnt--;
1188
- std::operator<<(out, '}');
1189
- return out;
1190
- }
1191
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_memory_pool_link_info_t& v)
1192
- {
1193
- std::operator<<(out, '{');
1194
- HSA_depth_max_cnt++;
1195
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1196
- if (std::string("hsa_amd_memory_pool_link_info_t::numa_distance").find(HSA_structs_regex) != std::string::npos) {
1197
- std::operator<<(out, "numa_distance=");
1198
- roctracer::hsa_support::detail::operator<<(out, v.numa_distance);
1199
- std::operator<<(out, ", ");
1200
- }
1201
- if (std::string("hsa_amd_memory_pool_link_info_t::link_type").find(HSA_structs_regex) != std::string::npos) {
1202
- std::operator<<(out, "link_type=");
1203
- roctracer::hsa_support::detail::operator<<(out, v.link_type);
1204
- std::operator<<(out, ", ");
1205
- }
1206
- if (std::string("hsa_amd_memory_pool_link_info_t::max_bandwidth").find(HSA_structs_regex) != std::string::npos) {
1207
- std::operator<<(out, "max_bandwidth=");
1208
- roctracer::hsa_support::detail::operator<<(out, v.max_bandwidth);
1209
- std::operator<<(out, ", ");
1210
- }
1211
- if (std::string("hsa_amd_memory_pool_link_info_t::min_bandwidth").find(HSA_structs_regex) != std::string::npos) {
1212
- std::operator<<(out, "min_bandwidth=");
1213
- roctracer::hsa_support::detail::operator<<(out, v.min_bandwidth);
1214
- std::operator<<(out, ", ");
1215
- }
1216
- if (std::string("hsa_amd_memory_pool_link_info_t::max_latency").find(HSA_structs_regex) != std::string::npos) {
1217
- std::operator<<(out, "max_latency=");
1218
- roctracer::hsa_support::detail::operator<<(out, v.max_latency);
1219
- std::operator<<(out, ", ");
1220
- }
1221
- if (std::string("hsa_amd_memory_pool_link_info_t::min_latency").find(HSA_structs_regex) != std::string::npos) {
1222
- std::operator<<(out, "min_latency=");
1223
- roctracer::hsa_support::detail::operator<<(out, v.min_latency);
1224
- }
1225
- };
1226
- HSA_depth_max_cnt--;
1227
- std::operator<<(out, '}');
1228
- return out;
1229
- }
1230
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_image_descriptor_t& v)
1231
- {
1232
- std::operator<<(out, '{');
1233
- HSA_depth_max_cnt++;
1234
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1235
- if (std::string("hsa_amd_image_descriptor_t::data").find(HSA_structs_regex) != std::string::npos) {
1236
- std::operator<<(out, "data=");
1237
- roctracer::hsa_support::detail::operator<<(out, v.data);
1238
- std::operator<<(out, ", ");
1239
- }
1240
- if (std::string("hsa_amd_image_descriptor_t::deviceID").find(HSA_structs_regex) != std::string::npos) {
1241
- std::operator<<(out, "deviceID=");
1242
- roctracer::hsa_support::detail::operator<<(out, v.deviceID);
1243
- std::operator<<(out, ", ");
1244
- }
1245
- if (std::string("hsa_amd_image_descriptor_t::version").find(HSA_structs_regex) != std::string::npos) {
1246
- std::operator<<(out, "version=");
1247
- roctracer::hsa_support::detail::operator<<(out, v.version);
1248
- }
1249
- };
1250
- HSA_depth_max_cnt--;
1251
- std::operator<<(out, '}');
1252
- return out;
1253
- }
1254
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_pointer_info_t& v)
1255
- {
1256
- std::operator<<(out, '{');
1257
- HSA_depth_max_cnt++;
1258
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1259
- if (std::string("hsa_amd_pointer_info_t::global_flags").find(HSA_structs_regex) != std::string::npos) {
1260
- std::operator<<(out, "global_flags=");
1261
- roctracer::hsa_support::detail::operator<<(out, v.global_flags);
1262
- std::operator<<(out, ", ");
1263
- }
1264
- if (std::string("hsa_amd_pointer_info_t::agentOwner").find(HSA_structs_regex) != std::string::npos) {
1265
- std::operator<<(out, "agentOwner=");
1266
- roctracer::hsa_support::detail::operator<<(out, v.agentOwner);
1267
- std::operator<<(out, ", ");
1268
- }
1269
- if (std::string("hsa_amd_pointer_info_t::sizeInBytes").find(HSA_structs_regex) != std::string::npos) {
1270
- std::operator<<(out, "sizeInBytes=");
1271
- roctracer::hsa_support::detail::operator<<(out, v.sizeInBytes);
1272
- std::operator<<(out, ", ");
1273
- }
1274
- if (std::string("hsa_amd_pointer_info_t::type").find(HSA_structs_regex) != std::string::npos) {
1275
- std::operator<<(out, "type=");
1276
- roctracer::hsa_support::detail::operator<<(out, v.type);
1277
- std::operator<<(out, ", ");
1278
- }
1279
- if (std::string("hsa_amd_pointer_info_t::size").find(HSA_structs_regex) != std::string::npos) {
1280
- std::operator<<(out, "size=");
1281
- roctracer::hsa_support::detail::operator<<(out, v.size);
1282
- }
1283
- };
1284
- HSA_depth_max_cnt--;
1285
- std::operator<<(out, '}');
1286
- return out;
1287
- }
1288
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_ipc_memory_t& v)
1289
- {
1290
- std::operator<<(out, '{');
1291
- HSA_depth_max_cnt++;
1292
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1293
- if (std::string("hsa_amd_ipc_memory_t::handle").find(HSA_structs_regex) != std::string::npos) {
1294
- std::operator<<(out, "handle=");
1295
- roctracer::hsa_support::detail::operator<<(out, v.handle);
1296
- }
1297
- };
1298
- HSA_depth_max_cnt--;
1299
- std::operator<<(out, '}');
1300
- return out;
1301
- }
1302
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_gpu_memory_fault_info_t& v)
1303
- {
1304
- std::operator<<(out, '{');
1305
- HSA_depth_max_cnt++;
1306
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1307
- if (std::string("hsa_amd_gpu_memory_fault_info_t::fault_reason_mask").find(HSA_structs_regex) != std::string::npos) {
1308
- std::operator<<(out, "fault_reason_mask=");
1309
- roctracer::hsa_support::detail::operator<<(out, v.fault_reason_mask);
1310
- std::operator<<(out, ", ");
1311
- }
1312
- if (std::string("hsa_amd_gpu_memory_fault_info_t::virtual_address").find(HSA_structs_regex) != std::string::npos) {
1313
- std::operator<<(out, "virtual_address=");
1314
- roctracer::hsa_support::detail::operator<<(out, v.virtual_address);
1315
- std::operator<<(out, ", ");
1316
- }
1317
- if (std::string("hsa_amd_gpu_memory_fault_info_t::agent").find(HSA_structs_regex) != std::string::npos) {
1318
- std::operator<<(out, "agent=");
1319
- roctracer::hsa_support::detail::operator<<(out, v.agent);
1320
- }
1321
- };
1322
- HSA_depth_max_cnt--;
1323
- std::operator<<(out, '}');
1324
- return out;
1325
- }
1326
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_gpu_hw_exception_info_t& v)
1327
- {
1328
- std::operator<<(out, '{');
1329
- HSA_depth_max_cnt++;
1330
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1331
- if (std::string("hsa_amd_gpu_hw_exception_info_t::reset_cause").find(HSA_structs_regex) != std::string::npos) {
1332
- std::operator<<(out, "reset_cause=");
1333
- roctracer::hsa_support::detail::operator<<(out, v.reset_cause);
1334
- std::operator<<(out, ", ");
1335
- }
1336
- if (std::string("hsa_amd_gpu_hw_exception_info_t::reset_type").find(HSA_structs_regex) != std::string::npos) {
1337
- std::operator<<(out, "reset_type=");
1338
- roctracer::hsa_support::detail::operator<<(out, v.reset_type);
1339
- std::operator<<(out, ", ");
1340
- }
1341
- if (std::string("hsa_amd_gpu_hw_exception_info_t::agent").find(HSA_structs_regex) != std::string::npos) {
1342
- std::operator<<(out, "agent=");
1343
- roctracer::hsa_support::detail::operator<<(out, v.agent);
1344
- }
1345
- };
1346
- HSA_depth_max_cnt--;
1347
- std::operator<<(out, '}');
1348
- return out;
1349
- }
1350
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_event_t& v)
1351
- {
1352
- std::operator<<(out, '{');
1353
- HSA_depth_max_cnt++;
1354
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1355
- if (std::string("hsa_amd_event_t::event_type").find(HSA_structs_regex) != std::string::npos) {
1356
- std::operator<<(out, "event_type=");
1357
- roctracer::hsa_support::detail::operator<<(out, v.event_type);
1358
- }
1359
- };
1360
- HSA_depth_max_cnt--;
1361
- std::operator<<(out, '}');
1362
- return out;
1363
- }
1364
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_svm_attribute_pair_t& v)
1365
- {
1366
- std::operator<<(out, '{');
1367
- HSA_depth_max_cnt++;
1368
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1369
- if (std::string("hsa_amd_svm_attribute_pair_t::value").find(HSA_structs_regex) != std::string::npos) {
1370
- std::operator<<(out, "value=");
1371
- roctracer::hsa_support::detail::operator<<(out, v.value);
1372
- std::operator<<(out, ", ");
1373
- }
1374
- if (std::string("hsa_amd_svm_attribute_pair_t::attribute").find(HSA_structs_regex) != std::string::npos) {
1375
- std::operator<<(out, "attribute=");
1376
- roctracer::hsa_support::detail::operator<<(out, v.attribute);
1377
- }
1378
- };
1379
- HSA_depth_max_cnt--;
1380
- std::operator<<(out, '}');
1381
- return out;
1382
- }
1383
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_vmem_alloc_handle_t& v)
1384
- {
1385
- std::operator<<(out, '{');
1386
- HSA_depth_max_cnt++;
1387
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1388
- if (std::string("hsa_amd_vmem_alloc_handle_t::handle").find(HSA_structs_regex) != std::string::npos) {
1389
- std::operator<<(out, "handle=");
1390
- roctracer::hsa_support::detail::operator<<(out, v.handle);
1391
- }
1392
- };
1393
- HSA_depth_max_cnt--;
1394
- std::operator<<(out, '}');
1395
- return out;
1396
- }
1397
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_memory_access_desc_t& v)
1398
- {
1399
- std::operator<<(out, '{');
1400
- HSA_depth_max_cnt++;
1401
- if (HSA_depth_max == -1 || HSA_depth_max_cnt <= HSA_depth_max) {
1402
- if (std::string("hsa_amd_memory_access_desc_t::agent_handle").find(HSA_structs_regex) != std::string::npos) {
1403
- std::operator<<(out, "agent_handle=");
1404
- roctracer::hsa_support::detail::operator<<(out, v.agent_handle);
1405
- std::operator<<(out, ", ");
1406
- }
1407
- if (std::string("hsa_amd_memory_access_desc_t::permissions").find(HSA_structs_regex) != std::string::npos) {
1408
- std::operator<<(out, "permissions=");
1409
- roctracer::hsa_support::detail::operator<<(out, v.permissions);
1410
- }
1411
- };
1412
- HSA_depth_max_cnt--;
1413
- std::operator<<(out, '}');
1414
- return out;
1415
- }
1416
- // end ostream ops for HSA
1417
- };};};
1418
-
1419
- inline static std::ostream& operator<<(std::ostream& out, const hsa_dim3_t& v)
1420
- {
1421
- roctracer::hsa_support::detail::operator<<(out, v);
1422
- return out;
1423
- }
1424
-
1425
- inline static std::ostream& operator<<(std::ostream& out, const hsa_agent_t& v)
1426
- {
1427
- roctracer::hsa_support::detail::operator<<(out, v);
1428
- return out;
1429
- }
1430
-
1431
- inline static std::ostream& operator<<(std::ostream& out, const hsa_cache_t& v)
1432
- {
1433
- roctracer::hsa_support::detail::operator<<(out, v);
1434
- return out;
1435
- }
1436
-
1437
- inline static std::ostream& operator<<(std::ostream& out, const hsa_signal_t& v)
1438
- {
1439
- roctracer::hsa_support::detail::operator<<(out, v);
1440
- return out;
1441
- }
1442
-
1443
- inline static std::ostream& operator<<(std::ostream& out, const hsa_signal_group_t& v)
1444
- {
1445
- roctracer::hsa_support::detail::operator<<(out, v);
1446
- return out;
1447
- }
1448
-
1449
- inline static std::ostream& operator<<(std::ostream& out, const hsa_region_t& v)
1450
- {
1451
- roctracer::hsa_support::detail::operator<<(out, v);
1452
- return out;
1453
- }
1454
-
1455
- inline static std::ostream& operator<<(std::ostream& out, const hsa_queue_t& v)
1456
- {
1457
- roctracer::hsa_support::detail::operator<<(out, v);
1458
- return out;
1459
- }
1460
-
1461
- inline static std::ostream& operator<<(std::ostream& out, const hsa_kernel_dispatch_packet_t& v)
1462
- {
1463
- roctracer::hsa_support::detail::operator<<(out, v);
1464
- return out;
1465
- }
1466
-
1467
- inline static std::ostream& operator<<(std::ostream& out, const hsa_agent_dispatch_packet_t& v)
1468
- {
1469
- roctracer::hsa_support::detail::operator<<(out, v);
1470
- return out;
1471
- }
1472
-
1473
- inline static std::ostream& operator<<(std::ostream& out, const hsa_barrier_and_packet_t& v)
1474
- {
1475
- roctracer::hsa_support::detail::operator<<(out, v);
1476
- return out;
1477
- }
1478
-
1479
- inline static std::ostream& operator<<(std::ostream& out, const hsa_barrier_or_packet_t& v)
1480
- {
1481
- roctracer::hsa_support::detail::operator<<(out, v);
1482
- return out;
1483
- }
1484
-
1485
- inline static std::ostream& operator<<(std::ostream& out, const hsa_isa_t& v)
1486
- {
1487
- roctracer::hsa_support::detail::operator<<(out, v);
1488
- return out;
1489
- }
1490
-
1491
- inline static std::ostream& operator<<(std::ostream& out, const hsa_wavefront_t& v)
1492
- {
1493
- roctracer::hsa_support::detail::operator<<(out, v);
1494
- return out;
1495
- }
1496
-
1497
- inline static std::ostream& operator<<(std::ostream& out, const hsa_code_object_reader_t& v)
1498
- {
1499
- roctracer::hsa_support::detail::operator<<(out, v);
1500
- return out;
1501
- }
1502
-
1503
- inline static std::ostream& operator<<(std::ostream& out, const hsa_executable_t& v)
1504
- {
1505
- roctracer::hsa_support::detail::operator<<(out, v);
1506
- return out;
1507
- }
1508
-
1509
- inline static std::ostream& operator<<(std::ostream& out, const hsa_loaded_code_object_t& v)
1510
- {
1511
- roctracer::hsa_support::detail::operator<<(out, v);
1512
- return out;
1513
- }
1514
-
1515
- inline static std::ostream& operator<<(std::ostream& out, const hsa_executable_symbol_t& v)
1516
- {
1517
- roctracer::hsa_support::detail::operator<<(out, v);
1518
- return out;
1519
- }
1520
-
1521
- inline static std::ostream& operator<<(std::ostream& out, const hsa_code_object_t& v)
1522
- {
1523
- roctracer::hsa_support::detail::operator<<(out, v);
1524
- return out;
1525
- }
1526
-
1527
- inline static std::ostream& operator<<(std::ostream& out, const hsa_callback_data_t& v)
1528
- {
1529
- roctracer::hsa_support::detail::operator<<(out, v);
1530
- return out;
1531
- }
1532
-
1533
- inline static std::ostream& operator<<(std::ostream& out, const hsa_code_symbol_t& v)
1534
- {
1535
- roctracer::hsa_support::detail::operator<<(out, v);
1536
- return out;
1537
- }
1538
-
1539
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_image_t& v)
1540
- {
1541
- roctracer::hsa_support::detail::operator<<(out, v);
1542
- return out;
1543
- }
1544
-
1545
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_image_format_t& v)
1546
- {
1547
- roctracer::hsa_support::detail::operator<<(out, v);
1548
- return out;
1549
- }
1550
-
1551
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_image_descriptor_t& v)
1552
- {
1553
- roctracer::hsa_support::detail::operator<<(out, v);
1554
- return out;
1555
- }
1556
-
1557
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_image_data_info_t& v)
1558
- {
1559
- roctracer::hsa_support::detail::operator<<(out, v);
1560
- return out;
1561
- }
1562
-
1563
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_image_region_t& v)
1564
- {
1565
- roctracer::hsa_support::detail::operator<<(out, v);
1566
- return out;
1567
- }
1568
-
1569
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_sampler_t& v)
1570
- {
1571
- roctracer::hsa_support::detail::operator<<(out, v);
1572
- return out;
1573
- }
1574
-
1575
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_sampler_descriptor_t& v)
1576
- {
1577
- roctracer::hsa_support::detail::operator<<(out, v);
1578
- return out;
1579
- }
1580
-
1581
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_images_1_00_pfn_t& v)
1582
- {
1583
- roctracer::hsa_support::detail::operator<<(out, v);
1584
- return out;
1585
- }
1586
-
1587
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ext_images_1_pfn_t& v)
1588
- {
1589
- roctracer::hsa_support::detail::operator<<(out, v);
1590
- return out;
1591
- }
1592
-
1593
- inline static std::ostream& operator<<(std::ostream& out, const perf_sample_hosttrap_v1_t& v)
1594
- {
1595
- roctracer::hsa_support::detail::operator<<(out, v);
1596
- return out;
1597
- }
1598
-
1599
- inline static std::ostream& operator<<(std::ostream& out, const perf_sample_snapshot_v1_t& v)
1600
- {
1601
- roctracer::hsa_support::detail::operator<<(out, v);
1602
- return out;
1603
- }
1604
-
1605
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ven_amd_pcs_t& v)
1606
- {
1607
- roctracer::hsa_support::detail::operator<<(out, v);
1608
- return out;
1609
- }
1610
-
1611
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ven_amd_pcs_configuration_t& v)
1612
- {
1613
- roctracer::hsa_support::detail::operator<<(out, v);
1614
- return out;
1615
- }
1616
-
1617
- inline static std::ostream& operator<<(std::ostream& out, const hsa_ven_amd_pc_sampling_1_00_pfn_t& v)
1618
- {
1619
- roctracer::hsa_support::detail::operator<<(out, v);
1620
- return out;
1621
- }
1622
-
1623
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_vendor_packet_header_t& v)
1624
- {
1625
- roctracer::hsa_support::detail::operator<<(out, v);
1626
- return out;
1627
- }
1628
-
1629
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_barrier_value_packet_t& v)
1630
- {
1631
- roctracer::hsa_support::detail::operator<<(out, v);
1632
- return out;
1633
- }
1634
-
1635
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_hdp_flush_t& v)
1636
- {
1637
- roctracer::hsa_support::detail::operator<<(out, v);
1638
- return out;
1639
- }
1640
-
1641
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_profiling_dispatch_time_t& v)
1642
- {
1643
- roctracer::hsa_support::detail::operator<<(out, v);
1644
- return out;
1645
- }
1646
-
1647
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_profiling_async_copy_time_t& v)
1648
- {
1649
- roctracer::hsa_support::detail::operator<<(out, v);
1650
- return out;
1651
- }
1652
-
1653
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_memory_pool_t& v)
1654
- {
1655
- roctracer::hsa_support::detail::operator<<(out, v);
1656
- return out;
1657
- }
1658
-
1659
- inline static std::ostream& operator<<(std::ostream& out, const hsa_pitched_ptr_t& v)
1660
- {
1661
- roctracer::hsa_support::detail::operator<<(out, v);
1662
- return out;
1663
- }
1664
-
1665
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_memory_pool_link_info_t& v)
1666
- {
1667
- roctracer::hsa_support::detail::operator<<(out, v);
1668
- return out;
1669
- }
1670
-
1671
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_image_descriptor_t& v)
1672
- {
1673
- roctracer::hsa_support::detail::operator<<(out, v);
1674
- return out;
1675
- }
1676
-
1677
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_pointer_info_t& v)
1678
- {
1679
- roctracer::hsa_support::detail::operator<<(out, v);
1680
- return out;
1681
- }
1682
-
1683
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_ipc_memory_t& v)
1684
- {
1685
- roctracer::hsa_support::detail::operator<<(out, v);
1686
- return out;
1687
- }
1688
-
1689
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_gpu_memory_fault_info_t& v)
1690
- {
1691
- roctracer::hsa_support::detail::operator<<(out, v);
1692
- return out;
1693
- }
1694
-
1695
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_gpu_hw_exception_info_t& v)
1696
- {
1697
- roctracer::hsa_support::detail::operator<<(out, v);
1698
- return out;
1699
- }
1700
-
1701
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_event_t& v)
1702
- {
1703
- roctracer::hsa_support::detail::operator<<(out, v);
1704
- return out;
1705
- }
1706
-
1707
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_svm_attribute_pair_t& v)
1708
- {
1709
- roctracer::hsa_support::detail::operator<<(out, v);
1710
- return out;
1711
- }
1712
-
1713
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_vmem_alloc_handle_t& v)
1714
- {
1715
- roctracer::hsa_support::detail::operator<<(out, v);
1716
- return out;
1717
- }
1718
-
1719
- inline static std::ostream& operator<<(std::ostream& out, const hsa_amd_memory_access_desc_t& v)
1720
- {
1721
- roctracer::hsa_support::detail::operator<<(out, v);
1722
- return out;
1723
- }
1724
-
1725
- #endif //__cplusplus
1726
- #endif // INC_HSA_OSTREAM_OPS_H_
1727
-