triton-windows 3.1.0.post17__cp311-cp311-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 (248) hide show
  1. triton/_C/libtriton.pyd +0 -0
  2. triton/__init__.py +73 -0
  3. triton/backends/__init__.py +50 -0
  4. triton/backends/amd/compiler.py +262 -0
  5. triton/backends/amd/driver.c +211 -0
  6. triton/backends/amd/driver.py +497 -0
  7. triton/backends/amd/include/hip/amd_detail/amd_channel_descriptor.h +358 -0
  8. triton/backends/amd/include/hip/amd_detail/amd_device_functions.h +1031 -0
  9. triton/backends/amd/include/hip/amd_detail/amd_hip_atomic.h +1612 -0
  10. triton/backends/amd/include/hip/amd_detail/amd_hip_bf16.h +1337 -0
  11. triton/backends/amd/include/hip/amd_detail/amd_hip_bfloat16.h +293 -0
  12. triton/backends/amd/include/hip/amd_detail/amd_hip_common.h +32 -0
  13. triton/backends/amd/include/hip/amd_detail/amd_hip_complex.h +174 -0
  14. triton/backends/amd/include/hip/amd_detail/amd_hip_cooperative_groups.h +829 -0
  15. triton/backends/amd/include/hip/amd_detail/amd_hip_fp16.h +1809 -0
  16. triton/backends/amd/include/hip/amd_detail/amd_hip_gl_interop.h +108 -0
  17. triton/backends/amd/include/hip/amd_detail/amd_hip_math_constants.h +124 -0
  18. triton/backends/amd/include/hip/amd_detail/amd_hip_runtime.h +405 -0
  19. triton/backends/amd/include/hip/amd_detail/amd_hip_runtime_pt_api.h +196 -0
  20. triton/backends/amd/include/hip/amd_detail/amd_hip_unsafe_atomics.h +565 -0
  21. triton/backends/amd/include/hip/amd_detail/amd_hip_vector_types.h +2226 -0
  22. triton/backends/amd/include/hip/amd_detail/amd_math_functions.h +104 -0
  23. triton/backends/amd/include/hip/amd_detail/amd_surface_functions.h +244 -0
  24. triton/backends/amd/include/hip/amd_detail/amd_warp_functions.h +494 -0
  25. triton/backends/amd/include/hip/amd_detail/concepts.hpp +30 -0
  26. triton/backends/amd/include/hip/amd_detail/device_library_decls.h +133 -0
  27. triton/backends/amd/include/hip/amd_detail/functional_grid_launch.hpp +218 -0
  28. triton/backends/amd/include/hip/amd_detail/grid_launch.h +67 -0
  29. triton/backends/amd/include/hip/amd_detail/grid_launch.hpp +50 -0
  30. triton/backends/amd/include/hip/amd_detail/grid_launch_GGL.hpp +26 -0
  31. triton/backends/amd/include/hip/amd_detail/helpers.hpp +137 -0
  32. triton/backends/amd/include/hip/amd_detail/hip_api_trace.hpp +1350 -0
  33. triton/backends/amd/include/hip/amd_detail/hip_assert.h +101 -0
  34. triton/backends/amd/include/hip/amd_detail/hip_cooperative_groups_helper.h +242 -0
  35. triton/backends/amd/include/hip/amd_detail/hip_fp16_gcc.h +254 -0
  36. triton/backends/amd/include/hip/amd_detail/hip_fp16_math_fwd.h +96 -0
  37. triton/backends/amd/include/hip/amd_detail/hip_ldg.h +100 -0
  38. triton/backends/amd/include/hip/amd_detail/hip_prof_str.h +10169 -0
  39. triton/backends/amd/include/hip/amd_detail/hip_runtime_prof.h +77 -0
  40. triton/backends/amd/include/hip/amd_detail/host_defines.h +180 -0
  41. triton/backends/amd/include/hip/amd_detail/hsa_helpers.hpp +102 -0
  42. triton/backends/amd/include/hip/amd_detail/macro_based_grid_launch.hpp +798 -0
  43. triton/backends/amd/include/hip/amd_detail/math_fwd.h +698 -0
  44. triton/backends/amd/include/hip/amd_detail/ockl_image.h +177 -0
  45. triton/backends/amd/include/hip/amd_detail/program_state.hpp +107 -0
  46. triton/backends/amd/include/hip/amd_detail/texture_fetch_functions.h +491 -0
  47. triton/backends/amd/include/hip/amd_detail/texture_indirect_functions.h +478 -0
  48. triton/backends/amd/include/hip/channel_descriptor.h +39 -0
  49. triton/backends/amd/include/hip/device_functions.h +38 -0
  50. triton/backends/amd/include/hip/driver_types.h +468 -0
  51. triton/backends/amd/include/hip/hip_bf16.h +36 -0
  52. triton/backends/amd/include/hip/hip_bfloat16.h +44 -0
  53. triton/backends/amd/include/hip/hip_common.h +100 -0
  54. triton/backends/amd/include/hip/hip_complex.h +38 -0
  55. triton/backends/amd/include/hip/hip_cooperative_groups.h +46 -0
  56. triton/backends/amd/include/hip/hip_deprecated.h +95 -0
  57. triton/backends/amd/include/hip/hip_ext.h +159 -0
  58. triton/backends/amd/include/hip/hip_fp16.h +36 -0
  59. triton/backends/amd/include/hip/hip_gl_interop.h +32 -0
  60. triton/backends/amd/include/hip/hip_hcc.h +24 -0
  61. triton/backends/amd/include/hip/hip_math_constants.h +36 -0
  62. triton/backends/amd/include/hip/hip_profile.h +27 -0
  63. triton/backends/amd/include/hip/hip_runtime.h +75 -0
  64. triton/backends/amd/include/hip/hip_runtime_api.h +8919 -0
  65. triton/backends/amd/include/hip/hip_texture_types.h +29 -0
  66. triton/backends/amd/include/hip/hip_vector_types.h +41 -0
  67. triton/backends/amd/include/hip/hip_version.h +17 -0
  68. triton/backends/amd/include/hip/hiprtc.h +421 -0
  69. triton/backends/amd/include/hip/library_types.h +78 -0
  70. triton/backends/amd/include/hip/math_functions.h +42 -0
  71. triton/backends/amd/include/hip/surface_types.h +63 -0
  72. triton/backends/amd/include/hip/texture_types.h +194 -0
  73. triton/backends/amd/include/hsa/Brig.h +1131 -0
  74. triton/backends/amd/include/hsa/amd_hsa_common.h +91 -0
  75. triton/backends/amd/include/hsa/amd_hsa_elf.h +435 -0
  76. triton/backends/amd/include/hsa/amd_hsa_kernel_code.h +269 -0
  77. triton/backends/amd/include/hsa/amd_hsa_queue.h +109 -0
  78. triton/backends/amd/include/hsa/amd_hsa_signal.h +80 -0
  79. triton/backends/amd/include/hsa/hsa.h +5729 -0
  80. triton/backends/amd/include/hsa/hsa_amd_tool.h +91 -0
  81. triton/backends/amd/include/hsa/hsa_api_trace.h +566 -0
  82. triton/backends/amd/include/hsa/hsa_ext_amd.h +3090 -0
  83. triton/backends/amd/include/hsa/hsa_ext_finalize.h +531 -0
  84. triton/backends/amd/include/hsa/hsa_ext_image.h +1454 -0
  85. triton/backends/amd/include/hsa/hsa_ven_amd_aqlprofile.h +488 -0
  86. triton/backends/amd/include/hsa/hsa_ven_amd_loader.h +667 -0
  87. triton/backends/amd/include/roctracer/ext/prof_protocol.h +107 -0
  88. triton/backends/amd/include/roctracer/hip_ostream_ops.h +4435 -0
  89. triton/backends/amd/include/roctracer/hsa_ostream_ops.h +1467 -0
  90. triton/backends/amd/include/roctracer/hsa_prof_str.h +3027 -0
  91. triton/backends/amd/include/roctracer/roctracer.h +779 -0
  92. triton/backends/amd/include/roctracer/roctracer_ext.h +81 -0
  93. triton/backends/amd/include/roctracer/roctracer_hcc.h +24 -0
  94. triton/backends/amd/include/roctracer/roctracer_hip.h +37 -0
  95. triton/backends/amd/include/roctracer/roctracer_hsa.h +112 -0
  96. triton/backends/amd/include/roctracer/roctracer_plugin.h +137 -0
  97. triton/backends/amd/include/roctracer/roctracer_roctx.h +67 -0
  98. triton/backends/amd/include/roctracer/roctx.h +229 -0
  99. triton/backends/amd/lib/ockl.bc +0 -0
  100. triton/backends/amd/lib/ocml.bc +0 -0
  101. triton/backends/compiler.py +76 -0
  102. triton/backends/driver.py +34 -0
  103. triton/backends/nvidia/__init__.py +0 -0
  104. triton/backends/nvidia/bin/ptxas.exe +0 -0
  105. triton/backends/nvidia/compiler.py +347 -0
  106. triton/backends/nvidia/driver.c +451 -0
  107. triton/backends/nvidia/driver.py +430 -0
  108. triton/backends/nvidia/include/cuda.h +24359 -0
  109. triton/backends/nvidia/lib/libdevice.10.bc +0 -0
  110. triton/backends/nvidia/lib/x64/cuda.lib +0 -0
  111. triton/compiler/__init__.py +4 -0
  112. triton/compiler/code_generator.py +1302 -0
  113. triton/compiler/compiler.py +416 -0
  114. triton/compiler/errors.py +51 -0
  115. triton/compiler/make_launcher.py +0 -0
  116. triton/errors.py +5 -0
  117. triton/language/__init__.py +284 -0
  118. triton/language/core.py +2621 -0
  119. triton/language/extra/__init__.py +4 -0
  120. triton/language/extra/cuda/__init__.py +8 -0
  121. triton/language/extra/cuda/libdevice.py +1629 -0
  122. triton/language/extra/cuda/utils.py +109 -0
  123. triton/language/extra/hip/__init__.py +3 -0
  124. triton/language/extra/hip/libdevice.py +468 -0
  125. triton/language/extra/libdevice.py +1213 -0
  126. triton/language/math.py +250 -0
  127. triton/language/random.py +207 -0
  128. triton/language/semantic.py +1621 -0
  129. triton/language/standard.py +441 -0
  130. triton/ops/__init__.py +7 -0
  131. triton/ops/blocksparse/__init__.py +7 -0
  132. triton/ops/blocksparse/matmul.py +432 -0
  133. triton/ops/blocksparse/softmax.py +228 -0
  134. triton/ops/cross_entropy.py +96 -0
  135. triton/ops/flash_attention.py +466 -0
  136. triton/ops/matmul.py +219 -0
  137. triton/ops/matmul_perf_model.py +171 -0
  138. triton/runtime/__init__.py +23 -0
  139. triton/runtime/autotuner.py +361 -0
  140. triton/runtime/build.py +129 -0
  141. triton/runtime/cache.py +289 -0
  142. triton/runtime/driver.py +60 -0
  143. triton/runtime/errors.py +26 -0
  144. triton/runtime/interpreter.py +1127 -0
  145. triton/runtime/jit.py +956 -0
  146. triton/runtime/tcc/include/_mingw.h +170 -0
  147. triton/runtime/tcc/include/assert.h +57 -0
  148. triton/runtime/tcc/include/conio.h +409 -0
  149. triton/runtime/tcc/include/ctype.h +281 -0
  150. triton/runtime/tcc/include/dir.h +31 -0
  151. triton/runtime/tcc/include/direct.h +68 -0
  152. triton/runtime/tcc/include/dirent.h +135 -0
  153. triton/runtime/tcc/include/dos.h +55 -0
  154. triton/runtime/tcc/include/errno.h +75 -0
  155. triton/runtime/tcc/include/excpt.h +123 -0
  156. triton/runtime/tcc/include/fcntl.h +52 -0
  157. triton/runtime/tcc/include/fenv.h +108 -0
  158. triton/runtime/tcc/include/float.h +57 -0
  159. triton/runtime/tcc/include/inttypes.h +297 -0
  160. triton/runtime/tcc/include/io.h +418 -0
  161. triton/runtime/tcc/include/limits.h +111 -0
  162. triton/runtime/tcc/include/locale.h +91 -0
  163. triton/runtime/tcc/include/malloc.h +181 -0
  164. triton/runtime/tcc/include/math.h +737 -0
  165. triton/runtime/tcc/include/mem.h +13 -0
  166. triton/runtime/tcc/include/memory.h +40 -0
  167. triton/runtime/tcc/include/process.h +176 -0
  168. triton/runtime/tcc/include/sec_api/conio_s.h +42 -0
  169. triton/runtime/tcc/include/sec_api/crtdbg_s.h +19 -0
  170. triton/runtime/tcc/include/sec_api/io_s.h +33 -0
  171. triton/runtime/tcc/include/sec_api/mbstring_s.h +52 -0
  172. triton/runtime/tcc/include/sec_api/search_s.h +25 -0
  173. triton/runtime/tcc/include/sec_api/stdio_s.h +145 -0
  174. triton/runtime/tcc/include/sec_api/stdlib_s.h +67 -0
  175. triton/runtime/tcc/include/sec_api/stralign_s.h +30 -0
  176. triton/runtime/tcc/include/sec_api/string_s.h +41 -0
  177. triton/runtime/tcc/include/sec_api/sys/timeb_s.h +34 -0
  178. triton/runtime/tcc/include/sec_api/tchar_s.h +266 -0
  179. triton/runtime/tcc/include/sec_api/time_s.h +61 -0
  180. triton/runtime/tcc/include/sec_api/wchar_s.h +128 -0
  181. triton/runtime/tcc/include/setjmp.h +160 -0
  182. triton/runtime/tcc/include/share.h +28 -0
  183. triton/runtime/tcc/include/signal.h +63 -0
  184. triton/runtime/tcc/include/stdarg.h +79 -0
  185. triton/runtime/tcc/include/stdbool.h +11 -0
  186. triton/runtime/tcc/include/stddef.h +54 -0
  187. triton/runtime/tcc/include/stdint.h +212 -0
  188. triton/runtime/tcc/include/stdio.h +429 -0
  189. triton/runtime/tcc/include/stdlib.h +580 -0
  190. triton/runtime/tcc/include/string.h +164 -0
  191. triton/runtime/tcc/include/sys/fcntl.h +13 -0
  192. triton/runtime/tcc/include/sys/file.h +14 -0
  193. triton/runtime/tcc/include/sys/locking.h +30 -0
  194. triton/runtime/tcc/include/sys/stat.h +290 -0
  195. triton/runtime/tcc/include/sys/time.h +69 -0
  196. triton/runtime/tcc/include/sys/timeb.h +133 -0
  197. triton/runtime/tcc/include/sys/types.h +118 -0
  198. triton/runtime/tcc/include/sys/unistd.h +14 -0
  199. triton/runtime/tcc/include/sys/utime.h +146 -0
  200. triton/runtime/tcc/include/tcc/tcc_libm.h +201 -0
  201. triton/runtime/tcc/include/tcclib.h +80 -0
  202. triton/runtime/tcc/include/tchar.h +1102 -0
  203. triton/runtime/tcc/include/time.h +287 -0
  204. triton/runtime/tcc/include/vadefs.h +11 -0
  205. triton/runtime/tcc/include/values.h +4 -0
  206. triton/runtime/tcc/include/varargs.h +12 -0
  207. triton/runtime/tcc/include/wchar.h +873 -0
  208. triton/runtime/tcc/include/wctype.h +172 -0
  209. triton/runtime/tcc/include/winapi/basetsd.h +149 -0
  210. triton/runtime/tcc/include/winapi/basetyps.h +85 -0
  211. triton/runtime/tcc/include/winapi/guiddef.h +156 -0
  212. triton/runtime/tcc/include/winapi/poppack.h +8 -0
  213. triton/runtime/tcc/include/winapi/pshpack1.h +8 -0
  214. triton/runtime/tcc/include/winapi/pshpack2.h +8 -0
  215. triton/runtime/tcc/include/winapi/pshpack4.h +8 -0
  216. triton/runtime/tcc/include/winapi/pshpack8.h +8 -0
  217. triton/runtime/tcc/include/winapi/winbase.h +2951 -0
  218. triton/runtime/tcc/include/winapi/wincon.h +301 -0
  219. triton/runtime/tcc/include/winapi/windef.h +293 -0
  220. triton/runtime/tcc/include/winapi/windows.h +127 -0
  221. triton/runtime/tcc/include/winapi/winerror.h +3166 -0
  222. triton/runtime/tcc/include/winapi/wingdi.h +4080 -0
  223. triton/runtime/tcc/include/winapi/winnt.h +5835 -0
  224. triton/runtime/tcc/include/winapi/winreg.h +272 -0
  225. triton/runtime/tcc/include/winapi/winuser.h +5651 -0
  226. triton/runtime/tcc/include/winapi/winver.h +160 -0
  227. triton/runtime/tcc/lib/cuda.def +697 -0
  228. triton/runtime/tcc/lib/gdi32.def +337 -0
  229. triton/runtime/tcc/lib/kernel32.def +770 -0
  230. triton/runtime/tcc/lib/libtcc1-64.a +0 -0
  231. triton/runtime/tcc/lib/msvcrt.def +1399 -0
  232. triton/runtime/tcc/lib/python3.def +810 -0
  233. triton/runtime/tcc/lib/user32.def +658 -0
  234. triton/runtime/tcc/libtcc.dll +0 -0
  235. triton/runtime/tcc/tcc.exe +0 -0
  236. triton/testing.py +496 -0
  237. triton/tools/__init__.py +0 -0
  238. triton/tools/build_extern.py +365 -0
  239. triton/tools/compile.c +67 -0
  240. triton/tools/compile.h +14 -0
  241. triton/tools/compile.py +145 -0
  242. triton/tools/disasm.py +142 -0
  243. triton/tools/link.py +322 -0
  244. triton/windows_utils.py +373 -0
  245. triton_windows-3.1.0.post17.dist-info/METADATA +41 -0
  246. triton_windows-3.1.0.post17.dist-info/RECORD +248 -0
  247. triton_windows-3.1.0.post17.dist-info/WHEEL +5 -0
  248. triton_windows-3.1.0.post17.dist-info/top_level.txt +14 -0
@@ -0,0 +1,4435 @@
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_HIP_OSTREAM_OPS_H_
25
+ #define INC_HIP_OSTREAM_OPS_H_
26
+
27
+ #include <hip/hip_runtime.h>
28
+ #include <hip/hip_deprecated.h>
29
+ #include "roctracer.h"
30
+
31
+ #ifdef __cplusplus
32
+ #include <iostream>
33
+ #include <iomanip>
34
+ #include <string>
35
+ #include <cstring>
36
+
37
+ namespace roctracer {
38
+ namespace hip_support {
39
+ static int HIP_depth_max = 1;
40
+ static int HIP_depth_max_cnt = 0;
41
+ static std::string HIP_structs_regex = "";
42
+ // begin ostream ops for HIP
43
+ // basic ostream ops
44
+ namespace detail {
45
+ inline static void print_escaped_string(std::ostream& out, const char *v, size_t len) {
46
+ out << '"';
47
+ for (size_t i = 0; i < len && v[i]; ++i) {
48
+ switch (v[i]) {
49
+ case '\"': out << "\\\""; break;
50
+ case '\\': out << "\\\\"; break;
51
+ case '\b': out << "\\\b"; break;
52
+ case '\f': out << "\\\f"; break;
53
+ case '\n': out << "\\\n"; break;
54
+ case '\r': out << "\\\r"; break;
55
+ case '\t': out << "\\\t"; break;
56
+ default:
57
+ if (std::isprint((unsigned char)v[i])) std::operator<<(out, v[i]);
58
+ else {
59
+ std::ios_base::fmtflags flags(out.flags());
60
+ out << "\\x" << std::setfill('0') << std::setw(2) << std::hex << (unsigned int)(unsigned char)v[i];
61
+ out.flags(flags);
62
+ }
63
+ break;
64
+ }
65
+ }
66
+ out << '"';
67
+ }
68
+
69
+ template <typename T>
70
+ inline static std::ostream& operator<<(std::ostream& out, const T& v) {
71
+ using std::operator<<;
72
+ static bool recursion = false;
73
+ if (recursion == false) { recursion = true; out << v; recursion = false; }
74
+ return out;
75
+ }
76
+
77
+ inline static std::ostream &operator<<(std::ostream &out, const unsigned char &v) {
78
+ out << (unsigned int)v;
79
+ return out;
80
+ }
81
+
82
+ inline static std::ostream &operator<<(std::ostream &out, const char &v) {
83
+ out << (unsigned char)v;
84
+ return out;
85
+ }
86
+
87
+ template <size_t N>
88
+ inline static std::ostream &operator<<(std::ostream &out, const char (&v)[N]) {
89
+ print_escaped_string(out, v, N);
90
+ return out;
91
+ }
92
+
93
+ inline static std::ostream &operator<<(std::ostream &out, const char *v) {
94
+ print_escaped_string(out, v, strlen(v));
95
+ return out;
96
+ }
97
+ // End of basic ostream ops
98
+
99
+ inline static std::ostream& operator<<(std::ostream& out, const __locale_struct& v)
100
+ {
101
+ std::operator<<(out, '{');
102
+ HIP_depth_max_cnt++;
103
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
104
+ if (std::string("__locale_struct::__names").find(HIP_structs_regex) != std::string::npos) {
105
+ std::operator<<(out, "__names=");
106
+ roctracer::hip_support::detail::operator<<(out, v.__names);
107
+ std::operator<<(out, ", ");
108
+ }
109
+ if (std::string("__locale_struct::__ctype_toupper").find(HIP_structs_regex) != std::string::npos) {
110
+ std::operator<<(out, "__ctype_toupper=");
111
+ roctracer::hip_support::detail::operator<<(out, v.__ctype_toupper);
112
+ std::operator<<(out, ", ");
113
+ }
114
+ if (std::string("__locale_struct::__ctype_tolower").find(HIP_structs_regex) != std::string::npos) {
115
+ std::operator<<(out, "__ctype_tolower=");
116
+ roctracer::hip_support::detail::operator<<(out, v.__ctype_tolower);
117
+ std::operator<<(out, ", ");
118
+ }
119
+ if (std::string("__locale_struct::__ctype_b").find(HIP_structs_regex) != std::string::npos) {
120
+ std::operator<<(out, "__ctype_b=");
121
+ roctracer::hip_support::detail::operator<<(out, v.__ctype_b);
122
+ std::operator<<(out, ", ");
123
+ }
124
+ if (std::string("__locale_struct::__locales").find(HIP_structs_regex) != std::string::npos) {
125
+ std::operator<<(out, "__locales=");
126
+ roctracer::hip_support::detail::operator<<(out, v.__locales);
127
+ }
128
+ };
129
+ HIP_depth_max_cnt--;
130
+ std::operator<<(out, '}');
131
+ return out;
132
+ }
133
+ inline static std::ostream& operator<<(std::ostream& out, const hipDeviceArch_t& v)
134
+ {
135
+ std::operator<<(out, '{');
136
+ HIP_depth_max_cnt++;
137
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
138
+ if (std::string("hipDeviceArch_t::hasDynamicParallelism").find(HIP_structs_regex) != std::string::npos) {
139
+ std::operator<<(out, "hasDynamicParallelism=");
140
+ roctracer::hip_support::detail::operator<<(out, v.hasDynamicParallelism);
141
+ std::operator<<(out, ", ");
142
+ }
143
+ if (std::string("hipDeviceArch_t::has3dGrid").find(HIP_structs_regex) != std::string::npos) {
144
+ std::operator<<(out, "has3dGrid=");
145
+ roctracer::hip_support::detail::operator<<(out, v.has3dGrid);
146
+ std::operator<<(out, ", ");
147
+ }
148
+ if (std::string("hipDeviceArch_t::hasSurfaceFuncs").find(HIP_structs_regex) != std::string::npos) {
149
+ std::operator<<(out, "hasSurfaceFuncs=");
150
+ roctracer::hip_support::detail::operator<<(out, v.hasSurfaceFuncs);
151
+ std::operator<<(out, ", ");
152
+ }
153
+ if (std::string("hipDeviceArch_t::hasSyncThreadsExt").find(HIP_structs_regex) != std::string::npos) {
154
+ std::operator<<(out, "hasSyncThreadsExt=");
155
+ roctracer::hip_support::detail::operator<<(out, v.hasSyncThreadsExt);
156
+ std::operator<<(out, ", ");
157
+ }
158
+ if (std::string("hipDeviceArch_t::hasThreadFenceSystem").find(HIP_structs_regex) != std::string::npos) {
159
+ std::operator<<(out, "hasThreadFenceSystem=");
160
+ roctracer::hip_support::detail::operator<<(out, v.hasThreadFenceSystem);
161
+ std::operator<<(out, ", ");
162
+ }
163
+ if (std::string("hipDeviceArch_t::hasFunnelShift").find(HIP_structs_regex) != std::string::npos) {
164
+ std::operator<<(out, "hasFunnelShift=");
165
+ roctracer::hip_support::detail::operator<<(out, v.hasFunnelShift);
166
+ std::operator<<(out, ", ");
167
+ }
168
+ if (std::string("hipDeviceArch_t::hasWarpShuffle").find(HIP_structs_regex) != std::string::npos) {
169
+ std::operator<<(out, "hasWarpShuffle=");
170
+ roctracer::hip_support::detail::operator<<(out, v.hasWarpShuffle);
171
+ std::operator<<(out, ", ");
172
+ }
173
+ if (std::string("hipDeviceArch_t::hasWarpBallot").find(HIP_structs_regex) != std::string::npos) {
174
+ std::operator<<(out, "hasWarpBallot=");
175
+ roctracer::hip_support::detail::operator<<(out, v.hasWarpBallot);
176
+ std::operator<<(out, ", ");
177
+ }
178
+ if (std::string("hipDeviceArch_t::hasWarpVote").find(HIP_structs_regex) != std::string::npos) {
179
+ std::operator<<(out, "hasWarpVote=");
180
+ roctracer::hip_support::detail::operator<<(out, v.hasWarpVote);
181
+ std::operator<<(out, ", ");
182
+ }
183
+ if (std::string("hipDeviceArch_t::hasDoubles").find(HIP_structs_regex) != std::string::npos) {
184
+ std::operator<<(out, "hasDoubles=");
185
+ roctracer::hip_support::detail::operator<<(out, v.hasDoubles);
186
+ std::operator<<(out, ", ");
187
+ }
188
+ if (std::string("hipDeviceArch_t::hasSharedInt64Atomics").find(HIP_structs_regex) != std::string::npos) {
189
+ std::operator<<(out, "hasSharedInt64Atomics=");
190
+ roctracer::hip_support::detail::operator<<(out, v.hasSharedInt64Atomics);
191
+ std::operator<<(out, ", ");
192
+ }
193
+ if (std::string("hipDeviceArch_t::hasGlobalInt64Atomics").find(HIP_structs_regex) != std::string::npos) {
194
+ std::operator<<(out, "hasGlobalInt64Atomics=");
195
+ roctracer::hip_support::detail::operator<<(out, v.hasGlobalInt64Atomics);
196
+ std::operator<<(out, ", ");
197
+ }
198
+ if (std::string("hipDeviceArch_t::hasFloatAtomicAdd").find(HIP_structs_regex) != std::string::npos) {
199
+ std::operator<<(out, "hasFloatAtomicAdd=");
200
+ roctracer::hip_support::detail::operator<<(out, v.hasFloatAtomicAdd);
201
+ std::operator<<(out, ", ");
202
+ }
203
+ if (std::string("hipDeviceArch_t::hasSharedFloatAtomicExch").find(HIP_structs_regex) != std::string::npos) {
204
+ std::operator<<(out, "hasSharedFloatAtomicExch=");
205
+ roctracer::hip_support::detail::operator<<(out, v.hasSharedFloatAtomicExch);
206
+ std::operator<<(out, ", ");
207
+ }
208
+ if (std::string("hipDeviceArch_t::hasSharedInt32Atomics").find(HIP_structs_regex) != std::string::npos) {
209
+ std::operator<<(out, "hasSharedInt32Atomics=");
210
+ roctracer::hip_support::detail::operator<<(out, v.hasSharedInt32Atomics);
211
+ std::operator<<(out, ", ");
212
+ }
213
+ if (std::string("hipDeviceArch_t::hasGlobalFloatAtomicExch").find(HIP_structs_regex) != std::string::npos) {
214
+ std::operator<<(out, "hasGlobalFloatAtomicExch=");
215
+ roctracer::hip_support::detail::operator<<(out, v.hasGlobalFloatAtomicExch);
216
+ std::operator<<(out, ", ");
217
+ }
218
+ if (std::string("hipDeviceArch_t::hasGlobalInt32Atomics").find(HIP_structs_regex) != std::string::npos) {
219
+ std::operator<<(out, "hasGlobalInt32Atomics=");
220
+ roctracer::hip_support::detail::operator<<(out, v.hasGlobalInt32Atomics);
221
+ }
222
+ };
223
+ HIP_depth_max_cnt--;
224
+ std::operator<<(out, '}');
225
+ return out;
226
+ }
227
+ inline static std::ostream& operator<<(std::ostream& out, const hipUUID& v)
228
+ {
229
+ std::operator<<(out, '{');
230
+ HIP_depth_max_cnt++;
231
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
232
+ if (std::string("hipUUID::bytes").find(HIP_structs_regex) != std::string::npos) {
233
+ std::operator<<(out, "bytes=");
234
+ roctracer::hip_support::detail::operator<<(out, v.bytes);
235
+ }
236
+ };
237
+ HIP_depth_max_cnt--;
238
+ std::operator<<(out, '}');
239
+ return out;
240
+ }
241
+ inline static std::ostream& operator<<(std::ostream& out, const hipDeviceProp_tR0600& v)
242
+ {
243
+ std::operator<<(out, '{');
244
+ HIP_depth_max_cnt++;
245
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
246
+ if (std::string("hipDeviceProp_tR0600::asicRevision").find(HIP_structs_regex) != std::string::npos) {
247
+ std::operator<<(out, "asicRevision=");
248
+ roctracer::hip_support::detail::operator<<(out, v.asicRevision);
249
+ std::operator<<(out, ", ");
250
+ }
251
+ if (std::string("hipDeviceProp_tR0600::isLargeBar").find(HIP_structs_regex) != std::string::npos) {
252
+ std::operator<<(out, "isLargeBar=");
253
+ roctracer::hip_support::detail::operator<<(out, v.isLargeBar);
254
+ std::operator<<(out, ", ");
255
+ }
256
+ if (std::string("hipDeviceProp_tR0600::cooperativeMultiDeviceUnmatchedSharedMem").find(HIP_structs_regex) != std::string::npos) {
257
+ std::operator<<(out, "cooperativeMultiDeviceUnmatchedSharedMem=");
258
+ roctracer::hip_support::detail::operator<<(out, v.cooperativeMultiDeviceUnmatchedSharedMem);
259
+ std::operator<<(out, ", ");
260
+ }
261
+ if (std::string("hipDeviceProp_tR0600::cooperativeMultiDeviceUnmatchedBlockDim").find(HIP_structs_regex) != std::string::npos) {
262
+ std::operator<<(out, "cooperativeMultiDeviceUnmatchedBlockDim=");
263
+ roctracer::hip_support::detail::operator<<(out, v.cooperativeMultiDeviceUnmatchedBlockDim);
264
+ std::operator<<(out, ", ");
265
+ }
266
+ if (std::string("hipDeviceProp_tR0600::cooperativeMultiDeviceUnmatchedGridDim").find(HIP_structs_regex) != std::string::npos) {
267
+ std::operator<<(out, "cooperativeMultiDeviceUnmatchedGridDim=");
268
+ roctracer::hip_support::detail::operator<<(out, v.cooperativeMultiDeviceUnmatchedGridDim);
269
+ std::operator<<(out, ", ");
270
+ }
271
+ if (std::string("hipDeviceProp_tR0600::cooperativeMultiDeviceUnmatchedFunc").find(HIP_structs_regex) != std::string::npos) {
272
+ std::operator<<(out, "cooperativeMultiDeviceUnmatchedFunc=");
273
+ roctracer::hip_support::detail::operator<<(out, v.cooperativeMultiDeviceUnmatchedFunc);
274
+ std::operator<<(out, ", ");
275
+ }
276
+ if (std::string("hipDeviceProp_tR0600::hdpRegFlushCntl").find(HIP_structs_regex) != std::string::npos) {
277
+ std::operator<<(out, "hdpRegFlushCntl=");
278
+ roctracer::hip_support::detail::operator<<(out, v.hdpRegFlushCntl);
279
+ std::operator<<(out, ", ");
280
+ }
281
+ if (std::string("hipDeviceProp_tR0600::hdpMemFlushCntl").find(HIP_structs_regex) != std::string::npos) {
282
+ std::operator<<(out, "hdpMemFlushCntl=");
283
+ roctracer::hip_support::detail::operator<<(out, v.hdpMemFlushCntl);
284
+ std::operator<<(out, ", ");
285
+ }
286
+ if (std::string("hipDeviceProp_tR0600::arch").find(HIP_structs_regex) != std::string::npos) {
287
+ std::operator<<(out, "arch=");
288
+ roctracer::hip_support::detail::operator<<(out, v.arch);
289
+ std::operator<<(out, ", ");
290
+ }
291
+ if (std::string("hipDeviceProp_tR0600::clockInstructionRate").find(HIP_structs_regex) != std::string::npos) {
292
+ std::operator<<(out, "clockInstructionRate=");
293
+ roctracer::hip_support::detail::operator<<(out, v.clockInstructionRate);
294
+ std::operator<<(out, ", ");
295
+ }
296
+ if (std::string("hipDeviceProp_tR0600::maxSharedMemoryPerMultiProcessor").find(HIP_structs_regex) != std::string::npos) {
297
+ std::operator<<(out, "maxSharedMemoryPerMultiProcessor=");
298
+ roctracer::hip_support::detail::operator<<(out, v.maxSharedMemoryPerMultiProcessor);
299
+ std::operator<<(out, ", ");
300
+ }
301
+ if (std::string("hipDeviceProp_tR0600::gcnArchName").find(HIP_structs_regex) != std::string::npos) {
302
+ std::operator<<(out, "gcnArchName=");
303
+ roctracer::hip_support::detail::operator<<(out, v.gcnArchName);
304
+ std::operator<<(out, ", ");
305
+ }
306
+ if (std::string("hipDeviceProp_tR0600::hipReserved").find(HIP_structs_regex) != std::string::npos) {
307
+ std::operator<<(out, "hipReserved=");
308
+ roctracer::hip_support::detail::operator<<(out, v.hipReserved);
309
+ std::operator<<(out, ", ");
310
+ }
311
+ if (std::string("hipDeviceProp_tR0600::reserved").find(HIP_structs_regex) != std::string::npos) {
312
+ std::operator<<(out, "reserved=");
313
+ roctracer::hip_support::detail::operator<<(out, 0);
314
+ std::operator<<(out, ", ");
315
+ }
316
+ if (std::string("hipDeviceProp_tR0600::unifiedFunctionPointers").find(HIP_structs_regex) != std::string::npos) {
317
+ std::operator<<(out, "unifiedFunctionPointers=");
318
+ roctracer::hip_support::detail::operator<<(out, v.unifiedFunctionPointers);
319
+ std::operator<<(out, ", ");
320
+ }
321
+ if (std::string("hipDeviceProp_tR0600::clusterLaunch").find(HIP_structs_regex) != std::string::npos) {
322
+ std::operator<<(out, "clusterLaunch=");
323
+ roctracer::hip_support::detail::operator<<(out, v.clusterLaunch);
324
+ std::operator<<(out, ", ");
325
+ }
326
+ if (std::string("hipDeviceProp_tR0600::ipcEventSupported").find(HIP_structs_regex) != std::string::npos) {
327
+ std::operator<<(out, "ipcEventSupported=");
328
+ roctracer::hip_support::detail::operator<<(out, v.ipcEventSupported);
329
+ std::operator<<(out, ", ");
330
+ }
331
+ if (std::string("hipDeviceProp_tR0600::deferredMappingHipArraySupported").find(HIP_structs_regex) != std::string::npos) {
332
+ std::operator<<(out, "deferredMappingHipArraySupported=");
333
+ roctracer::hip_support::detail::operator<<(out, v.deferredMappingHipArraySupported);
334
+ std::operator<<(out, ", ");
335
+ }
336
+ if (std::string("hipDeviceProp_tR0600::memoryPoolSupportedHandleTypes").find(HIP_structs_regex) != std::string::npos) {
337
+ std::operator<<(out, "memoryPoolSupportedHandleTypes=");
338
+ roctracer::hip_support::detail::operator<<(out, v.memoryPoolSupportedHandleTypes);
339
+ std::operator<<(out, ", ");
340
+ }
341
+ if (std::string("hipDeviceProp_tR0600::gpuDirectRDMAWritesOrdering").find(HIP_structs_regex) != std::string::npos) {
342
+ std::operator<<(out, "gpuDirectRDMAWritesOrdering=");
343
+ roctracer::hip_support::detail::operator<<(out, v.gpuDirectRDMAWritesOrdering);
344
+ std::operator<<(out, ", ");
345
+ }
346
+ if (std::string("hipDeviceProp_tR0600::gpuDirectRDMAFlushWritesOptions").find(HIP_structs_regex) != std::string::npos) {
347
+ std::operator<<(out, "gpuDirectRDMAFlushWritesOptions=");
348
+ roctracer::hip_support::detail::operator<<(out, v.gpuDirectRDMAFlushWritesOptions);
349
+ std::operator<<(out, ", ");
350
+ }
351
+ if (std::string("hipDeviceProp_tR0600::gpuDirectRDMASupported").find(HIP_structs_regex) != std::string::npos) {
352
+ std::operator<<(out, "gpuDirectRDMASupported=");
353
+ roctracer::hip_support::detail::operator<<(out, v.gpuDirectRDMASupported);
354
+ std::operator<<(out, ", ");
355
+ }
356
+ if (std::string("hipDeviceProp_tR0600::memoryPoolsSupported").find(HIP_structs_regex) != std::string::npos) {
357
+ std::operator<<(out, "memoryPoolsSupported=");
358
+ roctracer::hip_support::detail::operator<<(out, v.memoryPoolsSupported);
359
+ std::operator<<(out, ", ");
360
+ }
361
+ if (std::string("hipDeviceProp_tR0600::timelineSemaphoreInteropSupported").find(HIP_structs_regex) != std::string::npos) {
362
+ std::operator<<(out, "timelineSemaphoreInteropSupported=");
363
+ roctracer::hip_support::detail::operator<<(out, v.timelineSemaphoreInteropSupported);
364
+ std::operator<<(out, ", ");
365
+ }
366
+ if (std::string("hipDeviceProp_tR0600::hostRegisterReadOnlySupported").find(HIP_structs_regex) != std::string::npos) {
367
+ std::operator<<(out, "hostRegisterReadOnlySupported=");
368
+ roctracer::hip_support::detail::operator<<(out, v.hostRegisterReadOnlySupported);
369
+ std::operator<<(out, ", ");
370
+ }
371
+ if (std::string("hipDeviceProp_tR0600::sparseHipArraySupported").find(HIP_structs_regex) != std::string::npos) {
372
+ std::operator<<(out, "sparseHipArraySupported=");
373
+ roctracer::hip_support::detail::operator<<(out, v.sparseHipArraySupported);
374
+ std::operator<<(out, ", ");
375
+ }
376
+ if (std::string("hipDeviceProp_tR0600::hostRegisterSupported").find(HIP_structs_regex) != std::string::npos) {
377
+ std::operator<<(out, "hostRegisterSupported=");
378
+ roctracer::hip_support::detail::operator<<(out, v.hostRegisterSupported);
379
+ std::operator<<(out, ", ");
380
+ }
381
+ if (std::string("hipDeviceProp_tR0600::reservedSharedMemPerBlock").find(HIP_structs_regex) != std::string::npos) {
382
+ std::operator<<(out, "reservedSharedMemPerBlock=");
383
+ roctracer::hip_support::detail::operator<<(out, v.reservedSharedMemPerBlock);
384
+ std::operator<<(out, ", ");
385
+ }
386
+ if (std::string("hipDeviceProp_tR0600::accessPolicyMaxWindowSize").find(HIP_structs_regex) != std::string::npos) {
387
+ std::operator<<(out, "accessPolicyMaxWindowSize=");
388
+ roctracer::hip_support::detail::operator<<(out, v.accessPolicyMaxWindowSize);
389
+ std::operator<<(out, ", ");
390
+ }
391
+ if (std::string("hipDeviceProp_tR0600::maxBlocksPerMultiProcessor").find(HIP_structs_regex) != std::string::npos) {
392
+ std::operator<<(out, "maxBlocksPerMultiProcessor=");
393
+ roctracer::hip_support::detail::operator<<(out, v.maxBlocksPerMultiProcessor);
394
+ std::operator<<(out, ", ");
395
+ }
396
+ if (std::string("hipDeviceProp_tR0600::directManagedMemAccessFromHost").find(HIP_structs_regex) != std::string::npos) {
397
+ std::operator<<(out, "directManagedMemAccessFromHost=");
398
+ roctracer::hip_support::detail::operator<<(out, v.directManagedMemAccessFromHost);
399
+ std::operator<<(out, ", ");
400
+ }
401
+ if (std::string("hipDeviceProp_tR0600::pageableMemoryAccessUsesHostPageTables").find(HIP_structs_regex) != std::string::npos) {
402
+ std::operator<<(out, "pageableMemoryAccessUsesHostPageTables=");
403
+ roctracer::hip_support::detail::operator<<(out, v.pageableMemoryAccessUsesHostPageTables);
404
+ std::operator<<(out, ", ");
405
+ }
406
+ if (std::string("hipDeviceProp_tR0600::sharedMemPerBlockOptin").find(HIP_structs_regex) != std::string::npos) {
407
+ std::operator<<(out, "sharedMemPerBlockOptin=");
408
+ roctracer::hip_support::detail::operator<<(out, v.sharedMemPerBlockOptin);
409
+ std::operator<<(out, ", ");
410
+ }
411
+ if (std::string("hipDeviceProp_tR0600::cooperativeMultiDeviceLaunch").find(HIP_structs_regex) != std::string::npos) {
412
+ std::operator<<(out, "cooperativeMultiDeviceLaunch=");
413
+ roctracer::hip_support::detail::operator<<(out, v.cooperativeMultiDeviceLaunch);
414
+ std::operator<<(out, ", ");
415
+ }
416
+ if (std::string("hipDeviceProp_tR0600::cooperativeLaunch").find(HIP_structs_regex) != std::string::npos) {
417
+ std::operator<<(out, "cooperativeLaunch=");
418
+ roctracer::hip_support::detail::operator<<(out, v.cooperativeLaunch);
419
+ std::operator<<(out, ", ");
420
+ }
421
+ if (std::string("hipDeviceProp_tR0600::canUseHostPointerForRegisteredMem").find(HIP_structs_regex) != std::string::npos) {
422
+ std::operator<<(out, "canUseHostPointerForRegisteredMem=");
423
+ roctracer::hip_support::detail::operator<<(out, v.canUseHostPointerForRegisteredMem);
424
+ std::operator<<(out, ", ");
425
+ }
426
+ if (std::string("hipDeviceProp_tR0600::computePreemptionSupported").find(HIP_structs_regex) != std::string::npos) {
427
+ std::operator<<(out, "computePreemptionSupported=");
428
+ roctracer::hip_support::detail::operator<<(out, v.computePreemptionSupported);
429
+ std::operator<<(out, ", ");
430
+ }
431
+ if (std::string("hipDeviceProp_tR0600::concurrentManagedAccess").find(HIP_structs_regex) != std::string::npos) {
432
+ std::operator<<(out, "concurrentManagedAccess=");
433
+ roctracer::hip_support::detail::operator<<(out, v.concurrentManagedAccess);
434
+ std::operator<<(out, ", ");
435
+ }
436
+ if (std::string("hipDeviceProp_tR0600::pageableMemoryAccess").find(HIP_structs_regex) != std::string::npos) {
437
+ std::operator<<(out, "pageableMemoryAccess=");
438
+ roctracer::hip_support::detail::operator<<(out, v.pageableMemoryAccess);
439
+ std::operator<<(out, ", ");
440
+ }
441
+ if (std::string("hipDeviceProp_tR0600::singleToDoublePrecisionPerfRatio").find(HIP_structs_regex) != std::string::npos) {
442
+ std::operator<<(out, "singleToDoublePrecisionPerfRatio=");
443
+ roctracer::hip_support::detail::operator<<(out, v.singleToDoublePrecisionPerfRatio);
444
+ std::operator<<(out, ", ");
445
+ }
446
+ if (std::string("hipDeviceProp_tR0600::hostNativeAtomicSupported").find(HIP_structs_regex) != std::string::npos) {
447
+ std::operator<<(out, "hostNativeAtomicSupported=");
448
+ roctracer::hip_support::detail::operator<<(out, v.hostNativeAtomicSupported);
449
+ std::operator<<(out, ", ");
450
+ }
451
+ if (std::string("hipDeviceProp_tR0600::multiGpuBoardGroupID").find(HIP_structs_regex) != std::string::npos) {
452
+ std::operator<<(out, "multiGpuBoardGroupID=");
453
+ roctracer::hip_support::detail::operator<<(out, v.multiGpuBoardGroupID);
454
+ std::operator<<(out, ", ");
455
+ }
456
+ if (std::string("hipDeviceProp_tR0600::isMultiGpuBoard").find(HIP_structs_regex) != std::string::npos) {
457
+ std::operator<<(out, "isMultiGpuBoard=");
458
+ roctracer::hip_support::detail::operator<<(out, v.isMultiGpuBoard);
459
+ std::operator<<(out, ", ");
460
+ }
461
+ if (std::string("hipDeviceProp_tR0600::managedMemory").find(HIP_structs_regex) != std::string::npos) {
462
+ std::operator<<(out, "managedMemory=");
463
+ roctracer::hip_support::detail::operator<<(out, v.managedMemory);
464
+ std::operator<<(out, ", ");
465
+ }
466
+ if (std::string("hipDeviceProp_tR0600::regsPerMultiprocessor").find(HIP_structs_regex) != std::string::npos) {
467
+ std::operator<<(out, "regsPerMultiprocessor=");
468
+ roctracer::hip_support::detail::operator<<(out, v.regsPerMultiprocessor);
469
+ std::operator<<(out, ", ");
470
+ }
471
+ if (std::string("hipDeviceProp_tR0600::sharedMemPerMultiprocessor").find(HIP_structs_regex) != std::string::npos) {
472
+ std::operator<<(out, "sharedMemPerMultiprocessor=");
473
+ roctracer::hip_support::detail::operator<<(out, v.sharedMemPerMultiprocessor);
474
+ std::operator<<(out, ", ");
475
+ }
476
+ if (std::string("hipDeviceProp_tR0600::localL1CacheSupported").find(HIP_structs_regex) != std::string::npos) {
477
+ std::operator<<(out, "localL1CacheSupported=");
478
+ roctracer::hip_support::detail::operator<<(out, v.localL1CacheSupported);
479
+ std::operator<<(out, ", ");
480
+ }
481
+ if (std::string("hipDeviceProp_tR0600::globalL1CacheSupported").find(HIP_structs_regex) != std::string::npos) {
482
+ std::operator<<(out, "globalL1CacheSupported=");
483
+ roctracer::hip_support::detail::operator<<(out, v.globalL1CacheSupported);
484
+ std::operator<<(out, ", ");
485
+ }
486
+ if (std::string("hipDeviceProp_tR0600::streamPrioritiesSupported").find(HIP_structs_regex) != std::string::npos) {
487
+ std::operator<<(out, "streamPrioritiesSupported=");
488
+ roctracer::hip_support::detail::operator<<(out, v.streamPrioritiesSupported);
489
+ std::operator<<(out, ", ");
490
+ }
491
+ if (std::string("hipDeviceProp_tR0600::maxThreadsPerMultiProcessor").find(HIP_structs_regex) != std::string::npos) {
492
+ std::operator<<(out, "maxThreadsPerMultiProcessor=");
493
+ roctracer::hip_support::detail::operator<<(out, v.maxThreadsPerMultiProcessor);
494
+ std::operator<<(out, ", ");
495
+ }
496
+ if (std::string("hipDeviceProp_tR0600::persistingL2CacheMaxSize").find(HIP_structs_regex) != std::string::npos) {
497
+ std::operator<<(out, "persistingL2CacheMaxSize=");
498
+ roctracer::hip_support::detail::operator<<(out, v.persistingL2CacheMaxSize);
499
+ std::operator<<(out, ", ");
500
+ }
501
+ if (std::string("hipDeviceProp_tR0600::l2CacheSize").find(HIP_structs_regex) != std::string::npos) {
502
+ std::operator<<(out, "l2CacheSize=");
503
+ roctracer::hip_support::detail::operator<<(out, v.l2CacheSize);
504
+ std::operator<<(out, ", ");
505
+ }
506
+ if (std::string("hipDeviceProp_tR0600::memoryBusWidth").find(HIP_structs_regex) != std::string::npos) {
507
+ std::operator<<(out, "memoryBusWidth=");
508
+ roctracer::hip_support::detail::operator<<(out, v.memoryBusWidth);
509
+ std::operator<<(out, ", ");
510
+ }
511
+ if (std::string("hipDeviceProp_tR0600::memoryClockRate").find(HIP_structs_regex) != std::string::npos) {
512
+ std::operator<<(out, "memoryClockRate=");
513
+ roctracer::hip_support::detail::operator<<(out, v.memoryClockRate);
514
+ std::operator<<(out, ", ");
515
+ }
516
+ if (std::string("hipDeviceProp_tR0600::unifiedAddressing").find(HIP_structs_regex) != std::string::npos) {
517
+ std::operator<<(out, "unifiedAddressing=");
518
+ roctracer::hip_support::detail::operator<<(out, v.unifiedAddressing);
519
+ std::operator<<(out, ", ");
520
+ }
521
+ if (std::string("hipDeviceProp_tR0600::asyncEngineCount").find(HIP_structs_regex) != std::string::npos) {
522
+ std::operator<<(out, "asyncEngineCount=");
523
+ roctracer::hip_support::detail::operator<<(out, v.asyncEngineCount);
524
+ std::operator<<(out, ", ");
525
+ }
526
+ if (std::string("hipDeviceProp_tR0600::tccDriver").find(HIP_structs_regex) != std::string::npos) {
527
+ std::operator<<(out, "tccDriver=");
528
+ roctracer::hip_support::detail::operator<<(out, v.tccDriver);
529
+ std::operator<<(out, ", ");
530
+ }
531
+ if (std::string("hipDeviceProp_tR0600::pciDomainID").find(HIP_structs_regex) != std::string::npos) {
532
+ std::operator<<(out, "pciDomainID=");
533
+ roctracer::hip_support::detail::operator<<(out, v.pciDomainID);
534
+ std::operator<<(out, ", ");
535
+ }
536
+ if (std::string("hipDeviceProp_tR0600::pciDeviceID").find(HIP_structs_regex) != std::string::npos) {
537
+ std::operator<<(out, "pciDeviceID=");
538
+ roctracer::hip_support::detail::operator<<(out, v.pciDeviceID);
539
+ std::operator<<(out, ", ");
540
+ }
541
+ if (std::string("hipDeviceProp_tR0600::pciBusID").find(HIP_structs_regex) != std::string::npos) {
542
+ std::operator<<(out, "pciBusID=");
543
+ roctracer::hip_support::detail::operator<<(out, v.pciBusID);
544
+ std::operator<<(out, ", ");
545
+ }
546
+ if (std::string("hipDeviceProp_tR0600::ECCEnabled").find(HIP_structs_regex) != std::string::npos) {
547
+ std::operator<<(out, "ECCEnabled=");
548
+ roctracer::hip_support::detail::operator<<(out, v.ECCEnabled);
549
+ std::operator<<(out, ", ");
550
+ }
551
+ if (std::string("hipDeviceProp_tR0600::concurrentKernels").find(HIP_structs_regex) != std::string::npos) {
552
+ std::operator<<(out, "concurrentKernels=");
553
+ roctracer::hip_support::detail::operator<<(out, v.concurrentKernels);
554
+ std::operator<<(out, ", ");
555
+ }
556
+ if (std::string("hipDeviceProp_tR0600::surfaceAlignment").find(HIP_structs_regex) != std::string::npos) {
557
+ std::operator<<(out, "surfaceAlignment=");
558
+ roctracer::hip_support::detail::operator<<(out, v.surfaceAlignment);
559
+ std::operator<<(out, ", ");
560
+ }
561
+ if (std::string("hipDeviceProp_tR0600::maxSurfaceCubemapLayered").find(HIP_structs_regex) != std::string::npos) {
562
+ std::operator<<(out, "maxSurfaceCubemapLayered=");
563
+ roctracer::hip_support::detail::operator<<(out, v.maxSurfaceCubemapLayered);
564
+ std::operator<<(out, ", ");
565
+ }
566
+ if (std::string("hipDeviceProp_tR0600::maxSurfaceCubemap").find(HIP_structs_regex) != std::string::npos) {
567
+ std::operator<<(out, "maxSurfaceCubemap=");
568
+ roctracer::hip_support::detail::operator<<(out, v.maxSurfaceCubemap);
569
+ std::operator<<(out, ", ");
570
+ }
571
+ if (std::string("hipDeviceProp_tR0600::maxSurface2DLayered").find(HIP_structs_regex) != std::string::npos) {
572
+ std::operator<<(out, "maxSurface2DLayered=");
573
+ roctracer::hip_support::detail::operator<<(out, v.maxSurface2DLayered);
574
+ std::operator<<(out, ", ");
575
+ }
576
+ if (std::string("hipDeviceProp_tR0600::maxSurface1DLayered").find(HIP_structs_regex) != std::string::npos) {
577
+ std::operator<<(out, "maxSurface1DLayered=");
578
+ roctracer::hip_support::detail::operator<<(out, v.maxSurface1DLayered);
579
+ std::operator<<(out, ", ");
580
+ }
581
+ if (std::string("hipDeviceProp_tR0600::maxSurface3D").find(HIP_structs_regex) != std::string::npos) {
582
+ std::operator<<(out, "maxSurface3D=");
583
+ roctracer::hip_support::detail::operator<<(out, v.maxSurface3D);
584
+ std::operator<<(out, ", ");
585
+ }
586
+ if (std::string("hipDeviceProp_tR0600::maxSurface2D").find(HIP_structs_regex) != std::string::npos) {
587
+ std::operator<<(out, "maxSurface2D=");
588
+ roctracer::hip_support::detail::operator<<(out, v.maxSurface2D);
589
+ std::operator<<(out, ", ");
590
+ }
591
+ if (std::string("hipDeviceProp_tR0600::maxSurface1D").find(HIP_structs_regex) != std::string::npos) {
592
+ std::operator<<(out, "maxSurface1D=");
593
+ roctracer::hip_support::detail::operator<<(out, v.maxSurface1D);
594
+ std::operator<<(out, ", ");
595
+ }
596
+ if (std::string("hipDeviceProp_tR0600::maxTextureCubemapLayered").find(HIP_structs_regex) != std::string::npos) {
597
+ std::operator<<(out, "maxTextureCubemapLayered=");
598
+ roctracer::hip_support::detail::operator<<(out, v.maxTextureCubemapLayered);
599
+ std::operator<<(out, ", ");
600
+ }
601
+ if (std::string("hipDeviceProp_tR0600::maxTexture2DLayered").find(HIP_structs_regex) != std::string::npos) {
602
+ std::operator<<(out, "maxTexture2DLayered=");
603
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture2DLayered);
604
+ std::operator<<(out, ", ");
605
+ }
606
+ if (std::string("hipDeviceProp_tR0600::maxTexture1DLayered").find(HIP_structs_regex) != std::string::npos) {
607
+ std::operator<<(out, "maxTexture1DLayered=");
608
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture1DLayered);
609
+ std::operator<<(out, ", ");
610
+ }
611
+ if (std::string("hipDeviceProp_tR0600::maxTextureCubemap").find(HIP_structs_regex) != std::string::npos) {
612
+ std::operator<<(out, "maxTextureCubemap=");
613
+ roctracer::hip_support::detail::operator<<(out, v.maxTextureCubemap);
614
+ std::operator<<(out, ", ");
615
+ }
616
+ if (std::string("hipDeviceProp_tR0600::maxTexture3DAlt").find(HIP_structs_regex) != std::string::npos) {
617
+ std::operator<<(out, "maxTexture3DAlt=");
618
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture3DAlt);
619
+ std::operator<<(out, ", ");
620
+ }
621
+ if (std::string("hipDeviceProp_tR0600::maxTexture3D").find(HIP_structs_regex) != std::string::npos) {
622
+ std::operator<<(out, "maxTexture3D=");
623
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture3D);
624
+ std::operator<<(out, ", ");
625
+ }
626
+ if (std::string("hipDeviceProp_tR0600::maxTexture2DGather").find(HIP_structs_regex) != std::string::npos) {
627
+ std::operator<<(out, "maxTexture2DGather=");
628
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture2DGather);
629
+ std::operator<<(out, ", ");
630
+ }
631
+ if (std::string("hipDeviceProp_tR0600::maxTexture2DLinear").find(HIP_structs_regex) != std::string::npos) {
632
+ std::operator<<(out, "maxTexture2DLinear=");
633
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture2DLinear);
634
+ std::operator<<(out, ", ");
635
+ }
636
+ if (std::string("hipDeviceProp_tR0600::maxTexture2DMipmap").find(HIP_structs_regex) != std::string::npos) {
637
+ std::operator<<(out, "maxTexture2DMipmap=");
638
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture2DMipmap);
639
+ std::operator<<(out, ", ");
640
+ }
641
+ if (std::string("hipDeviceProp_tR0600::maxTexture2D").find(HIP_structs_regex) != std::string::npos) {
642
+ std::operator<<(out, "maxTexture2D=");
643
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture2D);
644
+ std::operator<<(out, ", ");
645
+ }
646
+ if (std::string("hipDeviceProp_tR0600::maxTexture1DLinear").find(HIP_structs_regex) != std::string::npos) {
647
+ std::operator<<(out, "maxTexture1DLinear=");
648
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture1DLinear);
649
+ std::operator<<(out, ", ");
650
+ }
651
+ if (std::string("hipDeviceProp_tR0600::maxTexture1DMipmap").find(HIP_structs_regex) != std::string::npos) {
652
+ std::operator<<(out, "maxTexture1DMipmap=");
653
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture1DMipmap);
654
+ std::operator<<(out, ", ");
655
+ }
656
+ if (std::string("hipDeviceProp_tR0600::maxTexture1D").find(HIP_structs_regex) != std::string::npos) {
657
+ std::operator<<(out, "maxTexture1D=");
658
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture1D);
659
+ std::operator<<(out, ", ");
660
+ }
661
+ if (std::string("hipDeviceProp_tR0600::computeMode").find(HIP_structs_regex) != std::string::npos) {
662
+ std::operator<<(out, "computeMode=");
663
+ roctracer::hip_support::detail::operator<<(out, v.computeMode);
664
+ std::operator<<(out, ", ");
665
+ }
666
+ if (std::string("hipDeviceProp_tR0600::canMapHostMemory").find(HIP_structs_regex) != std::string::npos) {
667
+ std::operator<<(out, "canMapHostMemory=");
668
+ roctracer::hip_support::detail::operator<<(out, v.canMapHostMemory);
669
+ std::operator<<(out, ", ");
670
+ }
671
+ if (std::string("hipDeviceProp_tR0600::integrated").find(HIP_structs_regex) != std::string::npos) {
672
+ std::operator<<(out, "integrated=");
673
+ roctracer::hip_support::detail::operator<<(out, v.integrated);
674
+ std::operator<<(out, ", ");
675
+ }
676
+ if (std::string("hipDeviceProp_tR0600::kernelExecTimeoutEnabled").find(HIP_structs_regex) != std::string::npos) {
677
+ std::operator<<(out, "kernelExecTimeoutEnabled=");
678
+ roctracer::hip_support::detail::operator<<(out, v.kernelExecTimeoutEnabled);
679
+ std::operator<<(out, ", ");
680
+ }
681
+ if (std::string("hipDeviceProp_tR0600::multiProcessorCount").find(HIP_structs_regex) != std::string::npos) {
682
+ std::operator<<(out, "multiProcessorCount=");
683
+ roctracer::hip_support::detail::operator<<(out, v.multiProcessorCount);
684
+ std::operator<<(out, ", ");
685
+ }
686
+ if (std::string("hipDeviceProp_tR0600::deviceOverlap").find(HIP_structs_regex) != std::string::npos) {
687
+ std::operator<<(out, "deviceOverlap=");
688
+ roctracer::hip_support::detail::operator<<(out, v.deviceOverlap);
689
+ std::operator<<(out, ", ");
690
+ }
691
+ if (std::string("hipDeviceProp_tR0600::texturePitchAlignment").find(HIP_structs_regex) != std::string::npos) {
692
+ std::operator<<(out, "texturePitchAlignment=");
693
+ roctracer::hip_support::detail::operator<<(out, v.texturePitchAlignment);
694
+ std::operator<<(out, ", ");
695
+ }
696
+ if (std::string("hipDeviceProp_tR0600::textureAlignment").find(HIP_structs_regex) != std::string::npos) {
697
+ std::operator<<(out, "textureAlignment=");
698
+ roctracer::hip_support::detail::operator<<(out, v.textureAlignment);
699
+ std::operator<<(out, ", ");
700
+ }
701
+ if (std::string("hipDeviceProp_tR0600::minor").find(HIP_structs_regex) != std::string::npos) {
702
+ std::operator<<(out, "minor=");
703
+ roctracer::hip_support::detail::operator<<(out, v.minor);
704
+ std::operator<<(out, ", ");
705
+ }
706
+ if (std::string("hipDeviceProp_tR0600::major").find(HIP_structs_regex) != std::string::npos) {
707
+ std::operator<<(out, "major=");
708
+ roctracer::hip_support::detail::operator<<(out, v.major);
709
+ std::operator<<(out, ", ");
710
+ }
711
+ if (std::string("hipDeviceProp_tR0600::totalConstMem").find(HIP_structs_regex) != std::string::npos) {
712
+ std::operator<<(out, "totalConstMem=");
713
+ roctracer::hip_support::detail::operator<<(out, v.totalConstMem);
714
+ std::operator<<(out, ", ");
715
+ }
716
+ if (std::string("hipDeviceProp_tR0600::clockRate").find(HIP_structs_regex) != std::string::npos) {
717
+ std::operator<<(out, "clockRate=");
718
+ roctracer::hip_support::detail::operator<<(out, v.clockRate);
719
+ std::operator<<(out, ", ");
720
+ }
721
+ if (std::string("hipDeviceProp_tR0600::maxGridSize").find(HIP_structs_regex) != std::string::npos) {
722
+ std::operator<<(out, "maxGridSize=");
723
+ roctracer::hip_support::detail::operator<<(out, v.maxGridSize);
724
+ std::operator<<(out, ", ");
725
+ }
726
+ if (std::string("hipDeviceProp_tR0600::maxThreadsDim").find(HIP_structs_regex) != std::string::npos) {
727
+ std::operator<<(out, "maxThreadsDim=");
728
+ roctracer::hip_support::detail::operator<<(out, v.maxThreadsDim);
729
+ std::operator<<(out, ", ");
730
+ }
731
+ if (std::string("hipDeviceProp_tR0600::maxThreadsPerBlock").find(HIP_structs_regex) != std::string::npos) {
732
+ std::operator<<(out, "maxThreadsPerBlock=");
733
+ roctracer::hip_support::detail::operator<<(out, v.maxThreadsPerBlock);
734
+ std::operator<<(out, ", ");
735
+ }
736
+ if (std::string("hipDeviceProp_tR0600::memPitch").find(HIP_structs_regex) != std::string::npos) {
737
+ std::operator<<(out, "memPitch=");
738
+ roctracer::hip_support::detail::operator<<(out, v.memPitch);
739
+ std::operator<<(out, ", ");
740
+ }
741
+ if (std::string("hipDeviceProp_tR0600::warpSize").find(HIP_structs_regex) != std::string::npos) {
742
+ std::operator<<(out, "warpSize=");
743
+ roctracer::hip_support::detail::operator<<(out, v.warpSize);
744
+ std::operator<<(out, ", ");
745
+ }
746
+ if (std::string("hipDeviceProp_tR0600::regsPerBlock").find(HIP_structs_regex) != std::string::npos) {
747
+ std::operator<<(out, "regsPerBlock=");
748
+ roctracer::hip_support::detail::operator<<(out, v.regsPerBlock);
749
+ std::operator<<(out, ", ");
750
+ }
751
+ if (std::string("hipDeviceProp_tR0600::sharedMemPerBlock").find(HIP_structs_regex) != std::string::npos) {
752
+ std::operator<<(out, "sharedMemPerBlock=");
753
+ roctracer::hip_support::detail::operator<<(out, v.sharedMemPerBlock);
754
+ std::operator<<(out, ", ");
755
+ }
756
+ if (std::string("hipDeviceProp_tR0600::totalGlobalMem").find(HIP_structs_regex) != std::string::npos) {
757
+ std::operator<<(out, "totalGlobalMem=");
758
+ roctracer::hip_support::detail::operator<<(out, v.totalGlobalMem);
759
+ std::operator<<(out, ", ");
760
+ }
761
+ if (std::string("hipDeviceProp_tR0600::luidDeviceNodeMask").find(HIP_structs_regex) != std::string::npos) {
762
+ std::operator<<(out, "luidDeviceNodeMask=");
763
+ roctracer::hip_support::detail::operator<<(out, v.luidDeviceNodeMask);
764
+ std::operator<<(out, ", ");
765
+ }
766
+ if (std::string("hipDeviceProp_tR0600::luid").find(HIP_structs_regex) != std::string::npos) {
767
+ std::operator<<(out, "luid=");
768
+ roctracer::hip_support::detail::operator<<(out, v.luid);
769
+ std::operator<<(out, ", ");
770
+ }
771
+ if (std::string("hipDeviceProp_tR0600::uuid").find(HIP_structs_regex) != std::string::npos) {
772
+ std::operator<<(out, "uuid=");
773
+ roctracer::hip_support::detail::operator<<(out, v.uuid);
774
+ std::operator<<(out, ", ");
775
+ }
776
+ if (std::string("hipDeviceProp_tR0600::name").find(HIP_structs_regex) != std::string::npos) {
777
+ std::operator<<(out, "name=");
778
+ roctracer::hip_support::detail::operator<<(out, v.name);
779
+ }
780
+ };
781
+ HIP_depth_max_cnt--;
782
+ std::operator<<(out, '}');
783
+ return out;
784
+ }
785
+ inline static std::ostream& operator<<(std::ostream& out, const hipPointerAttribute_t& v)
786
+ {
787
+ std::operator<<(out, '{');
788
+ HIP_depth_max_cnt++;
789
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
790
+ if (std::string("hipPointerAttribute_t::allocationFlags").find(HIP_structs_regex) != std::string::npos) {
791
+ std::operator<<(out, "allocationFlags=");
792
+ roctracer::hip_support::detail::operator<<(out, v.allocationFlags);
793
+ std::operator<<(out, ", ");
794
+ }
795
+ if (std::string("hipPointerAttribute_t::isManaged").find(HIP_structs_regex) != std::string::npos) {
796
+ std::operator<<(out, "isManaged=");
797
+ roctracer::hip_support::detail::operator<<(out, v.isManaged);
798
+ std::operator<<(out, ", ");
799
+ }
800
+ if (std::string("hipPointerAttribute_t::device").find(HIP_structs_regex) != std::string::npos) {
801
+ std::operator<<(out, "device=");
802
+ roctracer::hip_support::detail::operator<<(out, v.device);
803
+ std::operator<<(out, ", ");
804
+ }
805
+ if (std::string("hipPointerAttribute_t::type").find(HIP_structs_regex) != std::string::npos) {
806
+ std::operator<<(out, "type=");
807
+ roctracer::hip_support::detail::operator<<(out, v.type);
808
+ }
809
+ };
810
+ HIP_depth_max_cnt--;
811
+ std::operator<<(out, '}');
812
+ return out;
813
+ }
814
+ inline static std::ostream& operator<<(std::ostream& out, const hipChannelFormatDesc& v)
815
+ {
816
+ std::operator<<(out, '{');
817
+ HIP_depth_max_cnt++;
818
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
819
+ if (std::string("hipChannelFormatDesc::f").find(HIP_structs_regex) != std::string::npos) {
820
+ std::operator<<(out, "f=");
821
+ roctracer::hip_support::detail::operator<<(out, v.f);
822
+ std::operator<<(out, ", ");
823
+ }
824
+ if (std::string("hipChannelFormatDesc::w").find(HIP_structs_regex) != std::string::npos) {
825
+ std::operator<<(out, "w=");
826
+ roctracer::hip_support::detail::operator<<(out, v.w);
827
+ std::operator<<(out, ", ");
828
+ }
829
+ if (std::string("hipChannelFormatDesc::z").find(HIP_structs_regex) != std::string::npos) {
830
+ std::operator<<(out, "z=");
831
+ roctracer::hip_support::detail::operator<<(out, v.z);
832
+ std::operator<<(out, ", ");
833
+ }
834
+ if (std::string("hipChannelFormatDesc::y").find(HIP_structs_regex) != std::string::npos) {
835
+ std::operator<<(out, "y=");
836
+ roctracer::hip_support::detail::operator<<(out, v.y);
837
+ std::operator<<(out, ", ");
838
+ }
839
+ if (std::string("hipChannelFormatDesc::x").find(HIP_structs_regex) != std::string::npos) {
840
+ std::operator<<(out, "x=");
841
+ roctracer::hip_support::detail::operator<<(out, v.x);
842
+ }
843
+ };
844
+ HIP_depth_max_cnt--;
845
+ std::operator<<(out, '}');
846
+ return out;
847
+ }
848
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_ARRAY_DESCRIPTOR& v)
849
+ {
850
+ std::operator<<(out, '{');
851
+ HIP_depth_max_cnt++;
852
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
853
+ if (std::string("HIP_ARRAY_DESCRIPTOR::NumChannels").find(HIP_structs_regex) != std::string::npos) {
854
+ std::operator<<(out, "NumChannels=");
855
+ roctracer::hip_support::detail::operator<<(out, v.NumChannels);
856
+ std::operator<<(out, ", ");
857
+ }
858
+ if (std::string("HIP_ARRAY_DESCRIPTOR::Format").find(HIP_structs_regex) != std::string::npos) {
859
+ std::operator<<(out, "Format=");
860
+ roctracer::hip_support::detail::operator<<(out, v.Format);
861
+ std::operator<<(out, ", ");
862
+ }
863
+ if (std::string("HIP_ARRAY_DESCRIPTOR::Height").find(HIP_structs_regex) != std::string::npos) {
864
+ std::operator<<(out, "Height=");
865
+ roctracer::hip_support::detail::operator<<(out, v.Height);
866
+ std::operator<<(out, ", ");
867
+ }
868
+ if (std::string("HIP_ARRAY_DESCRIPTOR::Width").find(HIP_structs_regex) != std::string::npos) {
869
+ std::operator<<(out, "Width=");
870
+ roctracer::hip_support::detail::operator<<(out, v.Width);
871
+ }
872
+ };
873
+ HIP_depth_max_cnt--;
874
+ std::operator<<(out, '}');
875
+ return out;
876
+ }
877
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_ARRAY3D_DESCRIPTOR& v)
878
+ {
879
+ std::operator<<(out, '{');
880
+ HIP_depth_max_cnt++;
881
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
882
+ if (std::string("HIP_ARRAY3D_DESCRIPTOR::Flags").find(HIP_structs_regex) != std::string::npos) {
883
+ std::operator<<(out, "Flags=");
884
+ roctracer::hip_support::detail::operator<<(out, v.Flags);
885
+ std::operator<<(out, ", ");
886
+ }
887
+ if (std::string("HIP_ARRAY3D_DESCRIPTOR::NumChannels").find(HIP_structs_regex) != std::string::npos) {
888
+ std::operator<<(out, "NumChannels=");
889
+ roctracer::hip_support::detail::operator<<(out, v.NumChannels);
890
+ std::operator<<(out, ", ");
891
+ }
892
+ if (std::string("HIP_ARRAY3D_DESCRIPTOR::Format").find(HIP_structs_regex) != std::string::npos) {
893
+ std::operator<<(out, "Format=");
894
+ roctracer::hip_support::detail::operator<<(out, v.Format);
895
+ std::operator<<(out, ", ");
896
+ }
897
+ if (std::string("HIP_ARRAY3D_DESCRIPTOR::Depth").find(HIP_structs_regex) != std::string::npos) {
898
+ std::operator<<(out, "Depth=");
899
+ roctracer::hip_support::detail::operator<<(out, v.Depth);
900
+ std::operator<<(out, ", ");
901
+ }
902
+ if (std::string("HIP_ARRAY3D_DESCRIPTOR::Height").find(HIP_structs_regex) != std::string::npos) {
903
+ std::operator<<(out, "Height=");
904
+ roctracer::hip_support::detail::operator<<(out, v.Height);
905
+ std::operator<<(out, ", ");
906
+ }
907
+ if (std::string("HIP_ARRAY3D_DESCRIPTOR::Width").find(HIP_structs_regex) != std::string::npos) {
908
+ std::operator<<(out, "Width=");
909
+ roctracer::hip_support::detail::operator<<(out, v.Width);
910
+ }
911
+ };
912
+ HIP_depth_max_cnt--;
913
+ std::operator<<(out, '}');
914
+ return out;
915
+ }
916
+ inline static std::ostream& operator<<(std::ostream& out, const hip_Memcpy2D& v)
917
+ {
918
+ std::operator<<(out, '{');
919
+ HIP_depth_max_cnt++;
920
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
921
+ if (std::string("hip_Memcpy2D::Height").find(HIP_structs_regex) != std::string::npos) {
922
+ std::operator<<(out, "Height=");
923
+ roctracer::hip_support::detail::operator<<(out, v.Height);
924
+ std::operator<<(out, ", ");
925
+ }
926
+ if (std::string("hip_Memcpy2D::WidthInBytes").find(HIP_structs_regex) != std::string::npos) {
927
+ std::operator<<(out, "WidthInBytes=");
928
+ roctracer::hip_support::detail::operator<<(out, v.WidthInBytes);
929
+ std::operator<<(out, ", ");
930
+ }
931
+ if (std::string("hip_Memcpy2D::dstPitch").find(HIP_structs_regex) != std::string::npos) {
932
+ std::operator<<(out, "dstPitch=");
933
+ roctracer::hip_support::detail::operator<<(out, v.dstPitch);
934
+ std::operator<<(out, ", ");
935
+ }
936
+ if (std::string("hip_Memcpy2D::dstArray").find(HIP_structs_regex) != std::string::npos) {
937
+ std::operator<<(out, "dstArray=");
938
+ roctracer::hip_support::detail::operator<<(out, v.dstArray);
939
+ std::operator<<(out, ", ");
940
+ }
941
+ if (std::string("hip_Memcpy2D::dstDevice").find(HIP_structs_regex) != std::string::npos) {
942
+ std::operator<<(out, "dstDevice=");
943
+ roctracer::hip_support::detail::operator<<(out, v.dstDevice);
944
+ std::operator<<(out, ", ");
945
+ }
946
+ if (std::string("hip_Memcpy2D::dstMemoryType").find(HIP_structs_regex) != std::string::npos) {
947
+ std::operator<<(out, "dstMemoryType=");
948
+ roctracer::hip_support::detail::operator<<(out, v.dstMemoryType);
949
+ std::operator<<(out, ", ");
950
+ }
951
+ if (std::string("hip_Memcpy2D::dstY").find(HIP_structs_regex) != std::string::npos) {
952
+ std::operator<<(out, "dstY=");
953
+ roctracer::hip_support::detail::operator<<(out, v.dstY);
954
+ std::operator<<(out, ", ");
955
+ }
956
+ if (std::string("hip_Memcpy2D::dstXInBytes").find(HIP_structs_regex) != std::string::npos) {
957
+ std::operator<<(out, "dstXInBytes=");
958
+ roctracer::hip_support::detail::operator<<(out, v.dstXInBytes);
959
+ std::operator<<(out, ", ");
960
+ }
961
+ if (std::string("hip_Memcpy2D::srcPitch").find(HIP_structs_regex) != std::string::npos) {
962
+ std::operator<<(out, "srcPitch=");
963
+ roctracer::hip_support::detail::operator<<(out, v.srcPitch);
964
+ std::operator<<(out, ", ");
965
+ }
966
+ if (std::string("hip_Memcpy2D::srcArray").find(HIP_structs_regex) != std::string::npos) {
967
+ std::operator<<(out, "srcArray=");
968
+ roctracer::hip_support::detail::operator<<(out, v.srcArray);
969
+ std::operator<<(out, ", ");
970
+ }
971
+ if (std::string("hip_Memcpy2D::srcDevice").find(HIP_structs_regex) != std::string::npos) {
972
+ std::operator<<(out, "srcDevice=");
973
+ roctracer::hip_support::detail::operator<<(out, v.srcDevice);
974
+ std::operator<<(out, ", ");
975
+ }
976
+ if (std::string("hip_Memcpy2D::srcMemoryType").find(HIP_structs_regex) != std::string::npos) {
977
+ std::operator<<(out, "srcMemoryType=");
978
+ roctracer::hip_support::detail::operator<<(out, v.srcMemoryType);
979
+ std::operator<<(out, ", ");
980
+ }
981
+ if (std::string("hip_Memcpy2D::srcY").find(HIP_structs_regex) != std::string::npos) {
982
+ std::operator<<(out, "srcY=");
983
+ roctracer::hip_support::detail::operator<<(out, v.srcY);
984
+ std::operator<<(out, ", ");
985
+ }
986
+ if (std::string("hip_Memcpy2D::srcXInBytes").find(HIP_structs_regex) != std::string::npos) {
987
+ std::operator<<(out, "srcXInBytes=");
988
+ roctracer::hip_support::detail::operator<<(out, v.srcXInBytes);
989
+ }
990
+ };
991
+ HIP_depth_max_cnt--;
992
+ std::operator<<(out, '}');
993
+ return out;
994
+ }
995
+ inline static std::ostream& operator<<(std::ostream& out, const hipMipmappedArray& v)
996
+ {
997
+ std::operator<<(out, '{');
998
+ HIP_depth_max_cnt++;
999
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1000
+ if (std::string("hipMipmappedArray::num_channels").find(HIP_structs_regex) != std::string::npos) {
1001
+ std::operator<<(out, "num_channels=");
1002
+ roctracer::hip_support::detail::operator<<(out, v.num_channels);
1003
+ std::operator<<(out, ", ");
1004
+ }
1005
+ if (std::string("hipMipmappedArray::format").find(HIP_structs_regex) != std::string::npos) {
1006
+ std::operator<<(out, "format=");
1007
+ roctracer::hip_support::detail::operator<<(out, v.format);
1008
+ std::operator<<(out, ", ");
1009
+ }
1010
+ if (std::string("hipMipmappedArray::flags").find(HIP_structs_regex) != std::string::npos) {
1011
+ std::operator<<(out, "flags=");
1012
+ roctracer::hip_support::detail::operator<<(out, v.flags);
1013
+ std::operator<<(out, ", ");
1014
+ }
1015
+ if (std::string("hipMipmappedArray::max_mipmap_level").find(HIP_structs_regex) != std::string::npos) {
1016
+ std::operator<<(out, "max_mipmap_level=");
1017
+ roctracer::hip_support::detail::operator<<(out, v.max_mipmap_level);
1018
+ std::operator<<(out, ", ");
1019
+ }
1020
+ if (std::string("hipMipmappedArray::min_mipmap_level").find(HIP_structs_regex) != std::string::npos) {
1021
+ std::operator<<(out, "min_mipmap_level=");
1022
+ roctracer::hip_support::detail::operator<<(out, v.min_mipmap_level);
1023
+ std::operator<<(out, ", ");
1024
+ }
1025
+ if (std::string("hipMipmappedArray::depth").find(HIP_structs_regex) != std::string::npos) {
1026
+ std::operator<<(out, "depth=");
1027
+ roctracer::hip_support::detail::operator<<(out, v.depth);
1028
+ std::operator<<(out, ", ");
1029
+ }
1030
+ if (std::string("hipMipmappedArray::height").find(HIP_structs_regex) != std::string::npos) {
1031
+ std::operator<<(out, "height=");
1032
+ roctracer::hip_support::detail::operator<<(out, v.height);
1033
+ std::operator<<(out, ", ");
1034
+ }
1035
+ if (std::string("hipMipmappedArray::width").find(HIP_structs_regex) != std::string::npos) {
1036
+ std::operator<<(out, "width=");
1037
+ roctracer::hip_support::detail::operator<<(out, v.width);
1038
+ std::operator<<(out, ", ");
1039
+ }
1040
+ if (std::string("hipMipmappedArray::type").find(HIP_structs_regex) != std::string::npos) {
1041
+ std::operator<<(out, "type=");
1042
+ roctracer::hip_support::detail::operator<<(out, v.type);
1043
+ std::operator<<(out, ", ");
1044
+ }
1045
+ if (std::string("hipMipmappedArray::desc").find(HIP_structs_regex) != std::string::npos) {
1046
+ std::operator<<(out, "desc=");
1047
+ roctracer::hip_support::detail::operator<<(out, v.desc);
1048
+ }
1049
+ };
1050
+ HIP_depth_max_cnt--;
1051
+ std::operator<<(out, '}');
1052
+ return out;
1053
+ }
1054
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_TEXTURE_DESC& v)
1055
+ {
1056
+ std::operator<<(out, '{');
1057
+ HIP_depth_max_cnt++;
1058
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1059
+ if (std::string("HIP_TEXTURE_DESC::reserved").find(HIP_structs_regex) != std::string::npos) {
1060
+ std::operator<<(out, "reserved=");
1061
+ roctracer::hip_support::detail::operator<<(out, 0);
1062
+ std::operator<<(out, ", ");
1063
+ }
1064
+ if (std::string("HIP_TEXTURE_DESC::borderColor").find(HIP_structs_regex) != std::string::npos) {
1065
+ std::operator<<(out, "borderColor=");
1066
+ roctracer::hip_support::detail::operator<<(out, v.borderColor);
1067
+ std::operator<<(out, ", ");
1068
+ }
1069
+ if (std::string("HIP_TEXTURE_DESC::maxMipmapLevelClamp").find(HIP_structs_regex) != std::string::npos) {
1070
+ std::operator<<(out, "maxMipmapLevelClamp=");
1071
+ roctracer::hip_support::detail::operator<<(out, v.maxMipmapLevelClamp);
1072
+ std::operator<<(out, ", ");
1073
+ }
1074
+ if (std::string("HIP_TEXTURE_DESC::minMipmapLevelClamp").find(HIP_structs_regex) != std::string::npos) {
1075
+ std::operator<<(out, "minMipmapLevelClamp=");
1076
+ roctracer::hip_support::detail::operator<<(out, v.minMipmapLevelClamp);
1077
+ std::operator<<(out, ", ");
1078
+ }
1079
+ if (std::string("HIP_TEXTURE_DESC::mipmapLevelBias").find(HIP_structs_regex) != std::string::npos) {
1080
+ std::operator<<(out, "mipmapLevelBias=");
1081
+ roctracer::hip_support::detail::operator<<(out, v.mipmapLevelBias);
1082
+ std::operator<<(out, ", ");
1083
+ }
1084
+ if (std::string("HIP_TEXTURE_DESC::mipmapFilterMode").find(HIP_structs_regex) != std::string::npos) {
1085
+ std::operator<<(out, "mipmapFilterMode=");
1086
+ roctracer::hip_support::detail::operator<<(out, v.mipmapFilterMode);
1087
+ std::operator<<(out, ", ");
1088
+ }
1089
+ if (std::string("HIP_TEXTURE_DESC::maxAnisotropy").find(HIP_structs_regex) != std::string::npos) {
1090
+ std::operator<<(out, "maxAnisotropy=");
1091
+ roctracer::hip_support::detail::operator<<(out, v.maxAnisotropy);
1092
+ std::operator<<(out, ", ");
1093
+ }
1094
+ if (std::string("HIP_TEXTURE_DESC::flags").find(HIP_structs_regex) != std::string::npos) {
1095
+ std::operator<<(out, "flags=");
1096
+ roctracer::hip_support::detail::operator<<(out, v.flags);
1097
+ std::operator<<(out, ", ");
1098
+ }
1099
+ if (std::string("HIP_TEXTURE_DESC::filterMode").find(HIP_structs_regex) != std::string::npos) {
1100
+ std::operator<<(out, "filterMode=");
1101
+ roctracer::hip_support::detail::operator<<(out, v.filterMode);
1102
+ std::operator<<(out, ", ");
1103
+ }
1104
+ if (std::string("HIP_TEXTURE_DESC::addressMode").find(HIP_structs_regex) != std::string::npos) {
1105
+ std::operator<<(out, "addressMode=");
1106
+ roctracer::hip_support::detail::operator<<(out, v.addressMode);
1107
+ }
1108
+ };
1109
+ HIP_depth_max_cnt--;
1110
+ std::operator<<(out, '}');
1111
+ return out;
1112
+ }
1113
+ inline static std::ostream& operator<<(std::ostream& out, const hipResourceDesc& v)
1114
+ {
1115
+ std::operator<<(out, '{');
1116
+ HIP_depth_max_cnt++;
1117
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1118
+ if (std::string("hipResourceDesc::resType").find(HIP_structs_regex) != std::string::npos) {
1119
+ std::operator<<(out, "resType=");
1120
+ roctracer::hip_support::detail::operator<<(out, v.resType);
1121
+ }
1122
+ };
1123
+ HIP_depth_max_cnt--;
1124
+ std::operator<<(out, '}');
1125
+ return out;
1126
+ }
1127
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_RESOURCE_DESC& v)
1128
+ {
1129
+ std::operator<<(out, '{');
1130
+ HIP_depth_max_cnt++;
1131
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1132
+ if (std::string("HIP_RESOURCE_DESC::flags").find(HIP_structs_regex) != std::string::npos) {
1133
+ std::operator<<(out, "flags=");
1134
+ roctracer::hip_support::detail::operator<<(out, v.flags);
1135
+ std::operator<<(out, ", ");
1136
+ }
1137
+ if (std::string("HIP_RESOURCE_DESC::resType").find(HIP_structs_regex) != std::string::npos) {
1138
+ std::operator<<(out, "resType=");
1139
+ roctracer::hip_support::detail::operator<<(out, v.resType);
1140
+ }
1141
+ };
1142
+ HIP_depth_max_cnt--;
1143
+ std::operator<<(out, '}');
1144
+ return out;
1145
+ }
1146
+ inline static std::ostream& operator<<(std::ostream& out, const hipResourceViewDesc& v)
1147
+ {
1148
+ std::operator<<(out, '{');
1149
+ HIP_depth_max_cnt++;
1150
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1151
+ if (std::string("hipResourceViewDesc::lastLayer").find(HIP_structs_regex) != std::string::npos) {
1152
+ std::operator<<(out, "lastLayer=");
1153
+ roctracer::hip_support::detail::operator<<(out, v.lastLayer);
1154
+ std::operator<<(out, ", ");
1155
+ }
1156
+ if (std::string("hipResourceViewDesc::firstLayer").find(HIP_structs_regex) != std::string::npos) {
1157
+ std::operator<<(out, "firstLayer=");
1158
+ roctracer::hip_support::detail::operator<<(out, v.firstLayer);
1159
+ std::operator<<(out, ", ");
1160
+ }
1161
+ if (std::string("hipResourceViewDesc::lastMipmapLevel").find(HIP_structs_regex) != std::string::npos) {
1162
+ std::operator<<(out, "lastMipmapLevel=");
1163
+ roctracer::hip_support::detail::operator<<(out, v.lastMipmapLevel);
1164
+ std::operator<<(out, ", ");
1165
+ }
1166
+ if (std::string("hipResourceViewDesc::firstMipmapLevel").find(HIP_structs_regex) != std::string::npos) {
1167
+ std::operator<<(out, "firstMipmapLevel=");
1168
+ roctracer::hip_support::detail::operator<<(out, v.firstMipmapLevel);
1169
+ std::operator<<(out, ", ");
1170
+ }
1171
+ if (std::string("hipResourceViewDesc::depth").find(HIP_structs_regex) != std::string::npos) {
1172
+ std::operator<<(out, "depth=");
1173
+ roctracer::hip_support::detail::operator<<(out, v.depth);
1174
+ std::operator<<(out, ", ");
1175
+ }
1176
+ if (std::string("hipResourceViewDesc::height").find(HIP_structs_regex) != std::string::npos) {
1177
+ std::operator<<(out, "height=");
1178
+ roctracer::hip_support::detail::operator<<(out, v.height);
1179
+ std::operator<<(out, ", ");
1180
+ }
1181
+ if (std::string("hipResourceViewDesc::width").find(HIP_structs_regex) != std::string::npos) {
1182
+ std::operator<<(out, "width=");
1183
+ roctracer::hip_support::detail::operator<<(out, v.width);
1184
+ std::operator<<(out, ", ");
1185
+ }
1186
+ if (std::string("hipResourceViewDesc::format").find(HIP_structs_regex) != std::string::npos) {
1187
+ std::operator<<(out, "format=");
1188
+ roctracer::hip_support::detail::operator<<(out, v.format);
1189
+ }
1190
+ };
1191
+ HIP_depth_max_cnt--;
1192
+ std::operator<<(out, '}');
1193
+ return out;
1194
+ }
1195
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_RESOURCE_VIEW_DESC& v)
1196
+ {
1197
+ std::operator<<(out, '{');
1198
+ HIP_depth_max_cnt++;
1199
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1200
+ if (std::string("HIP_RESOURCE_VIEW_DESC::reserved").find(HIP_structs_regex) != std::string::npos) {
1201
+ std::operator<<(out, "reserved=");
1202
+ roctracer::hip_support::detail::operator<<(out, 0);
1203
+ std::operator<<(out, ", ");
1204
+ }
1205
+ if (std::string("HIP_RESOURCE_VIEW_DESC::lastLayer").find(HIP_structs_regex) != std::string::npos) {
1206
+ std::operator<<(out, "lastLayer=");
1207
+ roctracer::hip_support::detail::operator<<(out, v.lastLayer);
1208
+ std::operator<<(out, ", ");
1209
+ }
1210
+ if (std::string("HIP_RESOURCE_VIEW_DESC::firstLayer").find(HIP_structs_regex) != std::string::npos) {
1211
+ std::operator<<(out, "firstLayer=");
1212
+ roctracer::hip_support::detail::operator<<(out, v.firstLayer);
1213
+ std::operator<<(out, ", ");
1214
+ }
1215
+ if (std::string("HIP_RESOURCE_VIEW_DESC::lastMipmapLevel").find(HIP_structs_regex) != std::string::npos) {
1216
+ std::operator<<(out, "lastMipmapLevel=");
1217
+ roctracer::hip_support::detail::operator<<(out, v.lastMipmapLevel);
1218
+ std::operator<<(out, ", ");
1219
+ }
1220
+ if (std::string("HIP_RESOURCE_VIEW_DESC::firstMipmapLevel").find(HIP_structs_regex) != std::string::npos) {
1221
+ std::operator<<(out, "firstMipmapLevel=");
1222
+ roctracer::hip_support::detail::operator<<(out, v.firstMipmapLevel);
1223
+ std::operator<<(out, ", ");
1224
+ }
1225
+ if (std::string("HIP_RESOURCE_VIEW_DESC::depth").find(HIP_structs_regex) != std::string::npos) {
1226
+ std::operator<<(out, "depth=");
1227
+ roctracer::hip_support::detail::operator<<(out, v.depth);
1228
+ std::operator<<(out, ", ");
1229
+ }
1230
+ if (std::string("HIP_RESOURCE_VIEW_DESC::height").find(HIP_structs_regex) != std::string::npos) {
1231
+ std::operator<<(out, "height=");
1232
+ roctracer::hip_support::detail::operator<<(out, v.height);
1233
+ std::operator<<(out, ", ");
1234
+ }
1235
+ if (std::string("HIP_RESOURCE_VIEW_DESC::width").find(HIP_structs_regex) != std::string::npos) {
1236
+ std::operator<<(out, "width=");
1237
+ roctracer::hip_support::detail::operator<<(out, v.width);
1238
+ std::operator<<(out, ", ");
1239
+ }
1240
+ if (std::string("HIP_RESOURCE_VIEW_DESC::format").find(HIP_structs_regex) != std::string::npos) {
1241
+ std::operator<<(out, "format=");
1242
+ roctracer::hip_support::detail::operator<<(out, v.format);
1243
+ }
1244
+ };
1245
+ HIP_depth_max_cnt--;
1246
+ std::operator<<(out, '}');
1247
+ return out;
1248
+ }
1249
+ inline static std::ostream& operator<<(std::ostream& out, const hipPitchedPtr& v)
1250
+ {
1251
+ std::operator<<(out, '{');
1252
+ HIP_depth_max_cnt++;
1253
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1254
+ if (std::string("hipPitchedPtr::ysize").find(HIP_structs_regex) != std::string::npos) {
1255
+ std::operator<<(out, "ysize=");
1256
+ roctracer::hip_support::detail::operator<<(out, v.ysize);
1257
+ std::operator<<(out, ", ");
1258
+ }
1259
+ if (std::string("hipPitchedPtr::xsize").find(HIP_structs_regex) != std::string::npos) {
1260
+ std::operator<<(out, "xsize=");
1261
+ roctracer::hip_support::detail::operator<<(out, v.xsize);
1262
+ std::operator<<(out, ", ");
1263
+ }
1264
+ if (std::string("hipPitchedPtr::pitch").find(HIP_structs_regex) != std::string::npos) {
1265
+ std::operator<<(out, "pitch=");
1266
+ roctracer::hip_support::detail::operator<<(out, v.pitch);
1267
+ }
1268
+ };
1269
+ HIP_depth_max_cnt--;
1270
+ std::operator<<(out, '}');
1271
+ return out;
1272
+ }
1273
+ inline static std::ostream& operator<<(std::ostream& out, const hipExtent& v)
1274
+ {
1275
+ std::operator<<(out, '{');
1276
+ HIP_depth_max_cnt++;
1277
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1278
+ if (std::string("hipExtent::depth").find(HIP_structs_regex) != std::string::npos) {
1279
+ std::operator<<(out, "depth=");
1280
+ roctracer::hip_support::detail::operator<<(out, v.depth);
1281
+ std::operator<<(out, ", ");
1282
+ }
1283
+ if (std::string("hipExtent::height").find(HIP_structs_regex) != std::string::npos) {
1284
+ std::operator<<(out, "height=");
1285
+ roctracer::hip_support::detail::operator<<(out, v.height);
1286
+ std::operator<<(out, ", ");
1287
+ }
1288
+ if (std::string("hipExtent::width").find(HIP_structs_regex) != std::string::npos) {
1289
+ std::operator<<(out, "width=");
1290
+ roctracer::hip_support::detail::operator<<(out, v.width);
1291
+ }
1292
+ };
1293
+ HIP_depth_max_cnt--;
1294
+ std::operator<<(out, '}');
1295
+ return out;
1296
+ }
1297
+ inline static std::ostream& operator<<(std::ostream& out, const hipPos& v)
1298
+ {
1299
+ std::operator<<(out, '{');
1300
+ HIP_depth_max_cnt++;
1301
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1302
+ if (std::string("hipPos::z").find(HIP_structs_regex) != std::string::npos) {
1303
+ std::operator<<(out, "z=");
1304
+ roctracer::hip_support::detail::operator<<(out, v.z);
1305
+ std::operator<<(out, ", ");
1306
+ }
1307
+ if (std::string("hipPos::y").find(HIP_structs_regex) != std::string::npos) {
1308
+ std::operator<<(out, "y=");
1309
+ roctracer::hip_support::detail::operator<<(out, v.y);
1310
+ std::operator<<(out, ", ");
1311
+ }
1312
+ if (std::string("hipPos::x").find(HIP_structs_regex) != std::string::npos) {
1313
+ std::operator<<(out, "x=");
1314
+ roctracer::hip_support::detail::operator<<(out, v.x);
1315
+ }
1316
+ };
1317
+ HIP_depth_max_cnt--;
1318
+ std::operator<<(out, '}');
1319
+ return out;
1320
+ }
1321
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemcpy3DParms& v)
1322
+ {
1323
+ std::operator<<(out, '{');
1324
+ HIP_depth_max_cnt++;
1325
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1326
+ if (std::string("hipMemcpy3DParms::kind").find(HIP_structs_regex) != std::string::npos) {
1327
+ std::operator<<(out, "kind=");
1328
+ roctracer::hip_support::detail::operator<<(out, v.kind);
1329
+ std::operator<<(out, ", ");
1330
+ }
1331
+ if (std::string("hipMemcpy3DParms::extent").find(HIP_structs_regex) != std::string::npos) {
1332
+ std::operator<<(out, "extent=");
1333
+ roctracer::hip_support::detail::operator<<(out, v.extent);
1334
+ std::operator<<(out, ", ");
1335
+ }
1336
+ if (std::string("hipMemcpy3DParms::dstPtr").find(HIP_structs_regex) != std::string::npos) {
1337
+ std::operator<<(out, "dstPtr=");
1338
+ roctracer::hip_support::detail::operator<<(out, v.dstPtr);
1339
+ std::operator<<(out, ", ");
1340
+ }
1341
+ if (std::string("hipMemcpy3DParms::dstPos").find(HIP_structs_regex) != std::string::npos) {
1342
+ std::operator<<(out, "dstPos=");
1343
+ roctracer::hip_support::detail::operator<<(out, v.dstPos);
1344
+ std::operator<<(out, ", ");
1345
+ }
1346
+ if (std::string("hipMemcpy3DParms::dstArray").find(HIP_structs_regex) != std::string::npos) {
1347
+ std::operator<<(out, "dstArray=");
1348
+ roctracer::hip_support::detail::operator<<(out, v.dstArray);
1349
+ std::operator<<(out, ", ");
1350
+ }
1351
+ if (std::string("hipMemcpy3DParms::srcPtr").find(HIP_structs_regex) != std::string::npos) {
1352
+ std::operator<<(out, "srcPtr=");
1353
+ roctracer::hip_support::detail::operator<<(out, v.srcPtr);
1354
+ std::operator<<(out, ", ");
1355
+ }
1356
+ if (std::string("hipMemcpy3DParms::srcPos").find(HIP_structs_regex) != std::string::npos) {
1357
+ std::operator<<(out, "srcPos=");
1358
+ roctracer::hip_support::detail::operator<<(out, v.srcPos);
1359
+ std::operator<<(out, ", ");
1360
+ }
1361
+ if (std::string("hipMemcpy3DParms::srcArray").find(HIP_structs_regex) != std::string::npos) {
1362
+ std::operator<<(out, "srcArray=");
1363
+ roctracer::hip_support::detail::operator<<(out, v.srcArray);
1364
+ }
1365
+ };
1366
+ HIP_depth_max_cnt--;
1367
+ std::operator<<(out, '}');
1368
+ return out;
1369
+ }
1370
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_MEMCPY3D& v)
1371
+ {
1372
+ std::operator<<(out, '{');
1373
+ HIP_depth_max_cnt++;
1374
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1375
+ if (std::string("HIP_MEMCPY3D::Depth").find(HIP_structs_regex) != std::string::npos) {
1376
+ std::operator<<(out, "Depth=");
1377
+ roctracer::hip_support::detail::operator<<(out, v.Depth);
1378
+ std::operator<<(out, ", ");
1379
+ }
1380
+ if (std::string("HIP_MEMCPY3D::Height").find(HIP_structs_regex) != std::string::npos) {
1381
+ std::operator<<(out, "Height=");
1382
+ roctracer::hip_support::detail::operator<<(out, v.Height);
1383
+ std::operator<<(out, ", ");
1384
+ }
1385
+ if (std::string("HIP_MEMCPY3D::WidthInBytes").find(HIP_structs_regex) != std::string::npos) {
1386
+ std::operator<<(out, "WidthInBytes=");
1387
+ roctracer::hip_support::detail::operator<<(out, v.WidthInBytes);
1388
+ std::operator<<(out, ", ");
1389
+ }
1390
+ if (std::string("HIP_MEMCPY3D::dstHeight").find(HIP_structs_regex) != std::string::npos) {
1391
+ std::operator<<(out, "dstHeight=");
1392
+ roctracer::hip_support::detail::operator<<(out, v.dstHeight);
1393
+ std::operator<<(out, ", ");
1394
+ }
1395
+ if (std::string("HIP_MEMCPY3D::dstPitch").find(HIP_structs_regex) != std::string::npos) {
1396
+ std::operator<<(out, "dstPitch=");
1397
+ roctracer::hip_support::detail::operator<<(out, v.dstPitch);
1398
+ std::operator<<(out, ", ");
1399
+ }
1400
+ if (std::string("HIP_MEMCPY3D::dstArray").find(HIP_structs_regex) != std::string::npos) {
1401
+ std::operator<<(out, "dstArray=");
1402
+ roctracer::hip_support::detail::operator<<(out, v.dstArray);
1403
+ std::operator<<(out, ", ");
1404
+ }
1405
+ if (std::string("HIP_MEMCPY3D::dstDevice").find(HIP_structs_regex) != std::string::npos) {
1406
+ std::operator<<(out, "dstDevice=");
1407
+ roctracer::hip_support::detail::operator<<(out, v.dstDevice);
1408
+ std::operator<<(out, ", ");
1409
+ }
1410
+ if (std::string("HIP_MEMCPY3D::dstMemoryType").find(HIP_structs_regex) != std::string::npos) {
1411
+ std::operator<<(out, "dstMemoryType=");
1412
+ roctracer::hip_support::detail::operator<<(out, v.dstMemoryType);
1413
+ std::operator<<(out, ", ");
1414
+ }
1415
+ if (std::string("HIP_MEMCPY3D::dstLOD").find(HIP_structs_regex) != std::string::npos) {
1416
+ std::operator<<(out, "dstLOD=");
1417
+ roctracer::hip_support::detail::operator<<(out, v.dstLOD);
1418
+ std::operator<<(out, ", ");
1419
+ }
1420
+ if (std::string("HIP_MEMCPY3D::dstZ").find(HIP_structs_regex) != std::string::npos) {
1421
+ std::operator<<(out, "dstZ=");
1422
+ roctracer::hip_support::detail::operator<<(out, v.dstZ);
1423
+ std::operator<<(out, ", ");
1424
+ }
1425
+ if (std::string("HIP_MEMCPY3D::dstY").find(HIP_structs_regex) != std::string::npos) {
1426
+ std::operator<<(out, "dstY=");
1427
+ roctracer::hip_support::detail::operator<<(out, v.dstY);
1428
+ std::operator<<(out, ", ");
1429
+ }
1430
+ if (std::string("HIP_MEMCPY3D::dstXInBytes").find(HIP_structs_regex) != std::string::npos) {
1431
+ std::operator<<(out, "dstXInBytes=");
1432
+ roctracer::hip_support::detail::operator<<(out, v.dstXInBytes);
1433
+ std::operator<<(out, ", ");
1434
+ }
1435
+ if (std::string("HIP_MEMCPY3D::srcHeight").find(HIP_structs_regex) != std::string::npos) {
1436
+ std::operator<<(out, "srcHeight=");
1437
+ roctracer::hip_support::detail::operator<<(out, v.srcHeight);
1438
+ std::operator<<(out, ", ");
1439
+ }
1440
+ if (std::string("HIP_MEMCPY3D::srcPitch").find(HIP_structs_regex) != std::string::npos) {
1441
+ std::operator<<(out, "srcPitch=");
1442
+ roctracer::hip_support::detail::operator<<(out, v.srcPitch);
1443
+ std::operator<<(out, ", ");
1444
+ }
1445
+ if (std::string("HIP_MEMCPY3D::srcArray").find(HIP_structs_regex) != std::string::npos) {
1446
+ std::operator<<(out, "srcArray=");
1447
+ roctracer::hip_support::detail::operator<<(out, v.srcArray);
1448
+ std::operator<<(out, ", ");
1449
+ }
1450
+ if (std::string("HIP_MEMCPY3D::srcDevice").find(HIP_structs_regex) != std::string::npos) {
1451
+ std::operator<<(out, "srcDevice=");
1452
+ roctracer::hip_support::detail::operator<<(out, v.srcDevice);
1453
+ std::operator<<(out, ", ");
1454
+ }
1455
+ if (std::string("HIP_MEMCPY3D::srcMemoryType").find(HIP_structs_regex) != std::string::npos) {
1456
+ std::operator<<(out, "srcMemoryType=");
1457
+ roctracer::hip_support::detail::operator<<(out, v.srcMemoryType);
1458
+ std::operator<<(out, ", ");
1459
+ }
1460
+ if (std::string("HIP_MEMCPY3D::srcLOD").find(HIP_structs_regex) != std::string::npos) {
1461
+ std::operator<<(out, "srcLOD=");
1462
+ roctracer::hip_support::detail::operator<<(out, v.srcLOD);
1463
+ std::operator<<(out, ", ");
1464
+ }
1465
+ if (std::string("HIP_MEMCPY3D::srcZ").find(HIP_structs_regex) != std::string::npos) {
1466
+ std::operator<<(out, "srcZ=");
1467
+ roctracer::hip_support::detail::operator<<(out, v.srcZ);
1468
+ std::operator<<(out, ", ");
1469
+ }
1470
+ if (std::string("HIP_MEMCPY3D::srcY").find(HIP_structs_regex) != std::string::npos) {
1471
+ std::operator<<(out, "srcY=");
1472
+ roctracer::hip_support::detail::operator<<(out, v.srcY);
1473
+ std::operator<<(out, ", ");
1474
+ }
1475
+ if (std::string("HIP_MEMCPY3D::srcXInBytes").find(HIP_structs_regex) != std::string::npos) {
1476
+ std::operator<<(out, "srcXInBytes=");
1477
+ roctracer::hip_support::detail::operator<<(out, v.srcXInBytes);
1478
+ }
1479
+ };
1480
+ HIP_depth_max_cnt--;
1481
+ std::operator<<(out, '}');
1482
+ return out;
1483
+ }
1484
+ inline static std::ostream& operator<<(std::ostream& out, const uchar1& v)
1485
+ {
1486
+ std::operator<<(out, '{');
1487
+ HIP_depth_max_cnt++;
1488
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1489
+ if (std::string("uchar1::x").find(HIP_structs_regex) != std::string::npos) {
1490
+ std::operator<<(out, "x=");
1491
+ roctracer::hip_support::detail::operator<<(out, v.x);
1492
+ }
1493
+ };
1494
+ HIP_depth_max_cnt--;
1495
+ std::operator<<(out, '}');
1496
+ return out;
1497
+ }
1498
+ inline static std::ostream& operator<<(std::ostream& out, const uchar2& v)
1499
+ {
1500
+ std::operator<<(out, '{');
1501
+ HIP_depth_max_cnt++;
1502
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1503
+ if (std::string("uchar2::y").find(HIP_structs_regex) != std::string::npos) {
1504
+ std::operator<<(out, "y=");
1505
+ roctracer::hip_support::detail::operator<<(out, v.y);
1506
+ std::operator<<(out, ", ");
1507
+ }
1508
+ if (std::string("uchar2::x").find(HIP_structs_regex) != std::string::npos) {
1509
+ std::operator<<(out, "x=");
1510
+ roctracer::hip_support::detail::operator<<(out, v.x);
1511
+ }
1512
+ };
1513
+ HIP_depth_max_cnt--;
1514
+ std::operator<<(out, '}');
1515
+ return out;
1516
+ }
1517
+ inline static std::ostream& operator<<(std::ostream& out, const uchar3& v)
1518
+ {
1519
+ std::operator<<(out, '{');
1520
+ HIP_depth_max_cnt++;
1521
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1522
+ if (std::string("uchar3::z").find(HIP_structs_regex) != std::string::npos) {
1523
+ std::operator<<(out, "z=");
1524
+ roctracer::hip_support::detail::operator<<(out, v.z);
1525
+ std::operator<<(out, ", ");
1526
+ }
1527
+ if (std::string("uchar3::y").find(HIP_structs_regex) != std::string::npos) {
1528
+ std::operator<<(out, "y=");
1529
+ roctracer::hip_support::detail::operator<<(out, v.y);
1530
+ std::operator<<(out, ", ");
1531
+ }
1532
+ if (std::string("uchar3::x").find(HIP_structs_regex) != std::string::npos) {
1533
+ std::operator<<(out, "x=");
1534
+ roctracer::hip_support::detail::operator<<(out, v.x);
1535
+ }
1536
+ };
1537
+ HIP_depth_max_cnt--;
1538
+ std::operator<<(out, '}');
1539
+ return out;
1540
+ }
1541
+ inline static std::ostream& operator<<(std::ostream& out, const uchar4& v)
1542
+ {
1543
+ std::operator<<(out, '{');
1544
+ HIP_depth_max_cnt++;
1545
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1546
+ if (std::string("uchar4::w").find(HIP_structs_regex) != std::string::npos) {
1547
+ std::operator<<(out, "w=");
1548
+ roctracer::hip_support::detail::operator<<(out, v.w);
1549
+ std::operator<<(out, ", ");
1550
+ }
1551
+ if (std::string("uchar4::z").find(HIP_structs_regex) != std::string::npos) {
1552
+ std::operator<<(out, "z=");
1553
+ roctracer::hip_support::detail::operator<<(out, v.z);
1554
+ std::operator<<(out, ", ");
1555
+ }
1556
+ if (std::string("uchar4::y").find(HIP_structs_regex) != std::string::npos) {
1557
+ std::operator<<(out, "y=");
1558
+ roctracer::hip_support::detail::operator<<(out, v.y);
1559
+ std::operator<<(out, ", ");
1560
+ }
1561
+ if (std::string("uchar4::x").find(HIP_structs_regex) != std::string::npos) {
1562
+ std::operator<<(out, "x=");
1563
+ roctracer::hip_support::detail::operator<<(out, v.x);
1564
+ }
1565
+ };
1566
+ HIP_depth_max_cnt--;
1567
+ std::operator<<(out, '}');
1568
+ return out;
1569
+ }
1570
+ inline static std::ostream& operator<<(std::ostream& out, const char1& v)
1571
+ {
1572
+ std::operator<<(out, '{');
1573
+ HIP_depth_max_cnt++;
1574
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1575
+ if (std::string("char1::x").find(HIP_structs_regex) != std::string::npos) {
1576
+ std::operator<<(out, "x=");
1577
+ roctracer::hip_support::detail::operator<<(out, v.x);
1578
+ }
1579
+ };
1580
+ HIP_depth_max_cnt--;
1581
+ std::operator<<(out, '}');
1582
+ return out;
1583
+ }
1584
+ inline static std::ostream& operator<<(std::ostream& out, const char2& v)
1585
+ {
1586
+ std::operator<<(out, '{');
1587
+ HIP_depth_max_cnt++;
1588
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1589
+ if (std::string("char2::y").find(HIP_structs_regex) != std::string::npos) {
1590
+ std::operator<<(out, "y=");
1591
+ roctracer::hip_support::detail::operator<<(out, v.y);
1592
+ std::operator<<(out, ", ");
1593
+ }
1594
+ if (std::string("char2::x").find(HIP_structs_regex) != std::string::npos) {
1595
+ std::operator<<(out, "x=");
1596
+ roctracer::hip_support::detail::operator<<(out, v.x);
1597
+ }
1598
+ };
1599
+ HIP_depth_max_cnt--;
1600
+ std::operator<<(out, '}');
1601
+ return out;
1602
+ }
1603
+ inline static std::ostream& operator<<(std::ostream& out, const char3& v)
1604
+ {
1605
+ std::operator<<(out, '{');
1606
+ HIP_depth_max_cnt++;
1607
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1608
+ if (std::string("char3::z").find(HIP_structs_regex) != std::string::npos) {
1609
+ std::operator<<(out, "z=");
1610
+ roctracer::hip_support::detail::operator<<(out, v.z);
1611
+ std::operator<<(out, ", ");
1612
+ }
1613
+ if (std::string("char3::y").find(HIP_structs_regex) != std::string::npos) {
1614
+ std::operator<<(out, "y=");
1615
+ roctracer::hip_support::detail::operator<<(out, v.y);
1616
+ std::operator<<(out, ", ");
1617
+ }
1618
+ if (std::string("char3::x").find(HIP_structs_regex) != std::string::npos) {
1619
+ std::operator<<(out, "x=");
1620
+ roctracer::hip_support::detail::operator<<(out, v.x);
1621
+ }
1622
+ };
1623
+ HIP_depth_max_cnt--;
1624
+ std::operator<<(out, '}');
1625
+ return out;
1626
+ }
1627
+ inline static std::ostream& operator<<(std::ostream& out, const char4& v)
1628
+ {
1629
+ std::operator<<(out, '{');
1630
+ HIP_depth_max_cnt++;
1631
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1632
+ if (std::string("char4::w").find(HIP_structs_regex) != std::string::npos) {
1633
+ std::operator<<(out, "w=");
1634
+ roctracer::hip_support::detail::operator<<(out, v.w);
1635
+ std::operator<<(out, ", ");
1636
+ }
1637
+ if (std::string("char4::z").find(HIP_structs_regex) != std::string::npos) {
1638
+ std::operator<<(out, "z=");
1639
+ roctracer::hip_support::detail::operator<<(out, v.z);
1640
+ std::operator<<(out, ", ");
1641
+ }
1642
+ if (std::string("char4::y").find(HIP_structs_regex) != std::string::npos) {
1643
+ std::operator<<(out, "y=");
1644
+ roctracer::hip_support::detail::operator<<(out, v.y);
1645
+ std::operator<<(out, ", ");
1646
+ }
1647
+ if (std::string("char4::x").find(HIP_structs_regex) != std::string::npos) {
1648
+ std::operator<<(out, "x=");
1649
+ roctracer::hip_support::detail::operator<<(out, v.x);
1650
+ }
1651
+ };
1652
+ HIP_depth_max_cnt--;
1653
+ std::operator<<(out, '}');
1654
+ return out;
1655
+ }
1656
+ inline static std::ostream& operator<<(std::ostream& out, const ushort1& v)
1657
+ {
1658
+ std::operator<<(out, '{');
1659
+ HIP_depth_max_cnt++;
1660
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1661
+ if (std::string("ushort1::x").find(HIP_structs_regex) != std::string::npos) {
1662
+ std::operator<<(out, "x=");
1663
+ roctracer::hip_support::detail::operator<<(out, v.x);
1664
+ }
1665
+ };
1666
+ HIP_depth_max_cnt--;
1667
+ std::operator<<(out, '}');
1668
+ return out;
1669
+ }
1670
+ inline static std::ostream& operator<<(std::ostream& out, const ushort2& v)
1671
+ {
1672
+ std::operator<<(out, '{');
1673
+ HIP_depth_max_cnt++;
1674
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1675
+ if (std::string("ushort2::y").find(HIP_structs_regex) != std::string::npos) {
1676
+ std::operator<<(out, "y=");
1677
+ roctracer::hip_support::detail::operator<<(out, v.y);
1678
+ std::operator<<(out, ", ");
1679
+ }
1680
+ if (std::string("ushort2::x").find(HIP_structs_regex) != std::string::npos) {
1681
+ std::operator<<(out, "x=");
1682
+ roctracer::hip_support::detail::operator<<(out, v.x);
1683
+ }
1684
+ };
1685
+ HIP_depth_max_cnt--;
1686
+ std::operator<<(out, '}');
1687
+ return out;
1688
+ }
1689
+ inline static std::ostream& operator<<(std::ostream& out, const ushort3& v)
1690
+ {
1691
+ std::operator<<(out, '{');
1692
+ HIP_depth_max_cnt++;
1693
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1694
+ if (std::string("ushort3::z").find(HIP_structs_regex) != std::string::npos) {
1695
+ std::operator<<(out, "z=");
1696
+ roctracer::hip_support::detail::operator<<(out, v.z);
1697
+ std::operator<<(out, ", ");
1698
+ }
1699
+ if (std::string("ushort3::y").find(HIP_structs_regex) != std::string::npos) {
1700
+ std::operator<<(out, "y=");
1701
+ roctracer::hip_support::detail::operator<<(out, v.y);
1702
+ std::operator<<(out, ", ");
1703
+ }
1704
+ if (std::string("ushort3::x").find(HIP_structs_regex) != std::string::npos) {
1705
+ std::operator<<(out, "x=");
1706
+ roctracer::hip_support::detail::operator<<(out, v.x);
1707
+ }
1708
+ };
1709
+ HIP_depth_max_cnt--;
1710
+ std::operator<<(out, '}');
1711
+ return out;
1712
+ }
1713
+ inline static std::ostream& operator<<(std::ostream& out, const ushort4& v)
1714
+ {
1715
+ std::operator<<(out, '{');
1716
+ HIP_depth_max_cnt++;
1717
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1718
+ if (std::string("ushort4::w").find(HIP_structs_regex) != std::string::npos) {
1719
+ std::operator<<(out, "w=");
1720
+ roctracer::hip_support::detail::operator<<(out, v.w);
1721
+ std::operator<<(out, ", ");
1722
+ }
1723
+ if (std::string("ushort4::z").find(HIP_structs_regex) != std::string::npos) {
1724
+ std::operator<<(out, "z=");
1725
+ roctracer::hip_support::detail::operator<<(out, v.z);
1726
+ std::operator<<(out, ", ");
1727
+ }
1728
+ if (std::string("ushort4::y").find(HIP_structs_regex) != std::string::npos) {
1729
+ std::operator<<(out, "y=");
1730
+ roctracer::hip_support::detail::operator<<(out, v.y);
1731
+ std::operator<<(out, ", ");
1732
+ }
1733
+ if (std::string("ushort4::x").find(HIP_structs_regex) != std::string::npos) {
1734
+ std::operator<<(out, "x=");
1735
+ roctracer::hip_support::detail::operator<<(out, v.x);
1736
+ }
1737
+ };
1738
+ HIP_depth_max_cnt--;
1739
+ std::operator<<(out, '}');
1740
+ return out;
1741
+ }
1742
+ inline static std::ostream& operator<<(std::ostream& out, const short1& v)
1743
+ {
1744
+ std::operator<<(out, '{');
1745
+ HIP_depth_max_cnt++;
1746
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1747
+ if (std::string("short1::x").find(HIP_structs_regex) != std::string::npos) {
1748
+ std::operator<<(out, "x=");
1749
+ roctracer::hip_support::detail::operator<<(out, v.x);
1750
+ }
1751
+ };
1752
+ HIP_depth_max_cnt--;
1753
+ std::operator<<(out, '}');
1754
+ return out;
1755
+ }
1756
+ inline static std::ostream& operator<<(std::ostream& out, const short2& v)
1757
+ {
1758
+ std::operator<<(out, '{');
1759
+ HIP_depth_max_cnt++;
1760
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1761
+ if (std::string("short2::y").find(HIP_structs_regex) != std::string::npos) {
1762
+ std::operator<<(out, "y=");
1763
+ roctracer::hip_support::detail::operator<<(out, v.y);
1764
+ std::operator<<(out, ", ");
1765
+ }
1766
+ if (std::string("short2::x").find(HIP_structs_regex) != std::string::npos) {
1767
+ std::operator<<(out, "x=");
1768
+ roctracer::hip_support::detail::operator<<(out, v.x);
1769
+ }
1770
+ };
1771
+ HIP_depth_max_cnt--;
1772
+ std::operator<<(out, '}');
1773
+ return out;
1774
+ }
1775
+ inline static std::ostream& operator<<(std::ostream& out, const short3& v)
1776
+ {
1777
+ std::operator<<(out, '{');
1778
+ HIP_depth_max_cnt++;
1779
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1780
+ if (std::string("short3::z").find(HIP_structs_regex) != std::string::npos) {
1781
+ std::operator<<(out, "z=");
1782
+ roctracer::hip_support::detail::operator<<(out, v.z);
1783
+ std::operator<<(out, ", ");
1784
+ }
1785
+ if (std::string("short3::y").find(HIP_structs_regex) != std::string::npos) {
1786
+ std::operator<<(out, "y=");
1787
+ roctracer::hip_support::detail::operator<<(out, v.y);
1788
+ std::operator<<(out, ", ");
1789
+ }
1790
+ if (std::string("short3::x").find(HIP_structs_regex) != std::string::npos) {
1791
+ std::operator<<(out, "x=");
1792
+ roctracer::hip_support::detail::operator<<(out, v.x);
1793
+ }
1794
+ };
1795
+ HIP_depth_max_cnt--;
1796
+ std::operator<<(out, '}');
1797
+ return out;
1798
+ }
1799
+ inline static std::ostream& operator<<(std::ostream& out, const short4& v)
1800
+ {
1801
+ std::operator<<(out, '{');
1802
+ HIP_depth_max_cnt++;
1803
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1804
+ if (std::string("short4::w").find(HIP_structs_regex) != std::string::npos) {
1805
+ std::operator<<(out, "w=");
1806
+ roctracer::hip_support::detail::operator<<(out, v.w);
1807
+ std::operator<<(out, ", ");
1808
+ }
1809
+ if (std::string("short4::z").find(HIP_structs_regex) != std::string::npos) {
1810
+ std::operator<<(out, "z=");
1811
+ roctracer::hip_support::detail::operator<<(out, v.z);
1812
+ std::operator<<(out, ", ");
1813
+ }
1814
+ if (std::string("short4::y").find(HIP_structs_regex) != std::string::npos) {
1815
+ std::operator<<(out, "y=");
1816
+ roctracer::hip_support::detail::operator<<(out, v.y);
1817
+ std::operator<<(out, ", ");
1818
+ }
1819
+ if (std::string("short4::x").find(HIP_structs_regex) != std::string::npos) {
1820
+ std::operator<<(out, "x=");
1821
+ roctracer::hip_support::detail::operator<<(out, v.x);
1822
+ }
1823
+ };
1824
+ HIP_depth_max_cnt--;
1825
+ std::operator<<(out, '}');
1826
+ return out;
1827
+ }
1828
+ inline static std::ostream& operator<<(std::ostream& out, const uint1& v)
1829
+ {
1830
+ std::operator<<(out, '{');
1831
+ HIP_depth_max_cnt++;
1832
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1833
+ if (std::string("uint1::x").find(HIP_structs_regex) != std::string::npos) {
1834
+ std::operator<<(out, "x=");
1835
+ roctracer::hip_support::detail::operator<<(out, v.x);
1836
+ }
1837
+ };
1838
+ HIP_depth_max_cnt--;
1839
+ std::operator<<(out, '}');
1840
+ return out;
1841
+ }
1842
+ inline static std::ostream& operator<<(std::ostream& out, const uint2& v)
1843
+ {
1844
+ std::operator<<(out, '{');
1845
+ HIP_depth_max_cnt++;
1846
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1847
+ if (std::string("uint2::y").find(HIP_structs_regex) != std::string::npos) {
1848
+ std::operator<<(out, "y=");
1849
+ roctracer::hip_support::detail::operator<<(out, v.y);
1850
+ std::operator<<(out, ", ");
1851
+ }
1852
+ if (std::string("uint2::x").find(HIP_structs_regex) != std::string::npos) {
1853
+ std::operator<<(out, "x=");
1854
+ roctracer::hip_support::detail::operator<<(out, v.x);
1855
+ }
1856
+ };
1857
+ HIP_depth_max_cnt--;
1858
+ std::operator<<(out, '}');
1859
+ return out;
1860
+ }
1861
+ inline static std::ostream& operator<<(std::ostream& out, const uint3& v)
1862
+ {
1863
+ std::operator<<(out, '{');
1864
+ HIP_depth_max_cnt++;
1865
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1866
+ if (std::string("uint3::z").find(HIP_structs_regex) != std::string::npos) {
1867
+ std::operator<<(out, "z=");
1868
+ roctracer::hip_support::detail::operator<<(out, v.z);
1869
+ std::operator<<(out, ", ");
1870
+ }
1871
+ if (std::string("uint3::y").find(HIP_structs_regex) != std::string::npos) {
1872
+ std::operator<<(out, "y=");
1873
+ roctracer::hip_support::detail::operator<<(out, v.y);
1874
+ std::operator<<(out, ", ");
1875
+ }
1876
+ if (std::string("uint3::x").find(HIP_structs_regex) != std::string::npos) {
1877
+ std::operator<<(out, "x=");
1878
+ roctracer::hip_support::detail::operator<<(out, v.x);
1879
+ }
1880
+ };
1881
+ HIP_depth_max_cnt--;
1882
+ std::operator<<(out, '}');
1883
+ return out;
1884
+ }
1885
+ inline static std::ostream& operator<<(std::ostream& out, const uint4& v)
1886
+ {
1887
+ std::operator<<(out, '{');
1888
+ HIP_depth_max_cnt++;
1889
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1890
+ if (std::string("uint4::w").find(HIP_structs_regex) != std::string::npos) {
1891
+ std::operator<<(out, "w=");
1892
+ roctracer::hip_support::detail::operator<<(out, v.w);
1893
+ std::operator<<(out, ", ");
1894
+ }
1895
+ if (std::string("uint4::z").find(HIP_structs_regex) != std::string::npos) {
1896
+ std::operator<<(out, "z=");
1897
+ roctracer::hip_support::detail::operator<<(out, v.z);
1898
+ std::operator<<(out, ", ");
1899
+ }
1900
+ if (std::string("uint4::y").find(HIP_structs_regex) != std::string::npos) {
1901
+ std::operator<<(out, "y=");
1902
+ roctracer::hip_support::detail::operator<<(out, v.y);
1903
+ std::operator<<(out, ", ");
1904
+ }
1905
+ if (std::string("uint4::x").find(HIP_structs_regex) != std::string::npos) {
1906
+ std::operator<<(out, "x=");
1907
+ roctracer::hip_support::detail::operator<<(out, v.x);
1908
+ }
1909
+ };
1910
+ HIP_depth_max_cnt--;
1911
+ std::operator<<(out, '}');
1912
+ return out;
1913
+ }
1914
+ inline static std::ostream& operator<<(std::ostream& out, const int1& v)
1915
+ {
1916
+ std::operator<<(out, '{');
1917
+ HIP_depth_max_cnt++;
1918
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1919
+ if (std::string("int1::x").find(HIP_structs_regex) != std::string::npos) {
1920
+ std::operator<<(out, "x=");
1921
+ roctracer::hip_support::detail::operator<<(out, v.x);
1922
+ }
1923
+ };
1924
+ HIP_depth_max_cnt--;
1925
+ std::operator<<(out, '}');
1926
+ return out;
1927
+ }
1928
+ inline static std::ostream& operator<<(std::ostream& out, const int2& v)
1929
+ {
1930
+ std::operator<<(out, '{');
1931
+ HIP_depth_max_cnt++;
1932
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1933
+ if (std::string("int2::y").find(HIP_structs_regex) != std::string::npos) {
1934
+ std::operator<<(out, "y=");
1935
+ roctracer::hip_support::detail::operator<<(out, v.y);
1936
+ std::operator<<(out, ", ");
1937
+ }
1938
+ if (std::string("int2::x").find(HIP_structs_regex) != std::string::npos) {
1939
+ std::operator<<(out, "x=");
1940
+ roctracer::hip_support::detail::operator<<(out, v.x);
1941
+ }
1942
+ };
1943
+ HIP_depth_max_cnt--;
1944
+ std::operator<<(out, '}');
1945
+ return out;
1946
+ }
1947
+ inline static std::ostream& operator<<(std::ostream& out, const int3& v)
1948
+ {
1949
+ std::operator<<(out, '{');
1950
+ HIP_depth_max_cnt++;
1951
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1952
+ if (std::string("int3::z").find(HIP_structs_regex) != std::string::npos) {
1953
+ std::operator<<(out, "z=");
1954
+ roctracer::hip_support::detail::operator<<(out, v.z);
1955
+ std::operator<<(out, ", ");
1956
+ }
1957
+ if (std::string("int3::y").find(HIP_structs_regex) != std::string::npos) {
1958
+ std::operator<<(out, "y=");
1959
+ roctracer::hip_support::detail::operator<<(out, v.y);
1960
+ std::operator<<(out, ", ");
1961
+ }
1962
+ if (std::string("int3::x").find(HIP_structs_regex) != std::string::npos) {
1963
+ std::operator<<(out, "x=");
1964
+ roctracer::hip_support::detail::operator<<(out, v.x);
1965
+ }
1966
+ };
1967
+ HIP_depth_max_cnt--;
1968
+ std::operator<<(out, '}');
1969
+ return out;
1970
+ }
1971
+ inline static std::ostream& operator<<(std::ostream& out, const int4& v)
1972
+ {
1973
+ std::operator<<(out, '{');
1974
+ HIP_depth_max_cnt++;
1975
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
1976
+ if (std::string("int4::w").find(HIP_structs_regex) != std::string::npos) {
1977
+ std::operator<<(out, "w=");
1978
+ roctracer::hip_support::detail::operator<<(out, v.w);
1979
+ std::operator<<(out, ", ");
1980
+ }
1981
+ if (std::string("int4::z").find(HIP_structs_regex) != std::string::npos) {
1982
+ std::operator<<(out, "z=");
1983
+ roctracer::hip_support::detail::operator<<(out, v.z);
1984
+ std::operator<<(out, ", ");
1985
+ }
1986
+ if (std::string("int4::y").find(HIP_structs_regex) != std::string::npos) {
1987
+ std::operator<<(out, "y=");
1988
+ roctracer::hip_support::detail::operator<<(out, v.y);
1989
+ std::operator<<(out, ", ");
1990
+ }
1991
+ if (std::string("int4::x").find(HIP_structs_regex) != std::string::npos) {
1992
+ std::operator<<(out, "x=");
1993
+ roctracer::hip_support::detail::operator<<(out, v.x);
1994
+ }
1995
+ };
1996
+ HIP_depth_max_cnt--;
1997
+ std::operator<<(out, '}');
1998
+ return out;
1999
+ }
2000
+ inline static std::ostream& operator<<(std::ostream& out, const ulong1& v)
2001
+ {
2002
+ std::operator<<(out, '{');
2003
+ HIP_depth_max_cnt++;
2004
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2005
+ if (std::string("ulong1::x").find(HIP_structs_regex) != std::string::npos) {
2006
+ std::operator<<(out, "x=");
2007
+ roctracer::hip_support::detail::operator<<(out, v.x);
2008
+ }
2009
+ };
2010
+ HIP_depth_max_cnt--;
2011
+ std::operator<<(out, '}');
2012
+ return out;
2013
+ }
2014
+ inline static std::ostream& operator<<(std::ostream& out, const ulong2& v)
2015
+ {
2016
+ std::operator<<(out, '{');
2017
+ HIP_depth_max_cnt++;
2018
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2019
+ if (std::string("ulong2::y").find(HIP_structs_regex) != std::string::npos) {
2020
+ std::operator<<(out, "y=");
2021
+ roctracer::hip_support::detail::operator<<(out, v.y);
2022
+ std::operator<<(out, ", ");
2023
+ }
2024
+ if (std::string("ulong2::x").find(HIP_structs_regex) != std::string::npos) {
2025
+ std::operator<<(out, "x=");
2026
+ roctracer::hip_support::detail::operator<<(out, v.x);
2027
+ }
2028
+ };
2029
+ HIP_depth_max_cnt--;
2030
+ std::operator<<(out, '}');
2031
+ return out;
2032
+ }
2033
+ inline static std::ostream& operator<<(std::ostream& out, const ulong3& v)
2034
+ {
2035
+ std::operator<<(out, '{');
2036
+ HIP_depth_max_cnt++;
2037
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2038
+ if (std::string("ulong3::z").find(HIP_structs_regex) != std::string::npos) {
2039
+ std::operator<<(out, "z=");
2040
+ roctracer::hip_support::detail::operator<<(out, v.z);
2041
+ std::operator<<(out, ", ");
2042
+ }
2043
+ if (std::string("ulong3::y").find(HIP_structs_regex) != std::string::npos) {
2044
+ std::operator<<(out, "y=");
2045
+ roctracer::hip_support::detail::operator<<(out, v.y);
2046
+ std::operator<<(out, ", ");
2047
+ }
2048
+ if (std::string("ulong3::x").find(HIP_structs_regex) != std::string::npos) {
2049
+ std::operator<<(out, "x=");
2050
+ roctracer::hip_support::detail::operator<<(out, v.x);
2051
+ }
2052
+ };
2053
+ HIP_depth_max_cnt--;
2054
+ std::operator<<(out, '}');
2055
+ return out;
2056
+ }
2057
+ inline static std::ostream& operator<<(std::ostream& out, const ulong4& v)
2058
+ {
2059
+ std::operator<<(out, '{');
2060
+ HIP_depth_max_cnt++;
2061
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2062
+ if (std::string("ulong4::w").find(HIP_structs_regex) != std::string::npos) {
2063
+ std::operator<<(out, "w=");
2064
+ roctracer::hip_support::detail::operator<<(out, v.w);
2065
+ std::operator<<(out, ", ");
2066
+ }
2067
+ if (std::string("ulong4::z").find(HIP_structs_regex) != std::string::npos) {
2068
+ std::operator<<(out, "z=");
2069
+ roctracer::hip_support::detail::operator<<(out, v.z);
2070
+ std::operator<<(out, ", ");
2071
+ }
2072
+ if (std::string("ulong4::y").find(HIP_structs_regex) != std::string::npos) {
2073
+ std::operator<<(out, "y=");
2074
+ roctracer::hip_support::detail::operator<<(out, v.y);
2075
+ std::operator<<(out, ", ");
2076
+ }
2077
+ if (std::string("ulong4::x").find(HIP_structs_regex) != std::string::npos) {
2078
+ std::operator<<(out, "x=");
2079
+ roctracer::hip_support::detail::operator<<(out, v.x);
2080
+ }
2081
+ };
2082
+ HIP_depth_max_cnt--;
2083
+ std::operator<<(out, '}');
2084
+ return out;
2085
+ }
2086
+ inline static std::ostream& operator<<(std::ostream& out, const long1& v)
2087
+ {
2088
+ std::operator<<(out, '{');
2089
+ HIP_depth_max_cnt++;
2090
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2091
+ if (std::string("long1::x").find(HIP_structs_regex) != std::string::npos) {
2092
+ std::operator<<(out, "x=");
2093
+ roctracer::hip_support::detail::operator<<(out, v.x);
2094
+ }
2095
+ };
2096
+ HIP_depth_max_cnt--;
2097
+ std::operator<<(out, '}');
2098
+ return out;
2099
+ }
2100
+ inline static std::ostream& operator<<(std::ostream& out, const long2& v)
2101
+ {
2102
+ std::operator<<(out, '{');
2103
+ HIP_depth_max_cnt++;
2104
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2105
+ if (std::string("long2::y").find(HIP_structs_regex) != std::string::npos) {
2106
+ std::operator<<(out, "y=");
2107
+ roctracer::hip_support::detail::operator<<(out, v.y);
2108
+ std::operator<<(out, ", ");
2109
+ }
2110
+ if (std::string("long2::x").find(HIP_structs_regex) != std::string::npos) {
2111
+ std::operator<<(out, "x=");
2112
+ roctracer::hip_support::detail::operator<<(out, v.x);
2113
+ }
2114
+ };
2115
+ HIP_depth_max_cnt--;
2116
+ std::operator<<(out, '}');
2117
+ return out;
2118
+ }
2119
+ inline static std::ostream& operator<<(std::ostream& out, const long3& v)
2120
+ {
2121
+ std::operator<<(out, '{');
2122
+ HIP_depth_max_cnt++;
2123
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2124
+ if (std::string("long3::z").find(HIP_structs_regex) != std::string::npos) {
2125
+ std::operator<<(out, "z=");
2126
+ roctracer::hip_support::detail::operator<<(out, v.z);
2127
+ std::operator<<(out, ", ");
2128
+ }
2129
+ if (std::string("long3::y").find(HIP_structs_regex) != std::string::npos) {
2130
+ std::operator<<(out, "y=");
2131
+ roctracer::hip_support::detail::operator<<(out, v.y);
2132
+ std::operator<<(out, ", ");
2133
+ }
2134
+ if (std::string("long3::x").find(HIP_structs_regex) != std::string::npos) {
2135
+ std::operator<<(out, "x=");
2136
+ roctracer::hip_support::detail::operator<<(out, v.x);
2137
+ }
2138
+ };
2139
+ HIP_depth_max_cnt--;
2140
+ std::operator<<(out, '}');
2141
+ return out;
2142
+ }
2143
+ inline static std::ostream& operator<<(std::ostream& out, const long4& v)
2144
+ {
2145
+ std::operator<<(out, '{');
2146
+ HIP_depth_max_cnt++;
2147
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2148
+ if (std::string("long4::w").find(HIP_structs_regex) != std::string::npos) {
2149
+ std::operator<<(out, "w=");
2150
+ roctracer::hip_support::detail::operator<<(out, v.w);
2151
+ std::operator<<(out, ", ");
2152
+ }
2153
+ if (std::string("long4::z").find(HIP_structs_regex) != std::string::npos) {
2154
+ std::operator<<(out, "z=");
2155
+ roctracer::hip_support::detail::operator<<(out, v.z);
2156
+ std::operator<<(out, ", ");
2157
+ }
2158
+ if (std::string("long4::y").find(HIP_structs_regex) != std::string::npos) {
2159
+ std::operator<<(out, "y=");
2160
+ roctracer::hip_support::detail::operator<<(out, v.y);
2161
+ std::operator<<(out, ", ");
2162
+ }
2163
+ if (std::string("long4::x").find(HIP_structs_regex) != std::string::npos) {
2164
+ std::operator<<(out, "x=");
2165
+ roctracer::hip_support::detail::operator<<(out, v.x);
2166
+ }
2167
+ };
2168
+ HIP_depth_max_cnt--;
2169
+ std::operator<<(out, '}');
2170
+ return out;
2171
+ }
2172
+ inline static std::ostream& operator<<(std::ostream& out, const ulonglong1& v)
2173
+ {
2174
+ std::operator<<(out, '{');
2175
+ HIP_depth_max_cnt++;
2176
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2177
+ if (std::string("ulonglong1::x").find(HIP_structs_regex) != std::string::npos) {
2178
+ std::operator<<(out, "x=");
2179
+ roctracer::hip_support::detail::operator<<(out, v.x);
2180
+ }
2181
+ };
2182
+ HIP_depth_max_cnt--;
2183
+ std::operator<<(out, '}');
2184
+ return out;
2185
+ }
2186
+ inline static std::ostream& operator<<(std::ostream& out, const ulonglong2& v)
2187
+ {
2188
+ std::operator<<(out, '{');
2189
+ HIP_depth_max_cnt++;
2190
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2191
+ if (std::string("ulonglong2::y").find(HIP_structs_regex) != std::string::npos) {
2192
+ std::operator<<(out, "y=");
2193
+ roctracer::hip_support::detail::operator<<(out, v.y);
2194
+ std::operator<<(out, ", ");
2195
+ }
2196
+ if (std::string("ulonglong2::x").find(HIP_structs_regex) != std::string::npos) {
2197
+ std::operator<<(out, "x=");
2198
+ roctracer::hip_support::detail::operator<<(out, v.x);
2199
+ }
2200
+ };
2201
+ HIP_depth_max_cnt--;
2202
+ std::operator<<(out, '}');
2203
+ return out;
2204
+ }
2205
+ inline static std::ostream& operator<<(std::ostream& out, const ulonglong3& v)
2206
+ {
2207
+ std::operator<<(out, '{');
2208
+ HIP_depth_max_cnt++;
2209
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2210
+ if (std::string("ulonglong3::z").find(HIP_structs_regex) != std::string::npos) {
2211
+ std::operator<<(out, "z=");
2212
+ roctracer::hip_support::detail::operator<<(out, v.z);
2213
+ std::operator<<(out, ", ");
2214
+ }
2215
+ if (std::string("ulonglong3::y").find(HIP_structs_regex) != std::string::npos) {
2216
+ std::operator<<(out, "y=");
2217
+ roctracer::hip_support::detail::operator<<(out, v.y);
2218
+ std::operator<<(out, ", ");
2219
+ }
2220
+ if (std::string("ulonglong3::x").find(HIP_structs_regex) != std::string::npos) {
2221
+ std::operator<<(out, "x=");
2222
+ roctracer::hip_support::detail::operator<<(out, v.x);
2223
+ }
2224
+ };
2225
+ HIP_depth_max_cnt--;
2226
+ std::operator<<(out, '}');
2227
+ return out;
2228
+ }
2229
+ inline static std::ostream& operator<<(std::ostream& out, const ulonglong4& v)
2230
+ {
2231
+ std::operator<<(out, '{');
2232
+ HIP_depth_max_cnt++;
2233
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2234
+ if (std::string("ulonglong4::w").find(HIP_structs_regex) != std::string::npos) {
2235
+ std::operator<<(out, "w=");
2236
+ roctracer::hip_support::detail::operator<<(out, v.w);
2237
+ std::operator<<(out, ", ");
2238
+ }
2239
+ if (std::string("ulonglong4::z").find(HIP_structs_regex) != std::string::npos) {
2240
+ std::operator<<(out, "z=");
2241
+ roctracer::hip_support::detail::operator<<(out, v.z);
2242
+ std::operator<<(out, ", ");
2243
+ }
2244
+ if (std::string("ulonglong4::y").find(HIP_structs_regex) != std::string::npos) {
2245
+ std::operator<<(out, "y=");
2246
+ roctracer::hip_support::detail::operator<<(out, v.y);
2247
+ std::operator<<(out, ", ");
2248
+ }
2249
+ if (std::string("ulonglong4::x").find(HIP_structs_regex) != std::string::npos) {
2250
+ std::operator<<(out, "x=");
2251
+ roctracer::hip_support::detail::operator<<(out, v.x);
2252
+ }
2253
+ };
2254
+ HIP_depth_max_cnt--;
2255
+ std::operator<<(out, '}');
2256
+ return out;
2257
+ }
2258
+ inline static std::ostream& operator<<(std::ostream& out, const longlong1& v)
2259
+ {
2260
+ std::operator<<(out, '{');
2261
+ HIP_depth_max_cnt++;
2262
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2263
+ if (std::string("longlong1::x").find(HIP_structs_regex) != std::string::npos) {
2264
+ std::operator<<(out, "x=");
2265
+ roctracer::hip_support::detail::operator<<(out, v.x);
2266
+ }
2267
+ };
2268
+ HIP_depth_max_cnt--;
2269
+ std::operator<<(out, '}');
2270
+ return out;
2271
+ }
2272
+ inline static std::ostream& operator<<(std::ostream& out, const longlong2& v)
2273
+ {
2274
+ std::operator<<(out, '{');
2275
+ HIP_depth_max_cnt++;
2276
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2277
+ if (std::string("longlong2::y").find(HIP_structs_regex) != std::string::npos) {
2278
+ std::operator<<(out, "y=");
2279
+ roctracer::hip_support::detail::operator<<(out, v.y);
2280
+ std::operator<<(out, ", ");
2281
+ }
2282
+ if (std::string("longlong2::x").find(HIP_structs_regex) != std::string::npos) {
2283
+ std::operator<<(out, "x=");
2284
+ roctracer::hip_support::detail::operator<<(out, v.x);
2285
+ }
2286
+ };
2287
+ HIP_depth_max_cnt--;
2288
+ std::operator<<(out, '}');
2289
+ return out;
2290
+ }
2291
+ inline static std::ostream& operator<<(std::ostream& out, const longlong3& v)
2292
+ {
2293
+ std::operator<<(out, '{');
2294
+ HIP_depth_max_cnt++;
2295
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2296
+ if (std::string("longlong3::z").find(HIP_structs_regex) != std::string::npos) {
2297
+ std::operator<<(out, "z=");
2298
+ roctracer::hip_support::detail::operator<<(out, v.z);
2299
+ std::operator<<(out, ", ");
2300
+ }
2301
+ if (std::string("longlong3::y").find(HIP_structs_regex) != std::string::npos) {
2302
+ std::operator<<(out, "y=");
2303
+ roctracer::hip_support::detail::operator<<(out, v.y);
2304
+ std::operator<<(out, ", ");
2305
+ }
2306
+ if (std::string("longlong3::x").find(HIP_structs_regex) != std::string::npos) {
2307
+ std::operator<<(out, "x=");
2308
+ roctracer::hip_support::detail::operator<<(out, v.x);
2309
+ }
2310
+ };
2311
+ HIP_depth_max_cnt--;
2312
+ std::operator<<(out, '}');
2313
+ return out;
2314
+ }
2315
+ inline static std::ostream& operator<<(std::ostream& out, const longlong4& v)
2316
+ {
2317
+ std::operator<<(out, '{');
2318
+ HIP_depth_max_cnt++;
2319
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2320
+ if (std::string("longlong4::w").find(HIP_structs_regex) != std::string::npos) {
2321
+ std::operator<<(out, "w=");
2322
+ roctracer::hip_support::detail::operator<<(out, v.w);
2323
+ std::operator<<(out, ", ");
2324
+ }
2325
+ if (std::string("longlong4::z").find(HIP_structs_regex) != std::string::npos) {
2326
+ std::operator<<(out, "z=");
2327
+ roctracer::hip_support::detail::operator<<(out, v.z);
2328
+ std::operator<<(out, ", ");
2329
+ }
2330
+ if (std::string("longlong4::y").find(HIP_structs_regex) != std::string::npos) {
2331
+ std::operator<<(out, "y=");
2332
+ roctracer::hip_support::detail::operator<<(out, v.y);
2333
+ std::operator<<(out, ", ");
2334
+ }
2335
+ if (std::string("longlong4::x").find(HIP_structs_regex) != std::string::npos) {
2336
+ std::operator<<(out, "x=");
2337
+ roctracer::hip_support::detail::operator<<(out, v.x);
2338
+ }
2339
+ };
2340
+ HIP_depth_max_cnt--;
2341
+ std::operator<<(out, '}');
2342
+ return out;
2343
+ }
2344
+ inline static std::ostream& operator<<(std::ostream& out, const float1& v)
2345
+ {
2346
+ std::operator<<(out, '{');
2347
+ HIP_depth_max_cnt++;
2348
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2349
+ if (std::string("float1::x").find(HIP_structs_regex) != std::string::npos) {
2350
+ std::operator<<(out, "x=");
2351
+ roctracer::hip_support::detail::operator<<(out, v.x);
2352
+ }
2353
+ };
2354
+ HIP_depth_max_cnt--;
2355
+ std::operator<<(out, '}');
2356
+ return out;
2357
+ }
2358
+ inline static std::ostream& operator<<(std::ostream& out, const float2& v)
2359
+ {
2360
+ std::operator<<(out, '{');
2361
+ HIP_depth_max_cnt++;
2362
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2363
+ if (std::string("float2::y").find(HIP_structs_regex) != std::string::npos) {
2364
+ std::operator<<(out, "y=");
2365
+ roctracer::hip_support::detail::operator<<(out, v.y);
2366
+ std::operator<<(out, ", ");
2367
+ }
2368
+ if (std::string("float2::x").find(HIP_structs_regex) != std::string::npos) {
2369
+ std::operator<<(out, "x=");
2370
+ roctracer::hip_support::detail::operator<<(out, v.x);
2371
+ }
2372
+ };
2373
+ HIP_depth_max_cnt--;
2374
+ std::operator<<(out, '}');
2375
+ return out;
2376
+ }
2377
+ inline static std::ostream& operator<<(std::ostream& out, const float3& v)
2378
+ {
2379
+ std::operator<<(out, '{');
2380
+ HIP_depth_max_cnt++;
2381
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2382
+ if (std::string("float3::z").find(HIP_structs_regex) != std::string::npos) {
2383
+ std::operator<<(out, "z=");
2384
+ roctracer::hip_support::detail::operator<<(out, v.z);
2385
+ std::operator<<(out, ", ");
2386
+ }
2387
+ if (std::string("float3::y").find(HIP_structs_regex) != std::string::npos) {
2388
+ std::operator<<(out, "y=");
2389
+ roctracer::hip_support::detail::operator<<(out, v.y);
2390
+ std::operator<<(out, ", ");
2391
+ }
2392
+ if (std::string("float3::x").find(HIP_structs_regex) != std::string::npos) {
2393
+ std::operator<<(out, "x=");
2394
+ roctracer::hip_support::detail::operator<<(out, v.x);
2395
+ }
2396
+ };
2397
+ HIP_depth_max_cnt--;
2398
+ std::operator<<(out, '}');
2399
+ return out;
2400
+ }
2401
+ inline static std::ostream& operator<<(std::ostream& out, const float4& v)
2402
+ {
2403
+ std::operator<<(out, '{');
2404
+ HIP_depth_max_cnt++;
2405
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2406
+ if (std::string("float4::w").find(HIP_structs_regex) != std::string::npos) {
2407
+ std::operator<<(out, "w=");
2408
+ roctracer::hip_support::detail::operator<<(out, v.w);
2409
+ std::operator<<(out, ", ");
2410
+ }
2411
+ if (std::string("float4::z").find(HIP_structs_regex) != std::string::npos) {
2412
+ std::operator<<(out, "z=");
2413
+ roctracer::hip_support::detail::operator<<(out, v.z);
2414
+ std::operator<<(out, ", ");
2415
+ }
2416
+ if (std::string("float4::y").find(HIP_structs_regex) != std::string::npos) {
2417
+ std::operator<<(out, "y=");
2418
+ roctracer::hip_support::detail::operator<<(out, v.y);
2419
+ std::operator<<(out, ", ");
2420
+ }
2421
+ if (std::string("float4::x").find(HIP_structs_regex) != std::string::npos) {
2422
+ std::operator<<(out, "x=");
2423
+ roctracer::hip_support::detail::operator<<(out, v.x);
2424
+ }
2425
+ };
2426
+ HIP_depth_max_cnt--;
2427
+ std::operator<<(out, '}');
2428
+ return out;
2429
+ }
2430
+ inline static std::ostream& operator<<(std::ostream& out, const double1& v)
2431
+ {
2432
+ std::operator<<(out, '{');
2433
+ HIP_depth_max_cnt++;
2434
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2435
+ if (std::string("double1::x").find(HIP_structs_regex) != std::string::npos) {
2436
+ std::operator<<(out, "x=");
2437
+ roctracer::hip_support::detail::operator<<(out, v.x);
2438
+ }
2439
+ };
2440
+ HIP_depth_max_cnt--;
2441
+ std::operator<<(out, '}');
2442
+ return out;
2443
+ }
2444
+ inline static std::ostream& operator<<(std::ostream& out, const double2& v)
2445
+ {
2446
+ std::operator<<(out, '{');
2447
+ HIP_depth_max_cnt++;
2448
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2449
+ if (std::string("double2::y").find(HIP_structs_regex) != std::string::npos) {
2450
+ std::operator<<(out, "y=");
2451
+ roctracer::hip_support::detail::operator<<(out, v.y);
2452
+ std::operator<<(out, ", ");
2453
+ }
2454
+ if (std::string("double2::x").find(HIP_structs_regex) != std::string::npos) {
2455
+ std::operator<<(out, "x=");
2456
+ roctracer::hip_support::detail::operator<<(out, v.x);
2457
+ }
2458
+ };
2459
+ HIP_depth_max_cnt--;
2460
+ std::operator<<(out, '}');
2461
+ return out;
2462
+ }
2463
+ inline static std::ostream& operator<<(std::ostream& out, const double3& v)
2464
+ {
2465
+ std::operator<<(out, '{');
2466
+ HIP_depth_max_cnt++;
2467
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2468
+ if (std::string("double3::z").find(HIP_structs_regex) != std::string::npos) {
2469
+ std::operator<<(out, "z=");
2470
+ roctracer::hip_support::detail::operator<<(out, v.z);
2471
+ std::operator<<(out, ", ");
2472
+ }
2473
+ if (std::string("double3::y").find(HIP_structs_regex) != std::string::npos) {
2474
+ std::operator<<(out, "y=");
2475
+ roctracer::hip_support::detail::operator<<(out, v.y);
2476
+ std::operator<<(out, ", ");
2477
+ }
2478
+ if (std::string("double3::x").find(HIP_structs_regex) != std::string::npos) {
2479
+ std::operator<<(out, "x=");
2480
+ roctracer::hip_support::detail::operator<<(out, v.x);
2481
+ }
2482
+ };
2483
+ HIP_depth_max_cnt--;
2484
+ std::operator<<(out, '}');
2485
+ return out;
2486
+ }
2487
+ inline static std::ostream& operator<<(std::ostream& out, const double4& v)
2488
+ {
2489
+ std::operator<<(out, '{');
2490
+ HIP_depth_max_cnt++;
2491
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2492
+ if (std::string("double4::w").find(HIP_structs_regex) != std::string::npos) {
2493
+ std::operator<<(out, "w=");
2494
+ roctracer::hip_support::detail::operator<<(out, v.w);
2495
+ std::operator<<(out, ", ");
2496
+ }
2497
+ if (std::string("double4::z").find(HIP_structs_regex) != std::string::npos) {
2498
+ std::operator<<(out, "z=");
2499
+ roctracer::hip_support::detail::operator<<(out, v.z);
2500
+ std::operator<<(out, ", ");
2501
+ }
2502
+ if (std::string("double4::y").find(HIP_structs_regex) != std::string::npos) {
2503
+ std::operator<<(out, "y=");
2504
+ roctracer::hip_support::detail::operator<<(out, v.y);
2505
+ std::operator<<(out, ", ");
2506
+ }
2507
+ if (std::string("double4::x").find(HIP_structs_regex) != std::string::npos) {
2508
+ std::operator<<(out, "x=");
2509
+ roctracer::hip_support::detail::operator<<(out, v.x);
2510
+ }
2511
+ };
2512
+ HIP_depth_max_cnt--;
2513
+ std::operator<<(out, '}');
2514
+ return out;
2515
+ }
2516
+ inline static std::ostream& operator<<(std::ostream& out, const textureReference& v)
2517
+ {
2518
+ std::operator<<(out, '{');
2519
+ HIP_depth_max_cnt++;
2520
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2521
+ if (std::string("textureReference::format").find(HIP_structs_regex) != std::string::npos) {
2522
+ std::operator<<(out, "format=");
2523
+ roctracer::hip_support::detail::operator<<(out, v.format);
2524
+ std::operator<<(out, ", ");
2525
+ }
2526
+ if (std::string("textureReference::numChannels").find(HIP_structs_regex) != std::string::npos) {
2527
+ std::operator<<(out, "numChannels=");
2528
+ roctracer::hip_support::detail::operator<<(out, v.numChannels);
2529
+ std::operator<<(out, ", ");
2530
+ }
2531
+ if (std::string("textureReference::textureObject").find(HIP_structs_regex) != std::string::npos) {
2532
+ std::operator<<(out, "textureObject=");
2533
+ roctracer::hip_support::detail::operator<<(out, v.textureObject);
2534
+ std::operator<<(out, ", ");
2535
+ }
2536
+ if (std::string("textureReference::maxMipmapLevelClamp").find(HIP_structs_regex) != std::string::npos) {
2537
+ std::operator<<(out, "maxMipmapLevelClamp=");
2538
+ roctracer::hip_support::detail::operator<<(out, v.maxMipmapLevelClamp);
2539
+ std::operator<<(out, ", ");
2540
+ }
2541
+ if (std::string("textureReference::minMipmapLevelClamp").find(HIP_structs_regex) != std::string::npos) {
2542
+ std::operator<<(out, "minMipmapLevelClamp=");
2543
+ roctracer::hip_support::detail::operator<<(out, v.minMipmapLevelClamp);
2544
+ std::operator<<(out, ", ");
2545
+ }
2546
+ if (std::string("textureReference::mipmapLevelBias").find(HIP_structs_regex) != std::string::npos) {
2547
+ std::operator<<(out, "mipmapLevelBias=");
2548
+ roctracer::hip_support::detail::operator<<(out, v.mipmapLevelBias);
2549
+ std::operator<<(out, ", ");
2550
+ }
2551
+ if (std::string("textureReference::mipmapFilterMode").find(HIP_structs_regex) != std::string::npos) {
2552
+ std::operator<<(out, "mipmapFilterMode=");
2553
+ roctracer::hip_support::detail::operator<<(out, v.mipmapFilterMode);
2554
+ std::operator<<(out, ", ");
2555
+ }
2556
+ if (std::string("textureReference::maxAnisotropy").find(HIP_structs_regex) != std::string::npos) {
2557
+ std::operator<<(out, "maxAnisotropy=");
2558
+ roctracer::hip_support::detail::operator<<(out, v.maxAnisotropy);
2559
+ std::operator<<(out, ", ");
2560
+ }
2561
+ if (std::string("textureReference::sRGB").find(HIP_structs_regex) != std::string::npos) {
2562
+ std::operator<<(out, "sRGB=");
2563
+ roctracer::hip_support::detail::operator<<(out, v.sRGB);
2564
+ std::operator<<(out, ", ");
2565
+ }
2566
+ if (std::string("textureReference::channelDesc").find(HIP_structs_regex) != std::string::npos) {
2567
+ std::operator<<(out, "channelDesc=");
2568
+ roctracer::hip_support::detail::operator<<(out, v.channelDesc);
2569
+ std::operator<<(out, ", ");
2570
+ }
2571
+ if (std::string("textureReference::filterMode").find(HIP_structs_regex) != std::string::npos) {
2572
+ std::operator<<(out, "filterMode=");
2573
+ roctracer::hip_support::detail::operator<<(out, v.filterMode);
2574
+ std::operator<<(out, ", ");
2575
+ }
2576
+ if (std::string("textureReference::readMode").find(HIP_structs_regex) != std::string::npos) {
2577
+ std::operator<<(out, "readMode=");
2578
+ roctracer::hip_support::detail::operator<<(out, v.readMode);
2579
+ std::operator<<(out, ", ");
2580
+ }
2581
+ if (std::string("textureReference::normalized").find(HIP_structs_regex) != std::string::npos) {
2582
+ std::operator<<(out, "normalized=");
2583
+ roctracer::hip_support::detail::operator<<(out, v.normalized);
2584
+ }
2585
+ };
2586
+ HIP_depth_max_cnt--;
2587
+ std::operator<<(out, '}');
2588
+ return out;
2589
+ }
2590
+ inline static std::ostream& operator<<(std::ostream& out, const hipTextureDesc& v)
2591
+ {
2592
+ std::operator<<(out, '{');
2593
+ HIP_depth_max_cnt++;
2594
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2595
+ if (std::string("hipTextureDesc::maxMipmapLevelClamp").find(HIP_structs_regex) != std::string::npos) {
2596
+ std::operator<<(out, "maxMipmapLevelClamp=");
2597
+ roctracer::hip_support::detail::operator<<(out, v.maxMipmapLevelClamp);
2598
+ std::operator<<(out, ", ");
2599
+ }
2600
+ if (std::string("hipTextureDesc::minMipmapLevelClamp").find(HIP_structs_regex) != std::string::npos) {
2601
+ std::operator<<(out, "minMipmapLevelClamp=");
2602
+ roctracer::hip_support::detail::operator<<(out, v.minMipmapLevelClamp);
2603
+ std::operator<<(out, ", ");
2604
+ }
2605
+ if (std::string("hipTextureDesc::mipmapLevelBias").find(HIP_structs_regex) != std::string::npos) {
2606
+ std::operator<<(out, "mipmapLevelBias=");
2607
+ roctracer::hip_support::detail::operator<<(out, v.mipmapLevelBias);
2608
+ std::operator<<(out, ", ");
2609
+ }
2610
+ if (std::string("hipTextureDesc::mipmapFilterMode").find(HIP_structs_regex) != std::string::npos) {
2611
+ std::operator<<(out, "mipmapFilterMode=");
2612
+ roctracer::hip_support::detail::operator<<(out, v.mipmapFilterMode);
2613
+ std::operator<<(out, ", ");
2614
+ }
2615
+ if (std::string("hipTextureDesc::maxAnisotropy").find(HIP_structs_regex) != std::string::npos) {
2616
+ std::operator<<(out, "maxAnisotropy=");
2617
+ roctracer::hip_support::detail::operator<<(out, v.maxAnisotropy);
2618
+ std::operator<<(out, ", ");
2619
+ }
2620
+ if (std::string("hipTextureDesc::normalizedCoords").find(HIP_structs_regex) != std::string::npos) {
2621
+ std::operator<<(out, "normalizedCoords=");
2622
+ roctracer::hip_support::detail::operator<<(out, v.normalizedCoords);
2623
+ std::operator<<(out, ", ");
2624
+ }
2625
+ if (std::string("hipTextureDesc::borderColor").find(HIP_structs_regex) != std::string::npos) {
2626
+ std::operator<<(out, "borderColor=");
2627
+ roctracer::hip_support::detail::operator<<(out, v.borderColor);
2628
+ std::operator<<(out, ", ");
2629
+ }
2630
+ if (std::string("hipTextureDesc::sRGB").find(HIP_structs_regex) != std::string::npos) {
2631
+ std::operator<<(out, "sRGB=");
2632
+ roctracer::hip_support::detail::operator<<(out, v.sRGB);
2633
+ std::operator<<(out, ", ");
2634
+ }
2635
+ if (std::string("hipTextureDesc::readMode").find(HIP_structs_regex) != std::string::npos) {
2636
+ std::operator<<(out, "readMode=");
2637
+ roctracer::hip_support::detail::operator<<(out, v.readMode);
2638
+ std::operator<<(out, ", ");
2639
+ }
2640
+ if (std::string("hipTextureDesc::filterMode").find(HIP_structs_regex) != std::string::npos) {
2641
+ std::operator<<(out, "filterMode=");
2642
+ roctracer::hip_support::detail::operator<<(out, v.filterMode);
2643
+ }
2644
+ };
2645
+ HIP_depth_max_cnt--;
2646
+ std::operator<<(out, '}');
2647
+ return out;
2648
+ }
2649
+ inline static std::ostream& operator<<(std::ostream& out, const surfaceReference& v)
2650
+ {
2651
+ std::operator<<(out, '{');
2652
+ HIP_depth_max_cnt++;
2653
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2654
+ if (std::string("surfaceReference::surfaceObject").find(HIP_structs_regex) != std::string::npos) {
2655
+ std::operator<<(out, "surfaceObject=");
2656
+ roctracer::hip_support::detail::operator<<(out, v.surfaceObject);
2657
+ }
2658
+ };
2659
+ HIP_depth_max_cnt--;
2660
+ std::operator<<(out, '}');
2661
+ return out;
2662
+ }
2663
+ inline static std::ostream& operator<<(std::ostream& out, const hipIpcMemHandle_t& v)
2664
+ {
2665
+ std::operator<<(out, '{');
2666
+ HIP_depth_max_cnt++;
2667
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2668
+ if (std::string("hipIpcMemHandle_t::reserved").find(HIP_structs_regex) != std::string::npos) {
2669
+ std::operator<<(out, "reserved=");
2670
+ roctracer::hip_support::detail::operator<<(out, 0);
2671
+ }
2672
+ };
2673
+ HIP_depth_max_cnt--;
2674
+ std::operator<<(out, '}');
2675
+ return out;
2676
+ }
2677
+ inline static std::ostream& operator<<(std::ostream& out, const hipIpcEventHandle_t& v)
2678
+ {
2679
+ std::operator<<(out, '{');
2680
+ HIP_depth_max_cnt++;
2681
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2682
+ if (std::string("hipIpcEventHandle_t::reserved").find(HIP_structs_regex) != std::string::npos) {
2683
+ std::operator<<(out, "reserved=");
2684
+ roctracer::hip_support::detail::operator<<(out, 0);
2685
+ }
2686
+ };
2687
+ HIP_depth_max_cnt--;
2688
+ std::operator<<(out, '}');
2689
+ return out;
2690
+ }
2691
+ inline static std::ostream& operator<<(std::ostream& out, const hipFuncAttributes& v)
2692
+ {
2693
+ std::operator<<(out, '{');
2694
+ HIP_depth_max_cnt++;
2695
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2696
+ if (std::string("hipFuncAttributes::sharedSizeBytes").find(HIP_structs_regex) != std::string::npos) {
2697
+ std::operator<<(out, "sharedSizeBytes=");
2698
+ roctracer::hip_support::detail::operator<<(out, v.sharedSizeBytes);
2699
+ std::operator<<(out, ", ");
2700
+ }
2701
+ if (std::string("hipFuncAttributes::ptxVersion").find(HIP_structs_regex) != std::string::npos) {
2702
+ std::operator<<(out, "ptxVersion=");
2703
+ roctracer::hip_support::detail::operator<<(out, v.ptxVersion);
2704
+ std::operator<<(out, ", ");
2705
+ }
2706
+ if (std::string("hipFuncAttributes::preferredShmemCarveout").find(HIP_structs_regex) != std::string::npos) {
2707
+ std::operator<<(out, "preferredShmemCarveout=");
2708
+ roctracer::hip_support::detail::operator<<(out, v.preferredShmemCarveout);
2709
+ std::operator<<(out, ", ");
2710
+ }
2711
+ if (std::string("hipFuncAttributes::numRegs").find(HIP_structs_regex) != std::string::npos) {
2712
+ std::operator<<(out, "numRegs=");
2713
+ roctracer::hip_support::detail::operator<<(out, v.numRegs);
2714
+ std::operator<<(out, ", ");
2715
+ }
2716
+ if (std::string("hipFuncAttributes::maxThreadsPerBlock").find(HIP_structs_regex) != std::string::npos) {
2717
+ std::operator<<(out, "maxThreadsPerBlock=");
2718
+ roctracer::hip_support::detail::operator<<(out, v.maxThreadsPerBlock);
2719
+ std::operator<<(out, ", ");
2720
+ }
2721
+ if (std::string("hipFuncAttributes::maxDynamicSharedSizeBytes").find(HIP_structs_regex) != std::string::npos) {
2722
+ std::operator<<(out, "maxDynamicSharedSizeBytes=");
2723
+ roctracer::hip_support::detail::operator<<(out, v.maxDynamicSharedSizeBytes);
2724
+ std::operator<<(out, ", ");
2725
+ }
2726
+ if (std::string("hipFuncAttributes::localSizeBytes").find(HIP_structs_regex) != std::string::npos) {
2727
+ std::operator<<(out, "localSizeBytes=");
2728
+ roctracer::hip_support::detail::operator<<(out, v.localSizeBytes);
2729
+ std::operator<<(out, ", ");
2730
+ }
2731
+ if (std::string("hipFuncAttributes::constSizeBytes").find(HIP_structs_regex) != std::string::npos) {
2732
+ std::operator<<(out, "constSizeBytes=");
2733
+ roctracer::hip_support::detail::operator<<(out, v.constSizeBytes);
2734
+ std::operator<<(out, ", ");
2735
+ }
2736
+ if (std::string("hipFuncAttributes::cacheModeCA").find(HIP_structs_regex) != std::string::npos) {
2737
+ std::operator<<(out, "cacheModeCA=");
2738
+ roctracer::hip_support::detail::operator<<(out, v.cacheModeCA);
2739
+ std::operator<<(out, ", ");
2740
+ }
2741
+ if (std::string("hipFuncAttributes::binaryVersion").find(HIP_structs_regex) != std::string::npos) {
2742
+ std::operator<<(out, "binaryVersion=");
2743
+ roctracer::hip_support::detail::operator<<(out, v.binaryVersion);
2744
+ }
2745
+ };
2746
+ HIP_depth_max_cnt--;
2747
+ std::operator<<(out, '}');
2748
+ return out;
2749
+ }
2750
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemLocation& v)
2751
+ {
2752
+ std::operator<<(out, '{');
2753
+ HIP_depth_max_cnt++;
2754
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2755
+ if (std::string("hipMemLocation::id").find(HIP_structs_regex) != std::string::npos) {
2756
+ std::operator<<(out, "id=");
2757
+ roctracer::hip_support::detail::operator<<(out, v.id);
2758
+ std::operator<<(out, ", ");
2759
+ }
2760
+ if (std::string("hipMemLocation::type").find(HIP_structs_regex) != std::string::npos) {
2761
+ std::operator<<(out, "type=");
2762
+ roctracer::hip_support::detail::operator<<(out, v.type);
2763
+ }
2764
+ };
2765
+ HIP_depth_max_cnt--;
2766
+ std::operator<<(out, '}');
2767
+ return out;
2768
+ }
2769
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemAccessDesc& v)
2770
+ {
2771
+ std::operator<<(out, '{');
2772
+ HIP_depth_max_cnt++;
2773
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2774
+ if (std::string("hipMemAccessDesc::flags").find(HIP_structs_regex) != std::string::npos) {
2775
+ std::operator<<(out, "flags=");
2776
+ roctracer::hip_support::detail::operator<<(out, v.flags);
2777
+ std::operator<<(out, ", ");
2778
+ }
2779
+ if (std::string("hipMemAccessDesc::location").find(HIP_structs_regex) != std::string::npos) {
2780
+ std::operator<<(out, "location=");
2781
+ roctracer::hip_support::detail::operator<<(out, v.location);
2782
+ }
2783
+ };
2784
+ HIP_depth_max_cnt--;
2785
+ std::operator<<(out, '}');
2786
+ return out;
2787
+ }
2788
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemPoolProps& v)
2789
+ {
2790
+ std::operator<<(out, '{');
2791
+ HIP_depth_max_cnt++;
2792
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2793
+ if (std::string("hipMemPoolProps::reserved").find(HIP_structs_regex) != std::string::npos) {
2794
+ std::operator<<(out, "reserved=");
2795
+ roctracer::hip_support::detail::operator<<(out, 0);
2796
+ std::operator<<(out, ", ");
2797
+ }
2798
+ if (std::string("hipMemPoolProps::location").find(HIP_structs_regex) != std::string::npos) {
2799
+ std::operator<<(out, "location=");
2800
+ roctracer::hip_support::detail::operator<<(out, v.location);
2801
+ std::operator<<(out, ", ");
2802
+ }
2803
+ if (std::string("hipMemPoolProps::handleTypes").find(HIP_structs_regex) != std::string::npos) {
2804
+ std::operator<<(out, "handleTypes=");
2805
+ roctracer::hip_support::detail::operator<<(out, v.handleTypes);
2806
+ std::operator<<(out, ", ");
2807
+ }
2808
+ if (std::string("hipMemPoolProps::allocType").find(HIP_structs_regex) != std::string::npos) {
2809
+ std::operator<<(out, "allocType=");
2810
+ roctracer::hip_support::detail::operator<<(out, v.allocType);
2811
+ }
2812
+ };
2813
+ HIP_depth_max_cnt--;
2814
+ std::operator<<(out, '}');
2815
+ return out;
2816
+ }
2817
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemPoolPtrExportData& v)
2818
+ {
2819
+ std::operator<<(out, '{');
2820
+ HIP_depth_max_cnt++;
2821
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2822
+ if (std::string("hipMemPoolPtrExportData::reserved").find(HIP_structs_regex) != std::string::npos) {
2823
+ std::operator<<(out, "reserved=");
2824
+ roctracer::hip_support::detail::operator<<(out, 0);
2825
+ }
2826
+ };
2827
+ HIP_depth_max_cnt--;
2828
+ std::operator<<(out, '}');
2829
+ return out;
2830
+ }
2831
+ inline static std::ostream& operator<<(std::ostream& out, const dim3& v)
2832
+ {
2833
+ std::operator<<(out, '{');
2834
+ HIP_depth_max_cnt++;
2835
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2836
+ if (std::string("dim3::z").find(HIP_structs_regex) != std::string::npos) {
2837
+ std::operator<<(out, "z=");
2838
+ roctracer::hip_support::detail::operator<<(out, v.z);
2839
+ std::operator<<(out, ", ");
2840
+ }
2841
+ if (std::string("dim3::y").find(HIP_structs_regex) != std::string::npos) {
2842
+ std::operator<<(out, "y=");
2843
+ roctracer::hip_support::detail::operator<<(out, v.y);
2844
+ std::operator<<(out, ", ");
2845
+ }
2846
+ if (std::string("dim3::x").find(HIP_structs_regex) != std::string::npos) {
2847
+ std::operator<<(out, "x=");
2848
+ roctracer::hip_support::detail::operator<<(out, v.x);
2849
+ }
2850
+ };
2851
+ HIP_depth_max_cnt--;
2852
+ std::operator<<(out, '}');
2853
+ return out;
2854
+ }
2855
+ inline static std::ostream& operator<<(std::ostream& out, const hipLaunchParams& v)
2856
+ {
2857
+ std::operator<<(out, '{');
2858
+ HIP_depth_max_cnt++;
2859
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2860
+ if (std::string("hipLaunchParams::stream").find(HIP_structs_regex) != std::string::npos) {
2861
+ std::operator<<(out, "stream=");
2862
+ roctracer::hip_support::detail::operator<<(out, v.stream);
2863
+ std::operator<<(out, ", ");
2864
+ }
2865
+ if (std::string("hipLaunchParams::sharedMem").find(HIP_structs_regex) != std::string::npos) {
2866
+ std::operator<<(out, "sharedMem=");
2867
+ roctracer::hip_support::detail::operator<<(out, v.sharedMem);
2868
+ std::operator<<(out, ", ");
2869
+ }
2870
+ if (std::string("hipLaunchParams::blockDim").find(HIP_structs_regex) != std::string::npos) {
2871
+ std::operator<<(out, "blockDim=");
2872
+ roctracer::hip_support::detail::operator<<(out, v.blockDim);
2873
+ std::operator<<(out, ", ");
2874
+ }
2875
+ if (std::string("hipLaunchParams::gridDim").find(HIP_structs_regex) != std::string::npos) {
2876
+ std::operator<<(out, "gridDim=");
2877
+ roctracer::hip_support::detail::operator<<(out, v.gridDim);
2878
+ }
2879
+ };
2880
+ HIP_depth_max_cnt--;
2881
+ std::operator<<(out, '}');
2882
+ return out;
2883
+ }
2884
+ inline static std::ostream& operator<<(std::ostream& out, const hipFunctionLaunchParams& v)
2885
+ {
2886
+ std::operator<<(out, '{');
2887
+ HIP_depth_max_cnt++;
2888
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2889
+ if (std::string("hipFunctionLaunchParams::hStream").find(HIP_structs_regex) != std::string::npos) {
2890
+ std::operator<<(out, "hStream=");
2891
+ roctracer::hip_support::detail::operator<<(out, v.hStream);
2892
+ std::operator<<(out, ", ");
2893
+ }
2894
+ if (std::string("hipFunctionLaunchParams::sharedMemBytes").find(HIP_structs_regex) != std::string::npos) {
2895
+ std::operator<<(out, "sharedMemBytes=");
2896
+ roctracer::hip_support::detail::operator<<(out, v.sharedMemBytes);
2897
+ std::operator<<(out, ", ");
2898
+ }
2899
+ if (std::string("hipFunctionLaunchParams::blockDimZ").find(HIP_structs_regex) != std::string::npos) {
2900
+ std::operator<<(out, "blockDimZ=");
2901
+ roctracer::hip_support::detail::operator<<(out, v.blockDimZ);
2902
+ std::operator<<(out, ", ");
2903
+ }
2904
+ if (std::string("hipFunctionLaunchParams::blockDimY").find(HIP_structs_regex) != std::string::npos) {
2905
+ std::operator<<(out, "blockDimY=");
2906
+ roctracer::hip_support::detail::operator<<(out, v.blockDimY);
2907
+ std::operator<<(out, ", ");
2908
+ }
2909
+ if (std::string("hipFunctionLaunchParams::blockDimX").find(HIP_structs_regex) != std::string::npos) {
2910
+ std::operator<<(out, "blockDimX=");
2911
+ roctracer::hip_support::detail::operator<<(out, v.blockDimX);
2912
+ std::operator<<(out, ", ");
2913
+ }
2914
+ if (std::string("hipFunctionLaunchParams::gridDimZ").find(HIP_structs_regex) != std::string::npos) {
2915
+ std::operator<<(out, "gridDimZ=");
2916
+ roctracer::hip_support::detail::operator<<(out, v.gridDimZ);
2917
+ std::operator<<(out, ", ");
2918
+ }
2919
+ if (std::string("hipFunctionLaunchParams::gridDimY").find(HIP_structs_regex) != std::string::npos) {
2920
+ std::operator<<(out, "gridDimY=");
2921
+ roctracer::hip_support::detail::operator<<(out, v.gridDimY);
2922
+ std::operator<<(out, ", ");
2923
+ }
2924
+ if (std::string("hipFunctionLaunchParams::gridDimX").find(HIP_structs_regex) != std::string::npos) {
2925
+ std::operator<<(out, "gridDimX=");
2926
+ roctracer::hip_support::detail::operator<<(out, v.gridDimX);
2927
+ std::operator<<(out, ", ");
2928
+ }
2929
+ if (std::string("hipFunctionLaunchParams::function").find(HIP_structs_regex) != std::string::npos) {
2930
+ std::operator<<(out, "function=");
2931
+ roctracer::hip_support::detail::operator<<(out, v.function);
2932
+ }
2933
+ };
2934
+ HIP_depth_max_cnt--;
2935
+ std::operator<<(out, '}');
2936
+ return out;
2937
+ }
2938
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalMemoryHandleDesc& v)
2939
+ {
2940
+ std::operator<<(out, '{');
2941
+ HIP_depth_max_cnt++;
2942
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2943
+ if (std::string("hipExternalMemoryHandleDesc::reserved").find(HIP_structs_regex) != std::string::npos) {
2944
+ std::operator<<(out, "reserved=");
2945
+ roctracer::hip_support::detail::operator<<(out, 0);
2946
+ std::operator<<(out, ", ");
2947
+ }
2948
+ if (std::string("hipExternalMemoryHandleDesc::flags").find(HIP_structs_regex) != std::string::npos) {
2949
+ std::operator<<(out, "flags=");
2950
+ roctracer::hip_support::detail::operator<<(out, v.flags);
2951
+ std::operator<<(out, ", ");
2952
+ }
2953
+ if (std::string("hipExternalMemoryHandleDesc::size").find(HIP_structs_regex) != std::string::npos) {
2954
+ std::operator<<(out, "size=");
2955
+ roctracer::hip_support::detail::operator<<(out, v.size);
2956
+ std::operator<<(out, ", ");
2957
+ }
2958
+ if (std::string("hipExternalMemoryHandleDesc_st::union ::handle.fd").find(HIP_structs_regex) != std::string::npos) {
2959
+ std::operator<<(out, "handle.fd=");
2960
+ roctracer::hip_support::detail::operator<<(out, v.handle.fd);
2961
+ std::operator<<(out, ", ");
2962
+ }
2963
+ if (std::string("hipExternalMemoryHandleDesc::type").find(HIP_structs_regex) != std::string::npos) {
2964
+ std::operator<<(out, "type=");
2965
+ roctracer::hip_support::detail::operator<<(out, v.type);
2966
+ }
2967
+ };
2968
+ HIP_depth_max_cnt--;
2969
+ std::operator<<(out, '}');
2970
+ return out;
2971
+ }
2972
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalMemoryBufferDesc& v)
2973
+ {
2974
+ std::operator<<(out, '{');
2975
+ HIP_depth_max_cnt++;
2976
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
2977
+ if (std::string("hipExternalMemoryBufferDesc::reserved").find(HIP_structs_regex) != std::string::npos) {
2978
+ std::operator<<(out, "reserved=");
2979
+ roctracer::hip_support::detail::operator<<(out, 0);
2980
+ std::operator<<(out, ", ");
2981
+ }
2982
+ if (std::string("hipExternalMemoryBufferDesc::flags").find(HIP_structs_regex) != std::string::npos) {
2983
+ std::operator<<(out, "flags=");
2984
+ roctracer::hip_support::detail::operator<<(out, v.flags);
2985
+ std::operator<<(out, ", ");
2986
+ }
2987
+ if (std::string("hipExternalMemoryBufferDesc::size").find(HIP_structs_regex) != std::string::npos) {
2988
+ std::operator<<(out, "size=");
2989
+ roctracer::hip_support::detail::operator<<(out, v.size);
2990
+ std::operator<<(out, ", ");
2991
+ }
2992
+ if (std::string("hipExternalMemoryBufferDesc::offset").find(HIP_structs_regex) != std::string::npos) {
2993
+ std::operator<<(out, "offset=");
2994
+ roctracer::hip_support::detail::operator<<(out, v.offset);
2995
+ }
2996
+ };
2997
+ HIP_depth_max_cnt--;
2998
+ std::operator<<(out, '}');
2999
+ return out;
3000
+ }
3001
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalMemoryMipmappedArrayDesc& v)
3002
+ {
3003
+ std::operator<<(out, '{');
3004
+ HIP_depth_max_cnt++;
3005
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3006
+ if (std::string("hipExternalMemoryMipmappedArrayDesc::numLevels").find(HIP_structs_regex) != std::string::npos) {
3007
+ std::operator<<(out, "numLevels=");
3008
+ roctracer::hip_support::detail::operator<<(out, v.numLevels);
3009
+ std::operator<<(out, ", ");
3010
+ }
3011
+ if (std::string("hipExternalMemoryMipmappedArrayDesc::flags").find(HIP_structs_regex) != std::string::npos) {
3012
+ std::operator<<(out, "flags=");
3013
+ roctracer::hip_support::detail::operator<<(out, v.flags);
3014
+ std::operator<<(out, ", ");
3015
+ }
3016
+ if (std::string("hipExternalMemoryMipmappedArrayDesc::extent").find(HIP_structs_regex) != std::string::npos) {
3017
+ std::operator<<(out, "extent=");
3018
+ roctracer::hip_support::detail::operator<<(out, v.extent);
3019
+ std::operator<<(out, ", ");
3020
+ }
3021
+ if (std::string("hipExternalMemoryMipmappedArrayDesc::formatDesc").find(HIP_structs_regex) != std::string::npos) {
3022
+ std::operator<<(out, "formatDesc=");
3023
+ roctracer::hip_support::detail::operator<<(out, v.formatDesc);
3024
+ std::operator<<(out, ", ");
3025
+ }
3026
+ if (std::string("hipExternalMemoryMipmappedArrayDesc::offset").find(HIP_structs_regex) != std::string::npos) {
3027
+ std::operator<<(out, "offset=");
3028
+ roctracer::hip_support::detail::operator<<(out, v.offset);
3029
+ }
3030
+ };
3031
+ HIP_depth_max_cnt--;
3032
+ std::operator<<(out, '}');
3033
+ return out;
3034
+ }
3035
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalSemaphoreHandleDesc& v)
3036
+ {
3037
+ std::operator<<(out, '{');
3038
+ HIP_depth_max_cnt++;
3039
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3040
+ if (std::string("hipExternalSemaphoreHandleDesc::reserved").find(HIP_structs_regex) != std::string::npos) {
3041
+ std::operator<<(out, "reserved=");
3042
+ roctracer::hip_support::detail::operator<<(out, 0);
3043
+ std::operator<<(out, ", ");
3044
+ }
3045
+ if (std::string("hipExternalSemaphoreHandleDesc::flags").find(HIP_structs_regex) != std::string::npos) {
3046
+ std::operator<<(out, "flags=");
3047
+ roctracer::hip_support::detail::operator<<(out, v.flags);
3048
+ std::operator<<(out, ", ");
3049
+ }
3050
+ if (std::string("hipExternalSemaphoreHandleDesc_st::union ::handle.fd").find(HIP_structs_regex) != std::string::npos) {
3051
+ std::operator<<(out, "handle.fd=");
3052
+ roctracer::hip_support::detail::operator<<(out, v.handle.fd);
3053
+ std::operator<<(out, ", ");
3054
+ }
3055
+ if (std::string("hipExternalSemaphoreHandleDesc::type").find(HIP_structs_regex) != std::string::npos) {
3056
+ std::operator<<(out, "type=");
3057
+ roctracer::hip_support::detail::operator<<(out, v.type);
3058
+ }
3059
+ };
3060
+ HIP_depth_max_cnt--;
3061
+ std::operator<<(out, '}');
3062
+ return out;
3063
+ }
3064
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalSemaphoreSignalParams& v)
3065
+ {
3066
+ std::operator<<(out, '{');
3067
+ HIP_depth_max_cnt++;
3068
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3069
+ if (std::string("hipExternalSemaphoreSignalParams::reserved").find(HIP_structs_regex) != std::string::npos) {
3070
+ std::operator<<(out, "reserved=");
3071
+ roctracer::hip_support::detail::operator<<(out, 0);
3072
+ std::operator<<(out, ", ");
3073
+ }
3074
+ if (std::string("hipExternalSemaphoreSignalParams::flags").find(HIP_structs_regex) != std::string::npos) {
3075
+ std::operator<<(out, "flags=");
3076
+ roctracer::hip_support::detail::operator<<(out, v.flags);
3077
+ }
3078
+ };
3079
+ HIP_depth_max_cnt--;
3080
+ std::operator<<(out, '}');
3081
+ return out;
3082
+ }
3083
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalSemaphoreWaitParams& v)
3084
+ {
3085
+ std::operator<<(out, '{');
3086
+ HIP_depth_max_cnt++;
3087
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3088
+ if (std::string("hipExternalSemaphoreWaitParams::reserved").find(HIP_structs_regex) != std::string::npos) {
3089
+ std::operator<<(out, "reserved=");
3090
+ roctracer::hip_support::detail::operator<<(out, 0);
3091
+ std::operator<<(out, ", ");
3092
+ }
3093
+ if (std::string("hipExternalSemaphoreWaitParams::flags").find(HIP_structs_regex) != std::string::npos) {
3094
+ std::operator<<(out, "flags=");
3095
+ roctracer::hip_support::detail::operator<<(out, v.flags);
3096
+ }
3097
+ };
3098
+ HIP_depth_max_cnt--;
3099
+ std::operator<<(out, '}');
3100
+ return out;
3101
+ }
3102
+ inline static std::ostream& operator<<(std::ostream& out, const hipHostNodeParams& v)
3103
+ {
3104
+ std::operator<<(out, '{');
3105
+ HIP_depth_max_cnt++;
3106
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3107
+ if (std::string("hipHostNodeParams::fn").find(HIP_structs_regex) != std::string::npos) {
3108
+ std::operator<<(out, "fn=");
3109
+ roctracer::hip_support::detail::operator<<(out, v.fn);
3110
+ }
3111
+ };
3112
+ HIP_depth_max_cnt--;
3113
+ std::operator<<(out, '}');
3114
+ return out;
3115
+ }
3116
+ inline static std::ostream& operator<<(std::ostream& out, const hipKernelNodeParams& v)
3117
+ {
3118
+ std::operator<<(out, '{');
3119
+ HIP_depth_max_cnt++;
3120
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3121
+ if (std::string("hipKernelNodeParams::sharedMemBytes").find(HIP_structs_regex) != std::string::npos) {
3122
+ std::operator<<(out, "sharedMemBytes=");
3123
+ roctracer::hip_support::detail::operator<<(out, v.sharedMemBytes);
3124
+ std::operator<<(out, ", ");
3125
+ }
3126
+ if (std::string("hipKernelNodeParams::gridDim").find(HIP_structs_regex) != std::string::npos) {
3127
+ std::operator<<(out, "gridDim=");
3128
+ roctracer::hip_support::detail::operator<<(out, v.gridDim);
3129
+ std::operator<<(out, ", ");
3130
+ }
3131
+ if (std::string("hipKernelNodeParams::blockDim").find(HIP_structs_regex) != std::string::npos) {
3132
+ std::operator<<(out, "blockDim=");
3133
+ roctracer::hip_support::detail::operator<<(out, v.blockDim);
3134
+ }
3135
+ };
3136
+ HIP_depth_max_cnt--;
3137
+ std::operator<<(out, '}');
3138
+ return out;
3139
+ }
3140
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemsetParams& v)
3141
+ {
3142
+ std::operator<<(out, '{');
3143
+ HIP_depth_max_cnt++;
3144
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3145
+ if (std::string("hipMemsetParams::width").find(HIP_structs_regex) != std::string::npos) {
3146
+ std::operator<<(out, "width=");
3147
+ roctracer::hip_support::detail::operator<<(out, v.width);
3148
+ std::operator<<(out, ", ");
3149
+ }
3150
+ if (std::string("hipMemsetParams::value").find(HIP_structs_regex) != std::string::npos) {
3151
+ std::operator<<(out, "value=");
3152
+ roctracer::hip_support::detail::operator<<(out, v.value);
3153
+ std::operator<<(out, ", ");
3154
+ }
3155
+ if (std::string("hipMemsetParams::pitch").find(HIP_structs_regex) != std::string::npos) {
3156
+ std::operator<<(out, "pitch=");
3157
+ roctracer::hip_support::detail::operator<<(out, v.pitch);
3158
+ std::operator<<(out, ", ");
3159
+ }
3160
+ if (std::string("hipMemsetParams::height").find(HIP_structs_regex) != std::string::npos) {
3161
+ std::operator<<(out, "height=");
3162
+ roctracer::hip_support::detail::operator<<(out, v.height);
3163
+ std::operator<<(out, ", ");
3164
+ }
3165
+ if (std::string("hipMemsetParams::elementSize").find(HIP_structs_regex) != std::string::npos) {
3166
+ std::operator<<(out, "elementSize=");
3167
+ roctracer::hip_support::detail::operator<<(out, v.elementSize);
3168
+ }
3169
+ };
3170
+ HIP_depth_max_cnt--;
3171
+ std::operator<<(out, '}');
3172
+ return out;
3173
+ }
3174
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemAllocNodeParams& v)
3175
+ {
3176
+ std::operator<<(out, '{');
3177
+ HIP_depth_max_cnt++;
3178
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3179
+ if (std::string("hipMemAllocNodeParams::bytesize").find(HIP_structs_regex) != std::string::npos) {
3180
+ std::operator<<(out, "bytesize=");
3181
+ roctracer::hip_support::detail::operator<<(out, v.bytesize);
3182
+ std::operator<<(out, ", ");
3183
+ }
3184
+ if (std::string("hipMemAllocNodeParams::accessDescCount").find(HIP_structs_regex) != std::string::npos) {
3185
+ std::operator<<(out, "accessDescCount=");
3186
+ roctracer::hip_support::detail::operator<<(out, v.accessDescCount);
3187
+ std::operator<<(out, ", ");
3188
+ }
3189
+ if (std::string("hipMemAllocNodeParams::accessDescs").find(HIP_structs_regex) != std::string::npos) {
3190
+ std::operator<<(out, "accessDescs=");
3191
+ roctracer::hip_support::detail::operator<<(out, v.accessDescs);
3192
+ std::operator<<(out, ", ");
3193
+ }
3194
+ if (std::string("hipMemAllocNodeParams::poolProps").find(HIP_structs_regex) != std::string::npos) {
3195
+ std::operator<<(out, "poolProps=");
3196
+ roctracer::hip_support::detail::operator<<(out, v.poolProps);
3197
+ }
3198
+ };
3199
+ HIP_depth_max_cnt--;
3200
+ std::operator<<(out, '}');
3201
+ return out;
3202
+ }
3203
+ inline static std::ostream& operator<<(std::ostream& out, const hipAccessPolicyWindow& v)
3204
+ {
3205
+ std::operator<<(out, '{');
3206
+ HIP_depth_max_cnt++;
3207
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3208
+ if (std::string("hipAccessPolicyWindow::num_bytes").find(HIP_structs_regex) != std::string::npos) {
3209
+ std::operator<<(out, "num_bytes=");
3210
+ roctracer::hip_support::detail::operator<<(out, v.num_bytes);
3211
+ std::operator<<(out, ", ");
3212
+ }
3213
+ if (std::string("hipAccessPolicyWindow::missProp").find(HIP_structs_regex) != std::string::npos) {
3214
+ std::operator<<(out, "missProp=");
3215
+ roctracer::hip_support::detail::operator<<(out, v.missProp);
3216
+ std::operator<<(out, ", ");
3217
+ }
3218
+ if (std::string("hipAccessPolicyWindow::hitRatio").find(HIP_structs_regex) != std::string::npos) {
3219
+ std::operator<<(out, "hitRatio=");
3220
+ roctracer::hip_support::detail::operator<<(out, v.hitRatio);
3221
+ std::operator<<(out, ", ");
3222
+ }
3223
+ if (std::string("hipAccessPolicyWindow::hitProp").find(HIP_structs_regex) != std::string::npos) {
3224
+ std::operator<<(out, "hitProp=");
3225
+ roctracer::hip_support::detail::operator<<(out, v.hitProp);
3226
+ }
3227
+ };
3228
+ HIP_depth_max_cnt--;
3229
+ std::operator<<(out, '}');
3230
+ return out;
3231
+ }
3232
+ inline static std::ostream& operator<<(std::ostream& out, const hipKernelNodeAttrValue& v)
3233
+ {
3234
+ std::operator<<(out, '{');
3235
+ HIP_depth_max_cnt++;
3236
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3237
+ if (std::string("hipKernelNodeAttrValue::cooperative").find(HIP_structs_regex) != std::string::npos) {
3238
+ std::operator<<(out, "cooperative=");
3239
+ roctracer::hip_support::detail::operator<<(out, v.cooperative);
3240
+ std::operator<<(out, ", ");
3241
+ }
3242
+ if (std::string("hipKernelNodeAttrValue::accessPolicyWindow").find(HIP_structs_regex) != std::string::npos) {
3243
+ std::operator<<(out, "accessPolicyWindow=");
3244
+ roctracer::hip_support::detail::operator<<(out, v.accessPolicyWindow);
3245
+ }
3246
+ };
3247
+ HIP_depth_max_cnt--;
3248
+ std::operator<<(out, '}');
3249
+ return out;
3250
+ }
3251
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_MEMSET_NODE_PARAMS& v)
3252
+ {
3253
+ std::operator<<(out, '{');
3254
+ HIP_depth_max_cnt++;
3255
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3256
+ if (std::string("HIP_MEMSET_NODE_PARAMS::height").find(HIP_structs_regex) != std::string::npos) {
3257
+ std::operator<<(out, "height=");
3258
+ roctracer::hip_support::detail::operator<<(out, v.height);
3259
+ std::operator<<(out, ", ");
3260
+ }
3261
+ if (std::string("HIP_MEMSET_NODE_PARAMS::width").find(HIP_structs_regex) != std::string::npos) {
3262
+ std::operator<<(out, "width=");
3263
+ roctracer::hip_support::detail::operator<<(out, v.width);
3264
+ std::operator<<(out, ", ");
3265
+ }
3266
+ if (std::string("HIP_MEMSET_NODE_PARAMS::elementSize").find(HIP_structs_regex) != std::string::npos) {
3267
+ std::operator<<(out, "elementSize=");
3268
+ roctracer::hip_support::detail::operator<<(out, v.elementSize);
3269
+ std::operator<<(out, ", ");
3270
+ }
3271
+ if (std::string("HIP_MEMSET_NODE_PARAMS::value").find(HIP_structs_regex) != std::string::npos) {
3272
+ std::operator<<(out, "value=");
3273
+ roctracer::hip_support::detail::operator<<(out, v.value);
3274
+ std::operator<<(out, ", ");
3275
+ }
3276
+ if (std::string("HIP_MEMSET_NODE_PARAMS::pitch").find(HIP_structs_regex) != std::string::npos) {
3277
+ std::operator<<(out, "pitch=");
3278
+ roctracer::hip_support::detail::operator<<(out, v.pitch);
3279
+ std::operator<<(out, ", ");
3280
+ }
3281
+ if (std::string("HIP_MEMSET_NODE_PARAMS::dst").find(HIP_structs_regex) != std::string::npos) {
3282
+ std::operator<<(out, "dst=");
3283
+ roctracer::hip_support::detail::operator<<(out, v.dst);
3284
+ }
3285
+ };
3286
+ HIP_depth_max_cnt--;
3287
+ std::operator<<(out, '}');
3288
+ return out;
3289
+ }
3290
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemAllocationProp& v)
3291
+ {
3292
+ std::operator<<(out, '{');
3293
+ HIP_depth_max_cnt++;
3294
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3295
+ if (std::string("hipMemAllocationProp::location").find(HIP_structs_regex) != std::string::npos) {
3296
+ std::operator<<(out, "location=");
3297
+ roctracer::hip_support::detail::operator<<(out, v.location);
3298
+ std::operator<<(out, ", ");
3299
+ }
3300
+ if (std::string("hipMemAllocationProp::requestedHandleType").find(HIP_structs_regex) != std::string::npos) {
3301
+ std::operator<<(out, "requestedHandleType=");
3302
+ roctracer::hip_support::detail::operator<<(out, v.requestedHandleType);
3303
+ std::operator<<(out, ", ");
3304
+ }
3305
+ if (std::string("hipMemAllocationProp::type").find(HIP_structs_regex) != std::string::npos) {
3306
+ std::operator<<(out, "type=");
3307
+ roctracer::hip_support::detail::operator<<(out, v.type);
3308
+ }
3309
+ };
3310
+ HIP_depth_max_cnt--;
3311
+ std::operator<<(out, '}');
3312
+ return out;
3313
+ }
3314
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalSemaphoreSignalNodeParams& v)
3315
+ {
3316
+ std::operator<<(out, '{');
3317
+ HIP_depth_max_cnt++;
3318
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3319
+ if (std::string("hipExternalSemaphoreSignalNodeParams::numExtSems").find(HIP_structs_regex) != std::string::npos) {
3320
+ std::operator<<(out, "numExtSems=");
3321
+ roctracer::hip_support::detail::operator<<(out, v.numExtSems);
3322
+ std::operator<<(out, ", ");
3323
+ }
3324
+ if (std::string("hipExternalSemaphoreSignalNodeParams::paramsArray").find(HIP_structs_regex) != std::string::npos) {
3325
+ std::operator<<(out, "paramsArray=");
3326
+ roctracer::hip_support::detail::operator<<(out, v.paramsArray);
3327
+ std::operator<<(out, ", ");
3328
+ }
3329
+ if (std::string("hipExternalSemaphoreSignalNodeParams::extSemArray").find(HIP_structs_regex) != std::string::npos) {
3330
+ std::operator<<(out, "extSemArray=");
3331
+ roctracer::hip_support::detail::operator<<(out, v.extSemArray);
3332
+ }
3333
+ };
3334
+ HIP_depth_max_cnt--;
3335
+ std::operator<<(out, '}');
3336
+ return out;
3337
+ }
3338
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalSemaphoreWaitNodeParams& v)
3339
+ {
3340
+ std::operator<<(out, '{');
3341
+ HIP_depth_max_cnt++;
3342
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3343
+ if (std::string("hipExternalSemaphoreWaitNodeParams::numExtSems").find(HIP_structs_regex) != std::string::npos) {
3344
+ std::operator<<(out, "numExtSems=");
3345
+ roctracer::hip_support::detail::operator<<(out, v.numExtSems);
3346
+ std::operator<<(out, ", ");
3347
+ }
3348
+ if (std::string("hipExternalSemaphoreWaitNodeParams::paramsArray").find(HIP_structs_regex) != std::string::npos) {
3349
+ std::operator<<(out, "paramsArray=");
3350
+ roctracer::hip_support::detail::operator<<(out, v.paramsArray);
3351
+ std::operator<<(out, ", ");
3352
+ }
3353
+ if (std::string("hipExternalSemaphoreWaitNodeParams::extSemArray").find(HIP_structs_regex) != std::string::npos) {
3354
+ std::operator<<(out, "extSemArray=");
3355
+ roctracer::hip_support::detail::operator<<(out, v.extSemArray);
3356
+ }
3357
+ };
3358
+ HIP_depth_max_cnt--;
3359
+ std::operator<<(out, '}');
3360
+ return out;
3361
+ }
3362
+ inline static std::ostream& operator<<(std::ostream& out, const hipArrayMapInfo& v)
3363
+ {
3364
+ std::operator<<(out, '{');
3365
+ HIP_depth_max_cnt++;
3366
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3367
+ if (std::string("hipArrayMapInfo::reserved").find(HIP_structs_regex) != std::string::npos) {
3368
+ std::operator<<(out, "reserved=");
3369
+ roctracer::hip_support::detail::operator<<(out, 0);
3370
+ std::operator<<(out, ", ");
3371
+ }
3372
+ if (std::string("hipArrayMapInfo::flags").find(HIP_structs_regex) != std::string::npos) {
3373
+ std::operator<<(out, "flags=");
3374
+ roctracer::hip_support::detail::operator<<(out, v.flags);
3375
+ std::operator<<(out, ", ");
3376
+ }
3377
+ if (std::string("hipArrayMapInfo::deviceBitMask").find(HIP_structs_regex) != std::string::npos) {
3378
+ std::operator<<(out, "deviceBitMask=");
3379
+ roctracer::hip_support::detail::operator<<(out, v.deviceBitMask);
3380
+ std::operator<<(out, ", ");
3381
+ }
3382
+ if (std::string("hipArrayMapInfo::offset").find(HIP_structs_regex) != std::string::npos) {
3383
+ std::operator<<(out, "offset=");
3384
+ roctracer::hip_support::detail::operator<<(out, v.offset);
3385
+ std::operator<<(out, ", ");
3386
+ }
3387
+ if (std::string("hipArrayMapInfo::union ::memHandle.memHandle").find(HIP_structs_regex) != std::string::npos) {
3388
+ std::operator<<(out, "memHandle.memHandle=");
3389
+ roctracer::hip_support::detail::operator<<(out, v.memHandle.memHandle);
3390
+ std::operator<<(out, ", ");
3391
+ }
3392
+ if (std::string("hipArrayMapInfo::memHandleType").find(HIP_structs_regex) != std::string::npos) {
3393
+ std::operator<<(out, "memHandleType=");
3394
+ roctracer::hip_support::detail::operator<<(out, v.memHandleType);
3395
+ std::operator<<(out, ", ");
3396
+ }
3397
+ if (std::string("hipArrayMapInfo::memOperationType").find(HIP_structs_regex) != std::string::npos) {
3398
+ std::operator<<(out, "memOperationType=");
3399
+ roctracer::hip_support::detail::operator<<(out, v.memOperationType);
3400
+ std::operator<<(out, ", ");
3401
+ }
3402
+ if (std::string("hipArrayMapInfo::subresourceType").find(HIP_structs_regex) != std::string::npos) {
3403
+ std::operator<<(out, "subresourceType=");
3404
+ roctracer::hip_support::detail::operator<<(out, v.subresourceType);
3405
+ std::operator<<(out, ", ");
3406
+ }
3407
+ if (std::string("hipArrayMapInfo::resourceType").find(HIP_structs_regex) != std::string::npos) {
3408
+ std::operator<<(out, "resourceType=");
3409
+ roctracer::hip_support::detail::operator<<(out, v.resourceType);
3410
+ }
3411
+ };
3412
+ HIP_depth_max_cnt--;
3413
+ std::operator<<(out, '}');
3414
+ return out;
3415
+ }
3416
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemcpyNodeParams& v)
3417
+ {
3418
+ std::operator<<(out, '{');
3419
+ HIP_depth_max_cnt++;
3420
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3421
+ if (std::string("hipMemcpyNodeParams::copyParams").find(HIP_structs_regex) != std::string::npos) {
3422
+ std::operator<<(out, "copyParams=");
3423
+ roctracer::hip_support::detail::operator<<(out, v.copyParams);
3424
+ std::operator<<(out, ", ");
3425
+ }
3426
+ if (std::string("hipMemcpyNodeParams::reserved").find(HIP_structs_regex) != std::string::npos) {
3427
+ std::operator<<(out, "reserved=");
3428
+ roctracer::hip_support::detail::operator<<(out, 0);
3429
+ std::operator<<(out, ", ");
3430
+ }
3431
+ if (std::string("hipMemcpyNodeParams::flags").find(HIP_structs_regex) != std::string::npos) {
3432
+ std::operator<<(out, "flags=");
3433
+ roctracer::hip_support::detail::operator<<(out, v.flags);
3434
+ }
3435
+ };
3436
+ HIP_depth_max_cnt--;
3437
+ std::operator<<(out, '}');
3438
+ return out;
3439
+ }
3440
+ inline static std::ostream& operator<<(std::ostream& out, const hipChildGraphNodeParams& v)
3441
+ {
3442
+ std::operator<<(out, '{');
3443
+ HIP_depth_max_cnt++;
3444
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3445
+ if (std::string("hipChildGraphNodeParams::graph").find(HIP_structs_regex) != std::string::npos) {
3446
+ std::operator<<(out, "graph=");
3447
+ roctracer::hip_support::detail::operator<<(out, v.graph);
3448
+ }
3449
+ };
3450
+ HIP_depth_max_cnt--;
3451
+ std::operator<<(out, '}');
3452
+ return out;
3453
+ }
3454
+ inline static std::ostream& operator<<(std::ostream& out, const hipEventWaitNodeParams& v)
3455
+ {
3456
+ std::operator<<(out, '{');
3457
+ HIP_depth_max_cnt++;
3458
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3459
+ if (std::string("hipEventWaitNodeParams::event").find(HIP_structs_regex) != std::string::npos) {
3460
+ std::operator<<(out, "event=");
3461
+ roctracer::hip_support::detail::operator<<(out, v.event);
3462
+ }
3463
+ };
3464
+ HIP_depth_max_cnt--;
3465
+ std::operator<<(out, '}');
3466
+ return out;
3467
+ }
3468
+ inline static std::ostream& operator<<(std::ostream& out, const hipEventRecordNodeParams& v)
3469
+ {
3470
+ std::operator<<(out, '{');
3471
+ HIP_depth_max_cnt++;
3472
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3473
+ if (std::string("hipEventRecordNodeParams::event").find(HIP_structs_regex) != std::string::npos) {
3474
+ std::operator<<(out, "event=");
3475
+ roctracer::hip_support::detail::operator<<(out, v.event);
3476
+ }
3477
+ };
3478
+ HIP_depth_max_cnt--;
3479
+ std::operator<<(out, '}');
3480
+ return out;
3481
+ }
3482
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemFreeNodeParams& v)
3483
+ {
3484
+ std::operator<<(out, '{');
3485
+ HIP_depth_max_cnt++;
3486
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3487
+ };
3488
+ HIP_depth_max_cnt--;
3489
+ std::operator<<(out, '}');
3490
+ return out;
3491
+ }
3492
+ inline static std::ostream& operator<<(std::ostream& out, const hipGraphNodeParams& v)
3493
+ {
3494
+ std::operator<<(out, '{');
3495
+ HIP_depth_max_cnt++;
3496
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3497
+ if (std::string("hipGraphNodeParams::reserved2").find(HIP_structs_regex) != std::string::npos) {
3498
+ std::operator<<(out, "reserved2=");
3499
+ roctracer::hip_support::detail::operator<<(out, v.reserved2);
3500
+ std::operator<<(out, ", ");
3501
+ }
3502
+ if (std::string("hipGraphNodeParams::reserved0").find(HIP_structs_regex) != std::string::npos) {
3503
+ std::operator<<(out, "reserved0=");
3504
+ roctracer::hip_support::detail::operator<<(out, v.reserved0);
3505
+ std::operator<<(out, ", ");
3506
+ }
3507
+ if (std::string("hipGraphNodeParams::type").find(HIP_structs_regex) != std::string::npos) {
3508
+ std::operator<<(out, "type=");
3509
+ roctracer::hip_support::detail::operator<<(out, v.type);
3510
+ }
3511
+ };
3512
+ HIP_depth_max_cnt--;
3513
+ std::operator<<(out, '}');
3514
+ return out;
3515
+ }
3516
+ inline static std::ostream& operator<<(std::ostream& out, const hipDeviceProp_tR0000& v)
3517
+ {
3518
+ std::operator<<(out, '{');
3519
+ HIP_depth_max_cnt++;
3520
+ if (HIP_depth_max == -1 || HIP_depth_max_cnt <= HIP_depth_max) {
3521
+ if (std::string("hipDeviceProp_tR0000::pageableMemoryAccessUsesHostPageTables").find(HIP_structs_regex) != std::string::npos) {
3522
+ std::operator<<(out, "pageableMemoryAccessUsesHostPageTables=");
3523
+ roctracer::hip_support::detail::operator<<(out, v.pageableMemoryAccessUsesHostPageTables);
3524
+ std::operator<<(out, ", ");
3525
+ }
3526
+ if (std::string("hipDeviceProp_tR0000::pageableMemoryAccess").find(HIP_structs_regex) != std::string::npos) {
3527
+ std::operator<<(out, "pageableMemoryAccess=");
3528
+ roctracer::hip_support::detail::operator<<(out, v.pageableMemoryAccess);
3529
+ std::operator<<(out, ", ");
3530
+ }
3531
+ if (std::string("hipDeviceProp_tR0000::concurrentManagedAccess").find(HIP_structs_regex) != std::string::npos) {
3532
+ std::operator<<(out, "concurrentManagedAccess=");
3533
+ roctracer::hip_support::detail::operator<<(out, v.concurrentManagedAccess);
3534
+ std::operator<<(out, ", ");
3535
+ }
3536
+ if (std::string("hipDeviceProp_tR0000::directManagedMemAccessFromHost").find(HIP_structs_regex) != std::string::npos) {
3537
+ std::operator<<(out, "directManagedMemAccessFromHost=");
3538
+ roctracer::hip_support::detail::operator<<(out, v.directManagedMemAccessFromHost);
3539
+ std::operator<<(out, ", ");
3540
+ }
3541
+ if (std::string("hipDeviceProp_tR0000::managedMemory").find(HIP_structs_regex) != std::string::npos) {
3542
+ std::operator<<(out, "managedMemory=");
3543
+ roctracer::hip_support::detail::operator<<(out, v.managedMemory);
3544
+ std::operator<<(out, ", ");
3545
+ }
3546
+ if (std::string("hipDeviceProp_tR0000::asicRevision").find(HIP_structs_regex) != std::string::npos) {
3547
+ std::operator<<(out, "asicRevision=");
3548
+ roctracer::hip_support::detail::operator<<(out, v.asicRevision);
3549
+ std::operator<<(out, ", ");
3550
+ }
3551
+ if (std::string("hipDeviceProp_tR0000::isLargeBar").find(HIP_structs_regex) != std::string::npos) {
3552
+ std::operator<<(out, "isLargeBar=");
3553
+ roctracer::hip_support::detail::operator<<(out, v.isLargeBar);
3554
+ std::operator<<(out, ", ");
3555
+ }
3556
+ if (std::string("hipDeviceProp_tR0000::cooperativeMultiDeviceUnmatchedSharedMem").find(HIP_structs_regex) != std::string::npos) {
3557
+ std::operator<<(out, "cooperativeMultiDeviceUnmatchedSharedMem=");
3558
+ roctracer::hip_support::detail::operator<<(out, v.cooperativeMultiDeviceUnmatchedSharedMem);
3559
+ std::operator<<(out, ", ");
3560
+ }
3561
+ if (std::string("hipDeviceProp_tR0000::cooperativeMultiDeviceUnmatchedBlockDim").find(HIP_structs_regex) != std::string::npos) {
3562
+ std::operator<<(out, "cooperativeMultiDeviceUnmatchedBlockDim=");
3563
+ roctracer::hip_support::detail::operator<<(out, v.cooperativeMultiDeviceUnmatchedBlockDim);
3564
+ std::operator<<(out, ", ");
3565
+ }
3566
+ if (std::string("hipDeviceProp_tR0000::cooperativeMultiDeviceUnmatchedGridDim").find(HIP_structs_regex) != std::string::npos) {
3567
+ std::operator<<(out, "cooperativeMultiDeviceUnmatchedGridDim=");
3568
+ roctracer::hip_support::detail::operator<<(out, v.cooperativeMultiDeviceUnmatchedGridDim);
3569
+ std::operator<<(out, ", ");
3570
+ }
3571
+ if (std::string("hipDeviceProp_tR0000::cooperativeMultiDeviceUnmatchedFunc").find(HIP_structs_regex) != std::string::npos) {
3572
+ std::operator<<(out, "cooperativeMultiDeviceUnmatchedFunc=");
3573
+ roctracer::hip_support::detail::operator<<(out, v.cooperativeMultiDeviceUnmatchedFunc);
3574
+ std::operator<<(out, ", ");
3575
+ }
3576
+ if (std::string("hipDeviceProp_tR0000::tccDriver").find(HIP_structs_regex) != std::string::npos) {
3577
+ std::operator<<(out, "tccDriver=");
3578
+ roctracer::hip_support::detail::operator<<(out, v.tccDriver);
3579
+ std::operator<<(out, ", ");
3580
+ }
3581
+ if (std::string("hipDeviceProp_tR0000::ECCEnabled").find(HIP_structs_regex) != std::string::npos) {
3582
+ std::operator<<(out, "ECCEnabled=");
3583
+ roctracer::hip_support::detail::operator<<(out, v.ECCEnabled);
3584
+ std::operator<<(out, ", ");
3585
+ }
3586
+ if (std::string("hipDeviceProp_tR0000::kernelExecTimeoutEnabled").find(HIP_structs_regex) != std::string::npos) {
3587
+ std::operator<<(out, "kernelExecTimeoutEnabled=");
3588
+ roctracer::hip_support::detail::operator<<(out, v.kernelExecTimeoutEnabled);
3589
+ std::operator<<(out, ", ");
3590
+ }
3591
+ if (std::string("hipDeviceProp_tR0000::texturePitchAlignment").find(HIP_structs_regex) != std::string::npos) {
3592
+ std::operator<<(out, "texturePitchAlignment=");
3593
+ roctracer::hip_support::detail::operator<<(out, v.texturePitchAlignment);
3594
+ std::operator<<(out, ", ");
3595
+ }
3596
+ if (std::string("hipDeviceProp_tR0000::textureAlignment").find(HIP_structs_regex) != std::string::npos) {
3597
+ std::operator<<(out, "textureAlignment=");
3598
+ roctracer::hip_support::detail::operator<<(out, v.textureAlignment);
3599
+ std::operator<<(out, ", ");
3600
+ }
3601
+ if (std::string("hipDeviceProp_tR0000::memPitch").find(HIP_structs_regex) != std::string::npos) {
3602
+ std::operator<<(out, "memPitch=");
3603
+ roctracer::hip_support::detail::operator<<(out, v.memPitch);
3604
+ std::operator<<(out, ", ");
3605
+ }
3606
+ if (std::string("hipDeviceProp_tR0000::hdpRegFlushCntl").find(HIP_structs_regex) != std::string::npos) {
3607
+ std::operator<<(out, "hdpRegFlushCntl=");
3608
+ roctracer::hip_support::detail::operator<<(out, v.hdpRegFlushCntl);
3609
+ std::operator<<(out, ", ");
3610
+ }
3611
+ if (std::string("hipDeviceProp_tR0000::hdpMemFlushCntl").find(HIP_structs_regex) != std::string::npos) {
3612
+ std::operator<<(out, "hdpMemFlushCntl=");
3613
+ roctracer::hip_support::detail::operator<<(out, v.hdpMemFlushCntl);
3614
+ std::operator<<(out, ", ");
3615
+ }
3616
+ if (std::string("hipDeviceProp_tR0000::maxTexture3D").find(HIP_structs_regex) != std::string::npos) {
3617
+ std::operator<<(out, "maxTexture3D=");
3618
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture3D);
3619
+ std::operator<<(out, ", ");
3620
+ }
3621
+ if (std::string("hipDeviceProp_tR0000::maxTexture2D").find(HIP_structs_regex) != std::string::npos) {
3622
+ std::operator<<(out, "maxTexture2D=");
3623
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture2D);
3624
+ std::operator<<(out, ", ");
3625
+ }
3626
+ if (std::string("hipDeviceProp_tR0000::maxTexture1D").find(HIP_structs_regex) != std::string::npos) {
3627
+ std::operator<<(out, "maxTexture1D=");
3628
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture1D);
3629
+ std::operator<<(out, ", ");
3630
+ }
3631
+ if (std::string("hipDeviceProp_tR0000::maxTexture1DLinear").find(HIP_structs_regex) != std::string::npos) {
3632
+ std::operator<<(out, "maxTexture1DLinear=");
3633
+ roctracer::hip_support::detail::operator<<(out, v.maxTexture1DLinear);
3634
+ std::operator<<(out, ", ");
3635
+ }
3636
+ if (std::string("hipDeviceProp_tR0000::cooperativeMultiDeviceLaunch").find(HIP_structs_regex) != std::string::npos) {
3637
+ std::operator<<(out, "cooperativeMultiDeviceLaunch=");
3638
+ roctracer::hip_support::detail::operator<<(out, v.cooperativeMultiDeviceLaunch);
3639
+ std::operator<<(out, ", ");
3640
+ }
3641
+ if (std::string("hipDeviceProp_tR0000::cooperativeLaunch").find(HIP_structs_regex) != std::string::npos) {
3642
+ std::operator<<(out, "cooperativeLaunch=");
3643
+ roctracer::hip_support::detail::operator<<(out, v.cooperativeLaunch);
3644
+ std::operator<<(out, ", ");
3645
+ }
3646
+ if (std::string("hipDeviceProp_tR0000::integrated").find(HIP_structs_regex) != std::string::npos) {
3647
+ std::operator<<(out, "integrated=");
3648
+ roctracer::hip_support::detail::operator<<(out, v.integrated);
3649
+ std::operator<<(out, ", ");
3650
+ }
3651
+ if (std::string("hipDeviceProp_tR0000::gcnArchName").find(HIP_structs_regex) != std::string::npos) {
3652
+ std::operator<<(out, "gcnArchName=");
3653
+ roctracer::hip_support::detail::operator<<(out, v.gcnArchName);
3654
+ std::operator<<(out, ", ");
3655
+ }
3656
+ if (std::string("hipDeviceProp_tR0000::gcnArch").find(HIP_structs_regex) != std::string::npos) {
3657
+ std::operator<<(out, "gcnArch=");
3658
+ roctracer::hip_support::detail::operator<<(out, v.gcnArch);
3659
+ std::operator<<(out, ", ");
3660
+ }
3661
+ if (std::string("hipDeviceProp_tR0000::canMapHostMemory").find(HIP_structs_regex) != std::string::npos) {
3662
+ std::operator<<(out, "canMapHostMemory=");
3663
+ roctracer::hip_support::detail::operator<<(out, v.canMapHostMemory);
3664
+ std::operator<<(out, ", ");
3665
+ }
3666
+ if (std::string("hipDeviceProp_tR0000::isMultiGpuBoard").find(HIP_structs_regex) != std::string::npos) {
3667
+ std::operator<<(out, "isMultiGpuBoard=");
3668
+ roctracer::hip_support::detail::operator<<(out, v.isMultiGpuBoard);
3669
+ std::operator<<(out, ", ");
3670
+ }
3671
+ if (std::string("hipDeviceProp_tR0000::maxSharedMemoryPerMultiProcessor").find(HIP_structs_regex) != std::string::npos) {
3672
+ std::operator<<(out, "maxSharedMemoryPerMultiProcessor=");
3673
+ roctracer::hip_support::detail::operator<<(out, v.maxSharedMemoryPerMultiProcessor);
3674
+ std::operator<<(out, ", ");
3675
+ }
3676
+ if (std::string("hipDeviceProp_tR0000::pciDeviceID").find(HIP_structs_regex) != std::string::npos) {
3677
+ std::operator<<(out, "pciDeviceID=");
3678
+ roctracer::hip_support::detail::operator<<(out, v.pciDeviceID);
3679
+ std::operator<<(out, ", ");
3680
+ }
3681
+ if (std::string("hipDeviceProp_tR0000::pciBusID").find(HIP_structs_regex) != std::string::npos) {
3682
+ std::operator<<(out, "pciBusID=");
3683
+ roctracer::hip_support::detail::operator<<(out, v.pciBusID);
3684
+ std::operator<<(out, ", ");
3685
+ }
3686
+ if (std::string("hipDeviceProp_tR0000::pciDomainID").find(HIP_structs_regex) != std::string::npos) {
3687
+ std::operator<<(out, "pciDomainID=");
3688
+ roctracer::hip_support::detail::operator<<(out, v.pciDomainID);
3689
+ std::operator<<(out, ", ");
3690
+ }
3691
+ if (std::string("hipDeviceProp_tR0000::concurrentKernels").find(HIP_structs_regex) != std::string::npos) {
3692
+ std::operator<<(out, "concurrentKernels=");
3693
+ roctracer::hip_support::detail::operator<<(out, v.concurrentKernels);
3694
+ std::operator<<(out, ", ");
3695
+ }
3696
+ if (std::string("hipDeviceProp_tR0000::arch").find(HIP_structs_regex) != std::string::npos) {
3697
+ std::operator<<(out, "arch=");
3698
+ roctracer::hip_support::detail::operator<<(out, v.arch);
3699
+ std::operator<<(out, ", ");
3700
+ }
3701
+ if (std::string("hipDeviceProp_tR0000::clockInstructionRate").find(HIP_structs_regex) != std::string::npos) {
3702
+ std::operator<<(out, "clockInstructionRate=");
3703
+ roctracer::hip_support::detail::operator<<(out, v.clockInstructionRate);
3704
+ std::operator<<(out, ", ");
3705
+ }
3706
+ if (std::string("hipDeviceProp_tR0000::computeMode").find(HIP_structs_regex) != std::string::npos) {
3707
+ std::operator<<(out, "computeMode=");
3708
+ roctracer::hip_support::detail::operator<<(out, v.computeMode);
3709
+ std::operator<<(out, ", ");
3710
+ }
3711
+ if (std::string("hipDeviceProp_tR0000::maxThreadsPerMultiProcessor").find(HIP_structs_regex) != std::string::npos) {
3712
+ std::operator<<(out, "maxThreadsPerMultiProcessor=");
3713
+ roctracer::hip_support::detail::operator<<(out, v.maxThreadsPerMultiProcessor);
3714
+ std::operator<<(out, ", ");
3715
+ }
3716
+ if (std::string("hipDeviceProp_tR0000::l2CacheSize").find(HIP_structs_regex) != std::string::npos) {
3717
+ std::operator<<(out, "l2CacheSize=");
3718
+ roctracer::hip_support::detail::operator<<(out, v.l2CacheSize);
3719
+ std::operator<<(out, ", ");
3720
+ }
3721
+ if (std::string("hipDeviceProp_tR0000::multiProcessorCount").find(HIP_structs_regex) != std::string::npos) {
3722
+ std::operator<<(out, "multiProcessorCount=");
3723
+ roctracer::hip_support::detail::operator<<(out, v.multiProcessorCount);
3724
+ std::operator<<(out, ", ");
3725
+ }
3726
+ if (std::string("hipDeviceProp_tR0000::minor").find(HIP_structs_regex) != std::string::npos) {
3727
+ std::operator<<(out, "minor=");
3728
+ roctracer::hip_support::detail::operator<<(out, v.minor);
3729
+ std::operator<<(out, ", ");
3730
+ }
3731
+ if (std::string("hipDeviceProp_tR0000::major").find(HIP_structs_regex) != std::string::npos) {
3732
+ std::operator<<(out, "major=");
3733
+ roctracer::hip_support::detail::operator<<(out, v.major);
3734
+ std::operator<<(out, ", ");
3735
+ }
3736
+ if (std::string("hipDeviceProp_tR0000::totalConstMem").find(HIP_structs_regex) != std::string::npos) {
3737
+ std::operator<<(out, "totalConstMem=");
3738
+ roctracer::hip_support::detail::operator<<(out, v.totalConstMem);
3739
+ std::operator<<(out, ", ");
3740
+ }
3741
+ if (std::string("hipDeviceProp_tR0000::memoryBusWidth").find(HIP_structs_regex) != std::string::npos) {
3742
+ std::operator<<(out, "memoryBusWidth=");
3743
+ roctracer::hip_support::detail::operator<<(out, v.memoryBusWidth);
3744
+ std::operator<<(out, ", ");
3745
+ }
3746
+ if (std::string("hipDeviceProp_tR0000::memoryClockRate").find(HIP_structs_regex) != std::string::npos) {
3747
+ std::operator<<(out, "memoryClockRate=");
3748
+ roctracer::hip_support::detail::operator<<(out, v.memoryClockRate);
3749
+ std::operator<<(out, ", ");
3750
+ }
3751
+ if (std::string("hipDeviceProp_tR0000::clockRate").find(HIP_structs_regex) != std::string::npos) {
3752
+ std::operator<<(out, "clockRate=");
3753
+ roctracer::hip_support::detail::operator<<(out, v.clockRate);
3754
+ std::operator<<(out, ", ");
3755
+ }
3756
+ if (std::string("hipDeviceProp_tR0000::maxGridSize").find(HIP_structs_regex) != std::string::npos) {
3757
+ std::operator<<(out, "maxGridSize=");
3758
+ roctracer::hip_support::detail::operator<<(out, v.maxGridSize);
3759
+ std::operator<<(out, ", ");
3760
+ }
3761
+ if (std::string("hipDeviceProp_tR0000::maxThreadsDim").find(HIP_structs_regex) != std::string::npos) {
3762
+ std::operator<<(out, "maxThreadsDim=");
3763
+ roctracer::hip_support::detail::operator<<(out, v.maxThreadsDim);
3764
+ std::operator<<(out, ", ");
3765
+ }
3766
+ if (std::string("hipDeviceProp_tR0000::maxThreadsPerBlock").find(HIP_structs_regex) != std::string::npos) {
3767
+ std::operator<<(out, "maxThreadsPerBlock=");
3768
+ roctracer::hip_support::detail::operator<<(out, v.maxThreadsPerBlock);
3769
+ std::operator<<(out, ", ");
3770
+ }
3771
+ if (std::string("hipDeviceProp_tR0000::warpSize").find(HIP_structs_regex) != std::string::npos) {
3772
+ std::operator<<(out, "warpSize=");
3773
+ roctracer::hip_support::detail::operator<<(out, v.warpSize);
3774
+ std::operator<<(out, ", ");
3775
+ }
3776
+ if (std::string("hipDeviceProp_tR0000::regsPerBlock").find(HIP_structs_regex) != std::string::npos) {
3777
+ std::operator<<(out, "regsPerBlock=");
3778
+ roctracer::hip_support::detail::operator<<(out, v.regsPerBlock);
3779
+ std::operator<<(out, ", ");
3780
+ }
3781
+ if (std::string("hipDeviceProp_tR0000::sharedMemPerBlock").find(HIP_structs_regex) != std::string::npos) {
3782
+ std::operator<<(out, "sharedMemPerBlock=");
3783
+ roctracer::hip_support::detail::operator<<(out, v.sharedMemPerBlock);
3784
+ std::operator<<(out, ", ");
3785
+ }
3786
+ if (std::string("hipDeviceProp_tR0000::totalGlobalMem").find(HIP_structs_regex) != std::string::npos) {
3787
+ std::operator<<(out, "totalGlobalMem=");
3788
+ roctracer::hip_support::detail::operator<<(out, v.totalGlobalMem);
3789
+ std::operator<<(out, ", ");
3790
+ }
3791
+ if (std::string("hipDeviceProp_tR0000::name").find(HIP_structs_regex) != std::string::npos) {
3792
+ std::operator<<(out, "name=");
3793
+ roctracer::hip_support::detail::operator<<(out, v.name);
3794
+ }
3795
+ };
3796
+ HIP_depth_max_cnt--;
3797
+ std::operator<<(out, '}');
3798
+ return out;
3799
+ }
3800
+ // end ostream ops for HIP
3801
+ };};};
3802
+
3803
+ inline static std::ostream& operator<<(std::ostream& out, const __locale_struct& v)
3804
+ {
3805
+ roctracer::hip_support::detail::operator<<(out, v);
3806
+ return out;
3807
+ }
3808
+
3809
+ inline static std::ostream& operator<<(std::ostream& out, const hipDeviceArch_t& v)
3810
+ {
3811
+ roctracer::hip_support::detail::operator<<(out, v);
3812
+ return out;
3813
+ }
3814
+
3815
+ inline static std::ostream& operator<<(std::ostream& out, const hipUUID& v)
3816
+ {
3817
+ roctracer::hip_support::detail::operator<<(out, v);
3818
+ return out;
3819
+ }
3820
+
3821
+ inline static std::ostream& operator<<(std::ostream& out, const hipDeviceProp_tR0600& v)
3822
+ {
3823
+ roctracer::hip_support::detail::operator<<(out, v);
3824
+ return out;
3825
+ }
3826
+
3827
+ inline static std::ostream& operator<<(std::ostream& out, const hipPointerAttribute_t& v)
3828
+ {
3829
+ roctracer::hip_support::detail::operator<<(out, v);
3830
+ return out;
3831
+ }
3832
+
3833
+ inline static std::ostream& operator<<(std::ostream& out, const hipChannelFormatDesc& v)
3834
+ {
3835
+ roctracer::hip_support::detail::operator<<(out, v);
3836
+ return out;
3837
+ }
3838
+
3839
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_ARRAY_DESCRIPTOR& v)
3840
+ {
3841
+ roctracer::hip_support::detail::operator<<(out, v);
3842
+ return out;
3843
+ }
3844
+
3845
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_ARRAY3D_DESCRIPTOR& v)
3846
+ {
3847
+ roctracer::hip_support::detail::operator<<(out, v);
3848
+ return out;
3849
+ }
3850
+
3851
+ inline static std::ostream& operator<<(std::ostream& out, const hip_Memcpy2D& v)
3852
+ {
3853
+ roctracer::hip_support::detail::operator<<(out, v);
3854
+ return out;
3855
+ }
3856
+
3857
+ inline static std::ostream& operator<<(std::ostream& out, const hipMipmappedArray& v)
3858
+ {
3859
+ roctracer::hip_support::detail::operator<<(out, v);
3860
+ return out;
3861
+ }
3862
+
3863
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_TEXTURE_DESC& v)
3864
+ {
3865
+ roctracer::hip_support::detail::operator<<(out, v);
3866
+ return out;
3867
+ }
3868
+
3869
+ inline static std::ostream& operator<<(std::ostream& out, const hipResourceDesc& v)
3870
+ {
3871
+ roctracer::hip_support::detail::operator<<(out, v);
3872
+ return out;
3873
+ }
3874
+
3875
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_RESOURCE_DESC& v)
3876
+ {
3877
+ roctracer::hip_support::detail::operator<<(out, v);
3878
+ return out;
3879
+ }
3880
+
3881
+ inline static std::ostream& operator<<(std::ostream& out, const hipResourceViewDesc& v)
3882
+ {
3883
+ roctracer::hip_support::detail::operator<<(out, v);
3884
+ return out;
3885
+ }
3886
+
3887
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_RESOURCE_VIEW_DESC& v)
3888
+ {
3889
+ roctracer::hip_support::detail::operator<<(out, v);
3890
+ return out;
3891
+ }
3892
+
3893
+ inline static std::ostream& operator<<(std::ostream& out, const hipPitchedPtr& v)
3894
+ {
3895
+ roctracer::hip_support::detail::operator<<(out, v);
3896
+ return out;
3897
+ }
3898
+
3899
+ inline static std::ostream& operator<<(std::ostream& out, const hipExtent& v)
3900
+ {
3901
+ roctracer::hip_support::detail::operator<<(out, v);
3902
+ return out;
3903
+ }
3904
+
3905
+ inline static std::ostream& operator<<(std::ostream& out, const hipPos& v)
3906
+ {
3907
+ roctracer::hip_support::detail::operator<<(out, v);
3908
+ return out;
3909
+ }
3910
+
3911
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemcpy3DParms& v)
3912
+ {
3913
+ roctracer::hip_support::detail::operator<<(out, v);
3914
+ return out;
3915
+ }
3916
+
3917
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_MEMCPY3D& v)
3918
+ {
3919
+ roctracer::hip_support::detail::operator<<(out, v);
3920
+ return out;
3921
+ }
3922
+
3923
+ inline static std::ostream& operator<<(std::ostream& out, const uchar1& v)
3924
+ {
3925
+ roctracer::hip_support::detail::operator<<(out, v);
3926
+ return out;
3927
+ }
3928
+
3929
+ inline static std::ostream& operator<<(std::ostream& out, const uchar2& v)
3930
+ {
3931
+ roctracer::hip_support::detail::operator<<(out, v);
3932
+ return out;
3933
+ }
3934
+
3935
+ inline static std::ostream& operator<<(std::ostream& out, const uchar3& v)
3936
+ {
3937
+ roctracer::hip_support::detail::operator<<(out, v);
3938
+ return out;
3939
+ }
3940
+
3941
+ inline static std::ostream& operator<<(std::ostream& out, const uchar4& v)
3942
+ {
3943
+ roctracer::hip_support::detail::operator<<(out, v);
3944
+ return out;
3945
+ }
3946
+
3947
+ inline static std::ostream& operator<<(std::ostream& out, const char1& v)
3948
+ {
3949
+ roctracer::hip_support::detail::operator<<(out, v);
3950
+ return out;
3951
+ }
3952
+
3953
+ inline static std::ostream& operator<<(std::ostream& out, const char2& v)
3954
+ {
3955
+ roctracer::hip_support::detail::operator<<(out, v);
3956
+ return out;
3957
+ }
3958
+
3959
+ inline static std::ostream& operator<<(std::ostream& out, const char3& v)
3960
+ {
3961
+ roctracer::hip_support::detail::operator<<(out, v);
3962
+ return out;
3963
+ }
3964
+
3965
+ inline static std::ostream& operator<<(std::ostream& out, const char4& v)
3966
+ {
3967
+ roctracer::hip_support::detail::operator<<(out, v);
3968
+ return out;
3969
+ }
3970
+
3971
+ inline static std::ostream& operator<<(std::ostream& out, const ushort1& v)
3972
+ {
3973
+ roctracer::hip_support::detail::operator<<(out, v);
3974
+ return out;
3975
+ }
3976
+
3977
+ inline static std::ostream& operator<<(std::ostream& out, const ushort2& v)
3978
+ {
3979
+ roctracer::hip_support::detail::operator<<(out, v);
3980
+ return out;
3981
+ }
3982
+
3983
+ inline static std::ostream& operator<<(std::ostream& out, const ushort3& v)
3984
+ {
3985
+ roctracer::hip_support::detail::operator<<(out, v);
3986
+ return out;
3987
+ }
3988
+
3989
+ inline static std::ostream& operator<<(std::ostream& out, const ushort4& v)
3990
+ {
3991
+ roctracer::hip_support::detail::operator<<(out, v);
3992
+ return out;
3993
+ }
3994
+
3995
+ inline static std::ostream& operator<<(std::ostream& out, const short1& v)
3996
+ {
3997
+ roctracer::hip_support::detail::operator<<(out, v);
3998
+ return out;
3999
+ }
4000
+
4001
+ inline static std::ostream& operator<<(std::ostream& out, const short2& v)
4002
+ {
4003
+ roctracer::hip_support::detail::operator<<(out, v);
4004
+ return out;
4005
+ }
4006
+
4007
+ inline static std::ostream& operator<<(std::ostream& out, const short3& v)
4008
+ {
4009
+ roctracer::hip_support::detail::operator<<(out, v);
4010
+ return out;
4011
+ }
4012
+
4013
+ inline static std::ostream& operator<<(std::ostream& out, const short4& v)
4014
+ {
4015
+ roctracer::hip_support::detail::operator<<(out, v);
4016
+ return out;
4017
+ }
4018
+
4019
+ inline static std::ostream& operator<<(std::ostream& out, const uint1& v)
4020
+ {
4021
+ roctracer::hip_support::detail::operator<<(out, v);
4022
+ return out;
4023
+ }
4024
+
4025
+ inline static std::ostream& operator<<(std::ostream& out, const uint2& v)
4026
+ {
4027
+ roctracer::hip_support::detail::operator<<(out, v);
4028
+ return out;
4029
+ }
4030
+
4031
+ inline static std::ostream& operator<<(std::ostream& out, const uint3& v)
4032
+ {
4033
+ roctracer::hip_support::detail::operator<<(out, v);
4034
+ return out;
4035
+ }
4036
+
4037
+ inline static std::ostream& operator<<(std::ostream& out, const uint4& v)
4038
+ {
4039
+ roctracer::hip_support::detail::operator<<(out, v);
4040
+ return out;
4041
+ }
4042
+
4043
+ inline static std::ostream& operator<<(std::ostream& out, const int1& v)
4044
+ {
4045
+ roctracer::hip_support::detail::operator<<(out, v);
4046
+ return out;
4047
+ }
4048
+
4049
+ inline static std::ostream& operator<<(std::ostream& out, const int2& v)
4050
+ {
4051
+ roctracer::hip_support::detail::operator<<(out, v);
4052
+ return out;
4053
+ }
4054
+
4055
+ inline static std::ostream& operator<<(std::ostream& out, const int3& v)
4056
+ {
4057
+ roctracer::hip_support::detail::operator<<(out, v);
4058
+ return out;
4059
+ }
4060
+
4061
+ inline static std::ostream& operator<<(std::ostream& out, const int4& v)
4062
+ {
4063
+ roctracer::hip_support::detail::operator<<(out, v);
4064
+ return out;
4065
+ }
4066
+
4067
+ inline static std::ostream& operator<<(std::ostream& out, const ulong1& v)
4068
+ {
4069
+ roctracer::hip_support::detail::operator<<(out, v);
4070
+ return out;
4071
+ }
4072
+
4073
+ inline static std::ostream& operator<<(std::ostream& out, const ulong2& v)
4074
+ {
4075
+ roctracer::hip_support::detail::operator<<(out, v);
4076
+ return out;
4077
+ }
4078
+
4079
+ inline static std::ostream& operator<<(std::ostream& out, const ulong3& v)
4080
+ {
4081
+ roctracer::hip_support::detail::operator<<(out, v);
4082
+ return out;
4083
+ }
4084
+
4085
+ inline static std::ostream& operator<<(std::ostream& out, const ulong4& v)
4086
+ {
4087
+ roctracer::hip_support::detail::operator<<(out, v);
4088
+ return out;
4089
+ }
4090
+
4091
+ inline static std::ostream& operator<<(std::ostream& out, const long1& v)
4092
+ {
4093
+ roctracer::hip_support::detail::operator<<(out, v);
4094
+ return out;
4095
+ }
4096
+
4097
+ inline static std::ostream& operator<<(std::ostream& out, const long2& v)
4098
+ {
4099
+ roctracer::hip_support::detail::operator<<(out, v);
4100
+ return out;
4101
+ }
4102
+
4103
+ inline static std::ostream& operator<<(std::ostream& out, const long3& v)
4104
+ {
4105
+ roctracer::hip_support::detail::operator<<(out, v);
4106
+ return out;
4107
+ }
4108
+
4109
+ inline static std::ostream& operator<<(std::ostream& out, const long4& v)
4110
+ {
4111
+ roctracer::hip_support::detail::operator<<(out, v);
4112
+ return out;
4113
+ }
4114
+
4115
+ inline static std::ostream& operator<<(std::ostream& out, const ulonglong1& v)
4116
+ {
4117
+ roctracer::hip_support::detail::operator<<(out, v);
4118
+ return out;
4119
+ }
4120
+
4121
+ inline static std::ostream& operator<<(std::ostream& out, const ulonglong2& v)
4122
+ {
4123
+ roctracer::hip_support::detail::operator<<(out, v);
4124
+ return out;
4125
+ }
4126
+
4127
+ inline static std::ostream& operator<<(std::ostream& out, const ulonglong3& v)
4128
+ {
4129
+ roctracer::hip_support::detail::operator<<(out, v);
4130
+ return out;
4131
+ }
4132
+
4133
+ inline static std::ostream& operator<<(std::ostream& out, const ulonglong4& v)
4134
+ {
4135
+ roctracer::hip_support::detail::operator<<(out, v);
4136
+ return out;
4137
+ }
4138
+
4139
+ inline static std::ostream& operator<<(std::ostream& out, const longlong1& v)
4140
+ {
4141
+ roctracer::hip_support::detail::operator<<(out, v);
4142
+ return out;
4143
+ }
4144
+
4145
+ inline static std::ostream& operator<<(std::ostream& out, const longlong2& v)
4146
+ {
4147
+ roctracer::hip_support::detail::operator<<(out, v);
4148
+ return out;
4149
+ }
4150
+
4151
+ inline static std::ostream& operator<<(std::ostream& out, const longlong3& v)
4152
+ {
4153
+ roctracer::hip_support::detail::operator<<(out, v);
4154
+ return out;
4155
+ }
4156
+
4157
+ inline static std::ostream& operator<<(std::ostream& out, const longlong4& v)
4158
+ {
4159
+ roctracer::hip_support::detail::operator<<(out, v);
4160
+ return out;
4161
+ }
4162
+
4163
+ inline static std::ostream& operator<<(std::ostream& out, const float1& v)
4164
+ {
4165
+ roctracer::hip_support::detail::operator<<(out, v);
4166
+ return out;
4167
+ }
4168
+
4169
+ inline static std::ostream& operator<<(std::ostream& out, const float2& v)
4170
+ {
4171
+ roctracer::hip_support::detail::operator<<(out, v);
4172
+ return out;
4173
+ }
4174
+
4175
+ inline static std::ostream& operator<<(std::ostream& out, const float3& v)
4176
+ {
4177
+ roctracer::hip_support::detail::operator<<(out, v);
4178
+ return out;
4179
+ }
4180
+
4181
+ inline static std::ostream& operator<<(std::ostream& out, const float4& v)
4182
+ {
4183
+ roctracer::hip_support::detail::operator<<(out, v);
4184
+ return out;
4185
+ }
4186
+
4187
+ inline static std::ostream& operator<<(std::ostream& out, const double1& v)
4188
+ {
4189
+ roctracer::hip_support::detail::operator<<(out, v);
4190
+ return out;
4191
+ }
4192
+
4193
+ inline static std::ostream& operator<<(std::ostream& out, const double2& v)
4194
+ {
4195
+ roctracer::hip_support::detail::operator<<(out, v);
4196
+ return out;
4197
+ }
4198
+
4199
+ inline static std::ostream& operator<<(std::ostream& out, const double3& v)
4200
+ {
4201
+ roctracer::hip_support::detail::operator<<(out, v);
4202
+ return out;
4203
+ }
4204
+
4205
+ inline static std::ostream& operator<<(std::ostream& out, const double4& v)
4206
+ {
4207
+ roctracer::hip_support::detail::operator<<(out, v);
4208
+ return out;
4209
+ }
4210
+
4211
+ inline static std::ostream& operator<<(std::ostream& out, const textureReference& v)
4212
+ {
4213
+ roctracer::hip_support::detail::operator<<(out, v);
4214
+ return out;
4215
+ }
4216
+
4217
+ inline static std::ostream& operator<<(std::ostream& out, const hipTextureDesc& v)
4218
+ {
4219
+ roctracer::hip_support::detail::operator<<(out, v);
4220
+ return out;
4221
+ }
4222
+
4223
+ inline static std::ostream& operator<<(std::ostream& out, const surfaceReference& v)
4224
+ {
4225
+ roctracer::hip_support::detail::operator<<(out, v);
4226
+ return out;
4227
+ }
4228
+
4229
+ inline static std::ostream& operator<<(std::ostream& out, const hipIpcMemHandle_t& v)
4230
+ {
4231
+ roctracer::hip_support::detail::operator<<(out, v);
4232
+ return out;
4233
+ }
4234
+
4235
+ inline static std::ostream& operator<<(std::ostream& out, const hipIpcEventHandle_t& v)
4236
+ {
4237
+ roctracer::hip_support::detail::operator<<(out, v);
4238
+ return out;
4239
+ }
4240
+
4241
+ inline static std::ostream& operator<<(std::ostream& out, const hipFuncAttributes& v)
4242
+ {
4243
+ roctracer::hip_support::detail::operator<<(out, v);
4244
+ return out;
4245
+ }
4246
+
4247
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemLocation& v)
4248
+ {
4249
+ roctracer::hip_support::detail::operator<<(out, v);
4250
+ return out;
4251
+ }
4252
+
4253
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemAccessDesc& v)
4254
+ {
4255
+ roctracer::hip_support::detail::operator<<(out, v);
4256
+ return out;
4257
+ }
4258
+
4259
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemPoolProps& v)
4260
+ {
4261
+ roctracer::hip_support::detail::operator<<(out, v);
4262
+ return out;
4263
+ }
4264
+
4265
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemPoolPtrExportData& v)
4266
+ {
4267
+ roctracer::hip_support::detail::operator<<(out, v);
4268
+ return out;
4269
+ }
4270
+
4271
+ inline static std::ostream& operator<<(std::ostream& out, const dim3& v)
4272
+ {
4273
+ roctracer::hip_support::detail::operator<<(out, v);
4274
+ return out;
4275
+ }
4276
+
4277
+ inline static std::ostream& operator<<(std::ostream& out, const hipLaunchParams& v)
4278
+ {
4279
+ roctracer::hip_support::detail::operator<<(out, v);
4280
+ return out;
4281
+ }
4282
+
4283
+ inline static std::ostream& operator<<(std::ostream& out, const hipFunctionLaunchParams& v)
4284
+ {
4285
+ roctracer::hip_support::detail::operator<<(out, v);
4286
+ return out;
4287
+ }
4288
+
4289
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalMemoryHandleDesc& v)
4290
+ {
4291
+ roctracer::hip_support::detail::operator<<(out, v);
4292
+ return out;
4293
+ }
4294
+
4295
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalMemoryBufferDesc& v)
4296
+ {
4297
+ roctracer::hip_support::detail::operator<<(out, v);
4298
+ return out;
4299
+ }
4300
+
4301
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalMemoryMipmappedArrayDesc& v)
4302
+ {
4303
+ roctracer::hip_support::detail::operator<<(out, v);
4304
+ return out;
4305
+ }
4306
+
4307
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalSemaphoreHandleDesc& v)
4308
+ {
4309
+ roctracer::hip_support::detail::operator<<(out, v);
4310
+ return out;
4311
+ }
4312
+
4313
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalSemaphoreSignalParams& v)
4314
+ {
4315
+ roctracer::hip_support::detail::operator<<(out, v);
4316
+ return out;
4317
+ }
4318
+
4319
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalSemaphoreWaitParams& v)
4320
+ {
4321
+ roctracer::hip_support::detail::operator<<(out, v);
4322
+ return out;
4323
+ }
4324
+
4325
+ inline static std::ostream& operator<<(std::ostream& out, const hipHostNodeParams& v)
4326
+ {
4327
+ roctracer::hip_support::detail::operator<<(out, v);
4328
+ return out;
4329
+ }
4330
+
4331
+ inline static std::ostream& operator<<(std::ostream& out, const hipKernelNodeParams& v)
4332
+ {
4333
+ roctracer::hip_support::detail::operator<<(out, v);
4334
+ return out;
4335
+ }
4336
+
4337
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemsetParams& v)
4338
+ {
4339
+ roctracer::hip_support::detail::operator<<(out, v);
4340
+ return out;
4341
+ }
4342
+
4343
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemAllocNodeParams& v)
4344
+ {
4345
+ roctracer::hip_support::detail::operator<<(out, v);
4346
+ return out;
4347
+ }
4348
+
4349
+ inline static std::ostream& operator<<(std::ostream& out, const hipAccessPolicyWindow& v)
4350
+ {
4351
+ roctracer::hip_support::detail::operator<<(out, v);
4352
+ return out;
4353
+ }
4354
+
4355
+ inline static std::ostream& operator<<(std::ostream& out, const hipKernelNodeAttrValue& v)
4356
+ {
4357
+ roctracer::hip_support::detail::operator<<(out, v);
4358
+ return out;
4359
+ }
4360
+
4361
+ inline static std::ostream& operator<<(std::ostream& out, const HIP_MEMSET_NODE_PARAMS& v)
4362
+ {
4363
+ roctracer::hip_support::detail::operator<<(out, v);
4364
+ return out;
4365
+ }
4366
+
4367
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemAllocationProp& v)
4368
+ {
4369
+ roctracer::hip_support::detail::operator<<(out, v);
4370
+ return out;
4371
+ }
4372
+
4373
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalSemaphoreSignalNodeParams& v)
4374
+ {
4375
+ roctracer::hip_support::detail::operator<<(out, v);
4376
+ return out;
4377
+ }
4378
+
4379
+ inline static std::ostream& operator<<(std::ostream& out, const hipExternalSemaphoreWaitNodeParams& v)
4380
+ {
4381
+ roctracer::hip_support::detail::operator<<(out, v);
4382
+ return out;
4383
+ }
4384
+
4385
+ inline static std::ostream& operator<<(std::ostream& out, const hipArrayMapInfo& v)
4386
+ {
4387
+ roctracer::hip_support::detail::operator<<(out, v);
4388
+ return out;
4389
+ }
4390
+
4391
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemcpyNodeParams& v)
4392
+ {
4393
+ roctracer::hip_support::detail::operator<<(out, v);
4394
+ return out;
4395
+ }
4396
+
4397
+ inline static std::ostream& operator<<(std::ostream& out, const hipChildGraphNodeParams& v)
4398
+ {
4399
+ roctracer::hip_support::detail::operator<<(out, v);
4400
+ return out;
4401
+ }
4402
+
4403
+ inline static std::ostream& operator<<(std::ostream& out, const hipEventWaitNodeParams& v)
4404
+ {
4405
+ roctracer::hip_support::detail::operator<<(out, v);
4406
+ return out;
4407
+ }
4408
+
4409
+ inline static std::ostream& operator<<(std::ostream& out, const hipEventRecordNodeParams& v)
4410
+ {
4411
+ roctracer::hip_support::detail::operator<<(out, v);
4412
+ return out;
4413
+ }
4414
+
4415
+ inline static std::ostream& operator<<(std::ostream& out, const hipMemFreeNodeParams& v)
4416
+ {
4417
+ roctracer::hip_support::detail::operator<<(out, v);
4418
+ return out;
4419
+ }
4420
+
4421
+ inline static std::ostream& operator<<(std::ostream& out, const hipGraphNodeParams& v)
4422
+ {
4423
+ roctracer::hip_support::detail::operator<<(out, v);
4424
+ return out;
4425
+ }
4426
+
4427
+ inline static std::ostream& operator<<(std::ostream& out, const hipDeviceProp_tR0000& v)
4428
+ {
4429
+ roctracer::hip_support::detail::operator<<(out, v);
4430
+ return out;
4431
+ }
4432
+
4433
+ #endif //__cplusplus
4434
+ #endif // INC_HIP_OSTREAM_OPS_H_
4435
+