rocprofiler-sdk/hsa/api_args.h Source File

rocprofiler-sdk/hsa/api_args.h Source File#

Rocprofiler SDK Developer API: rocprofiler-sdk/hsa/api_args.h Source File
Rocprofiler SDK Developer API 0.5.0
ROCm Profiling API and tools
api_args.h
Go to the documentation of this file.
1// MIT License
2//
3// Copyright (c) 2023 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#pragma once
24
28
29#include <hsa/hsa.h>
30#include <hsa/hsa_ext_amd.h>
31#include <hsa/hsa_ext_finalize.h>
32#include <hsa/hsa_ext_image.h>
33
34ROCPROFILER_EXTERN_C_INIT
35
36// Empty struct has a size of 0 in C but size of 1 in C++.
37// This struct is added to the union members which represent
38// functions with no arguments to ensure ABI compatibility
43
51
52// the following hsa_* typedefs are only in hsa/hsa_api_trace.h but we cannot include that file here
53// because it is not C-compatible
54typedef hsa_status_t (*hsa_ext_program_iterate_modules_cb_t)(hsa_ext_program_t program,
55 hsa_ext_module_t module,
56 void* data);
57
58typedef void (*hsa_amd_queue_intercept_packet_writer)(const void* pkts, uint64_t pkt_count);
59
60typedef void (*hsa_amd_queue_intercept_handler)(const void* pkts,
61 uint64_t pkt_count,
62 uint64_t user_pkt_index,
63 void* data,
65
66typedef void (*hsa_amd_runtime_queue_notifier)(const hsa_queue_t* queue,
67 hsa_agent_t agent,
68 void* data);
69
71{
72 // block: CoreApi API
73 struct
74 {
75 // Empty struct has a size of 0 in C but size of 1 in C++.
76 // Add the rocprofiler_hsa_api_no_args struct to fix this
79 struct
80 {
81 // Empty struct has a size of 0 in C but size of 1 in C++.
82 // Add the rocprofiler_hsa_api_no_args struct to fix this
85 struct
86 {
87 hsa_system_info_t attribute;
88 void* value;
90 struct
91 {
92 uint16_t extension;
93 uint16_t version_major;
94 uint16_t version_minor;
95 bool* result;
97 struct
98 {
99 uint16_t extension;
100 uint16_t version_major;
101 uint16_t version_minor;
102 void* table;
104 struct
105 {
106 hsa_status_t (*callback)(hsa_agent_t agent, void* data);
107 void* data;
109 struct
110 {
111 hsa_agent_t agent;
112 hsa_agent_info_t attribute;
113 void* value;
115 struct
116 {
117 hsa_agent_t agent;
118 uint32_t size;
119 hsa_queue_type32_t type;
120 void (*callback)(hsa_status_t status, hsa_queue_t* source, void* data);
121 void* data;
122 uint32_t private_segment_size;
123 uint32_t group_segment_size;
124 hsa_queue_t** queue;
126 struct
127 {
128 hsa_region_t region;
129 uint32_t size;
130 hsa_queue_type32_t type;
131 uint32_t features;
132 hsa_signal_t doorbell_signal;
133 hsa_queue_t** queue;
135 struct
136 {
137 hsa_queue_t* queue;
139 struct
140 {
141 hsa_queue_t* queue;
143 struct
144 {
145 const hsa_queue_t* queue;
147 struct
148 {
149 const hsa_queue_t* queue;
151 struct
152 {
153 const hsa_queue_t* queue;
155 struct
156 {
157 const hsa_queue_t* queue;
159 struct
160 {
161 const hsa_queue_t* queue;
162 uint64_t value;
164 struct
165 {
166 const hsa_queue_t* queue;
167 uint64_t value;
169 struct
170 {
171 const hsa_queue_t* queue;
172 uint64_t expected;
173 uint64_t value;
175 struct
176 {
177 const hsa_queue_t* queue;
178 uint64_t expected;
179 uint64_t value;
181 struct
182 {
183 const hsa_queue_t* queue;
184 uint64_t expected;
185 uint64_t value;
187 struct
188 {
189 const hsa_queue_t* queue;
190 uint64_t expected;
191 uint64_t value;
193 struct
194 {
195 const hsa_queue_t* queue;
196 uint64_t value;
198 struct
199 {
200 const hsa_queue_t* queue;
201 uint64_t value;
203 struct
204 {
205 const hsa_queue_t* queue;
206 uint64_t value;
208 struct
209 {
210 const hsa_queue_t* queue;
211 uint64_t value;
213 struct
214 {
215 const hsa_queue_t* queue;
216 uint64_t value;
218 struct
219 {
220 const hsa_queue_t* queue;
221 uint64_t value;
223 struct
224 {
225 hsa_agent_t agent;
226 hsa_status_t (*callback)(hsa_region_t region, void* data);
227 void* data;
229 struct
230 {
231 hsa_region_t region;
232 hsa_region_info_t attribute;
233 void* value;
235 struct
236 {
237 hsa_agent_t agent;
238 hsa_profile_t profile;
239 uint16_t* mask;
241 struct
242 {
243 uint16_t extension;
244 hsa_agent_t agent;
245 uint16_t version_major;
246 uint16_t version_minor;
247 bool* result;
249 struct
250 {
251 void* ptr;
252 size_t size;
254 struct
255 {
256 void* ptr;
257 size_t size;
259 struct
260 {
261 hsa_region_t region;
262 size_t size;
263 void** ptr;
265 struct
266 {
267 void* ptr;
269 struct
270 {
271 void* dst;
272 const void* src;
273 size_t size;
275 struct
276 {
277 void* ptr;
278 hsa_agent_t agent;
279 hsa_access_permission_t access;
281 struct
282 {
283 hsa_signal_value_t initial_value;
284 uint32_t num_consumers;
285 const hsa_agent_t* consumers;
286 hsa_signal_t* signal;
288 struct
289 {
290 hsa_signal_t signal;
292 struct
293 {
294 hsa_signal_t signal;
296 struct
297 {
298 hsa_signal_t signal;
300 struct
301 {
302 hsa_signal_t signal;
303 hsa_signal_value_t value;
305 struct
306 {
307 hsa_signal_t signal;
308 hsa_signal_value_t value;
310 struct
311 {
312 hsa_signal_t signal;
313 hsa_signal_condition_t condition;
314 hsa_signal_value_t compare_value;
315 uint64_t timeout_hint;
316 hsa_wait_state_t wait_state_hint;
318 struct
319 {
320 hsa_signal_t signal;
321 hsa_signal_condition_t condition;
322 hsa_signal_value_t compare_value;
323 uint64_t timeout_hint;
324 hsa_wait_state_t wait_state_hint;
326 struct
327 {
328 hsa_signal_t signal;
329 hsa_signal_value_t value;
331 struct
332 {
333 hsa_signal_t signal;
334 hsa_signal_value_t value;
336 struct
337 {
338 hsa_signal_t signal;
339 hsa_signal_value_t value;
341 struct
342 {
343 hsa_signal_t signal;
344 hsa_signal_value_t value;
346 struct
347 {
348 hsa_signal_t signal;
349 hsa_signal_value_t value;
351 struct
352 {
353 hsa_signal_t signal;
354 hsa_signal_value_t value;
356 struct
357 {
358 hsa_signal_t signal;
359 hsa_signal_value_t value;
361 struct
362 {
363 hsa_signal_t signal;
364 hsa_signal_value_t value;
366 struct
367 {
368 hsa_signal_t signal;
369 hsa_signal_value_t value;
371 struct
372 {
373 hsa_signal_t signal;
374 hsa_signal_value_t value;
376 struct
377 {
378 hsa_signal_t signal;
379 hsa_signal_value_t value;
381 struct
382 {
383 hsa_signal_t signal;
384 hsa_signal_value_t value;
386 struct
387 {
388 hsa_signal_t signal;
389 hsa_signal_value_t value;
391 struct
392 {
393 hsa_signal_t signal;
394 hsa_signal_value_t value;
396 struct
397 {
398 hsa_signal_t signal;
399 hsa_signal_value_t value;
401 struct
402 {
403 hsa_signal_t signal;
404 hsa_signal_value_t value;
406 struct
407 {
408 hsa_signal_t signal;
409 hsa_signal_value_t value;
411 struct
412 {
413 hsa_signal_t signal;
414 hsa_signal_value_t value;
416 struct
417 {
418 hsa_signal_t signal;
419 hsa_signal_value_t value;
421 struct
422 {
423 hsa_signal_t signal;
424 hsa_signal_value_t value;
426 struct
427 {
428 hsa_signal_t signal;
429 hsa_signal_value_t value;
431 struct
432 {
433 hsa_signal_t signal;
434 hsa_signal_value_t value;
436 struct
437 {
438 hsa_signal_t signal;
439 hsa_signal_value_t value;
441 struct
442 {
443 hsa_signal_t signal;
444 hsa_signal_value_t value;
446 struct
447 {
448 hsa_signal_t signal;
449 hsa_signal_value_t expected;
450 hsa_signal_value_t value;
452 struct
453 {
454 hsa_signal_t signal;
455 hsa_signal_value_t expected;
456 hsa_signal_value_t value;
458 struct
459 {
460 hsa_signal_t signal;
461 hsa_signal_value_t expected;
462 hsa_signal_value_t value;
464 struct
465 {
466 hsa_signal_t signal;
467 hsa_signal_value_t expected;
468 hsa_signal_value_t value;
470 struct
471 {
472 const char* name;
473 hsa_isa_t* isa;
475 struct
476 {
477 hsa_isa_t isa;
478 hsa_isa_info_t attribute;
479 uint32_t index;
480 void* value;
482 struct
483 {
484 hsa_isa_t code_object_isa;
485 hsa_isa_t agent_isa;
486 bool* result;
488 struct
489 {
490 hsa_code_object_t code_object;
491 hsa_status_t (*alloc_callback)(size_t size, hsa_callback_data_t data, void** address);
492 hsa_callback_data_t callback_data;
493 const char* options;
494 void** serialized_code_object;
495 size_t* serialized_code_object_size;
497 struct
498 {
499 void* serialized_code_object;
500 size_t serialized_code_object_size;
501 const char* options;
502 hsa_code_object_t* code_object;
504 struct
505 {
506 hsa_code_object_t code_object;
508 struct
509 {
510 hsa_code_object_t code_object;
511 hsa_code_object_info_t attribute;
512 void* value;
514 struct
515 {
516 hsa_code_object_t code_object;
517 const char* symbol_name;
518 hsa_code_symbol_t* symbol;
520 struct
521 {
522 hsa_code_symbol_t code_symbol;
523 hsa_code_symbol_info_t attribute;
524 void* value;
526 struct
527 {
528 hsa_code_object_t code_object;
529 hsa_status_t (*callback)(hsa_code_object_t code_object,
530 hsa_code_symbol_t symbol,
531 void* data);
532 void* data;
534 struct
535 {
536 hsa_profile_t profile;
537 hsa_executable_state_t executable_state;
538 const char* options;
539 hsa_executable_t* executable;
541 struct
542 {
543 hsa_executable_t executable;
545 struct
546 {
547 hsa_executable_t executable;
548 hsa_agent_t agent;
549 hsa_code_object_t code_object;
550 const char* options;
552 struct
553 {
554 hsa_executable_t executable;
555 const char* options;
557 struct
558 {
559 hsa_executable_t executable;
560 hsa_executable_info_t attribute;
561 void* value;
563 struct
564 {
565 hsa_executable_t executable;
566 const char* variable_name;
567 void* address;
569 struct
570 {
571 hsa_executable_t executable;
572 hsa_agent_t agent;
573 const char* variable_name;
574 void* address;
576 struct
577 {
578 hsa_executable_t executable;
579 hsa_agent_t agent;
580 const char* variable_name;
581 void* address;
583 struct
584 {
585 hsa_executable_t executable;
586 uint32_t* result;
588 struct
589 {
590 hsa_executable_t executable;
591 const char* module_name;
592 const char* symbol_name;
593 hsa_agent_t agent;
594 int32_t call_convention;
595 hsa_executable_symbol_t* symbol;
597 struct
598 {
599 hsa_executable_symbol_t executable_symbol;
600 hsa_executable_symbol_info_t attribute;
601 void* value;
603 struct
604 {
605 hsa_executable_t executable;
606 hsa_status_t (*callback)(hsa_executable_t exec, hsa_executable_symbol_t symbol, void* data);
607 void* data;
609 struct
610 {
611 hsa_status_t status;
612 const char** status_string;
614 struct
615 {
616 uint16_t extension;
617 const char** name;
619 struct
620 {
621 uint16_t extension;
622 uint16_t version_major;
623 uint16_t* version_minor;
624 bool* result;
626 struct
627 {
628 uint16_t extension;
629 uint16_t version_major;
630 size_t table_length;
631 void* table;
633 struct
634 {
635 uint16_t extension;
636 hsa_agent_t agent;
637 uint16_t version_major;
638 uint16_t* version_minor;
639 bool* result;
641 struct
642 {
643 hsa_cache_t cache;
644 hsa_cache_info_t attribute;
645 void* value;
647 struct
648 {
649 hsa_agent_t agent;
650 hsa_status_t (*callback)(hsa_cache_t cache, void* data);
651 void* data;
653 struct
654 {
655 hsa_signal_t signal;
656 hsa_signal_value_t value;
658 struct
659 {
660 hsa_signal_t signal;
661 hsa_signal_value_t value;
663 struct
664 {
665 uint32_t num_signals;
666 const hsa_signal_t* signals;
667 uint32_t num_consumers;
668 const hsa_agent_t* consumers;
669 hsa_signal_group_t* signal_group;
671 struct
672 {
673 hsa_signal_group_t signal_group;
675 struct
676 {
677 hsa_signal_group_t signal_group;
678 const hsa_signal_condition_t* conditions;
679 const hsa_signal_value_t* compare_values;
680 hsa_wait_state_t wait_state_hint;
681 hsa_signal_t* signal;
682 hsa_signal_value_t* value;
684 struct
685 {
686 hsa_signal_group_t signal_group;
687 const hsa_signal_condition_t* conditions;
688 const hsa_signal_value_t* compare_values;
689 hsa_wait_state_t wait_state_hint;
690 hsa_signal_t* signal;
691 hsa_signal_value_t* value;
693 struct
694 {
695 hsa_agent_t agent;
696 hsa_status_t (*callback)(hsa_isa_t isa, void* data);
697 void* data;
699 struct
700 {
701 hsa_isa_t isa;
702 hsa_isa_info_t attribute;
703 void* value;
705 struct
706 {
707 hsa_isa_t isa;
708 hsa_profile_t profile;
709 uint16_t* mask;
711 struct
712 {
713 hsa_isa_t isa;
714 hsa_fp_type_t fp_type;
715 hsa_flush_mode_t flush_mode;
716 hsa_round_method_t* round_method;
718 struct
719 {
720 hsa_wavefront_t wavefront;
721 hsa_wavefront_info_t attribute;
722 void* value;
724 struct
725 {
726 hsa_isa_t isa;
727 hsa_status_t (*callback)(hsa_wavefront_t wavefront, void* data);
728 void* data;
730 struct
731 {
732 hsa_code_object_t code_object;
733 const char* module_name;
734 const char* symbol_name;
735 hsa_code_symbol_t* symbol;
737 struct
738 {
739 hsa_file_t file;
740 hsa_code_object_reader_t* code_object_reader;
742 struct
743 {
744 const void* code_object;
745 size_t size;
746 hsa_code_object_reader_t* code_object_reader;
748 struct
749 {
750 hsa_code_object_reader_t code_object_reader;
752 struct
753 {
754 hsa_profile_t profile;
755 hsa_default_float_rounding_mode_t default_float_rounding_mode;
756 const char* options;
757 hsa_executable_t* executable;
759 struct
760 {
761 hsa_executable_t executable;
762 hsa_code_object_reader_t code_object_reader;
763 const char* options;
764 hsa_loaded_code_object_t* loaded_code_object;
766 struct
767 {
768 hsa_executable_t executable;
769 hsa_agent_t agent;
770 hsa_code_object_reader_t code_object_reader;
771 const char* options;
772 hsa_loaded_code_object_t* loaded_code_object;
774 struct
775 {
776 hsa_executable_t executable;
777 const char* options;
778 uint32_t* result;
780 struct
781 {
782 hsa_executable_t executable;
783 const char* symbol_name;
784 const hsa_agent_t* agent;
785 hsa_executable_symbol_t* symbol;
787 struct
788 {
789 hsa_executable_t executable;
790 hsa_agent_t agent;
791 hsa_status_t (*callback)(hsa_executable_t exec,
792 hsa_agent_t agent,
793 hsa_executable_symbol_t symbol,
794 void* data);
795 void* data;
797 struct
798 {
799 hsa_executable_t executable;
800 hsa_status_t (*callback)(hsa_executable_t exec, hsa_executable_symbol_t symbol, void* data);
801 void* data;
803
804 // block: AmdExt API
805 struct
806 {
807 hsa_agent_t agent;
808 hsa_amd_coherency_type_t* type;
810 struct
811 {
812 hsa_agent_t agent;
813 hsa_amd_coherency_type_t type;
815 struct
816 {
817 hsa_queue_t* queue;
818 int enable;
820 struct
821 {
822 bool enable;
824 struct
825 {
826 hsa_agent_t agent;
827 hsa_signal_t signal;
828 hsa_amd_profiling_dispatch_time_t* time;
830 struct
831 {
832 hsa_signal_t signal;
833 hsa_amd_profiling_async_copy_time_t* time;
835 struct
836 {
837 hsa_agent_t agent;
838 uint64_t agent_tick;
839 uint64_t* system_tick;
841 struct
842 {
843 hsa_signal_t signal;
844 hsa_signal_condition_t cond;
845 hsa_signal_value_t value;
846 hsa_amd_signal_handler handler;
847 void* arg;
849 struct
850 {
851 void (*callback)(void* arg);
852 void* arg;
854 struct
855 {
856 uint32_t signal_count;
857 hsa_signal_t* signals;
858 hsa_signal_condition_t* conds;
859 hsa_signal_value_t* values;
860 uint64_t timeout_hint;
861 hsa_wait_state_t wait_hint;
862 hsa_signal_value_t* satisfying_value;
864 struct
865 {
866 const hsa_queue_t* queue;
867 uint32_t num_cu_mask_count;
868 const uint32_t* cu_mask;
870 struct
871 {
872 hsa_amd_memory_pool_t memory_pool;
873 hsa_amd_memory_pool_info_t attribute;
874 void* value;
876 struct
877 {
878 hsa_agent_t agent;
879 hsa_status_t (*callback)(hsa_amd_memory_pool_t memory_pool, void* data);
880 void* data;
882 struct
883 {
884 hsa_amd_memory_pool_t memory_pool;
885 size_t size;
886 uint32_t flags;
887 void** ptr;
889 struct
890 {
891 void* ptr;
893 struct
894 {
895 void* dst;
896 hsa_agent_t dst_agent;
897 const void* src;
898 hsa_agent_t src_agent;
899 size_t size;
900 uint32_t num_dep_signals;
901 const hsa_signal_t* dep_signals;
902 hsa_signal_t completion_signal;
904 struct
905 {
906 void* dst;
907 hsa_agent_t dst_agent;
908 const void* src;
909 hsa_agent_t src_agent;
910 size_t size;
911 uint32_t num_dep_signals;
912 const hsa_signal_t* dep_signals;
913 hsa_signal_t completion_signal;
914 hsa_amd_sdma_engine_id_t engine_id;
915 bool force_copy_on_sdma;
917 struct
918 {
919 hsa_agent_t dst_agent;
920 hsa_agent_t src_agent;
921 uint32_t* engine_ids_mask;
923 struct
924 {
925 hsa_agent_t agent;
926 hsa_amd_memory_pool_t memory_pool;
927 hsa_amd_agent_memory_pool_info_t attribute;
928 void* value;
930 struct
931 {
932 uint32_t num_agents;
933 const hsa_agent_t* agents;
934 const uint32_t* flags;
935 const void* ptr;
937 struct
938 {
939 hsa_amd_memory_pool_t src_memory_pool;
940 hsa_amd_memory_pool_t dst_memory_pool;
941 bool* result;
943 struct
944 {
945 const void* ptr;
946 hsa_amd_memory_pool_t memory_pool;
947 uint32_t flags;
949 struct
950 {
951 void* host_ptr;
952 size_t size;
953 hsa_agent_t* agents;
954 int num_agent;
955 void** agent_ptr;
957 struct
958 {
959 void* host_ptr;
961 struct
962 {
963 void* ptr;
964 uint32_t value;
965 size_t count;
967 struct
968 {
969 uint32_t num_agents;
970 hsa_agent_t* agents;
971 int interop_handle;
972 uint32_t flags;
973 size_t* size;
974 void** ptr;
975 size_t* metadata_size;
976 const void** metadata;
978 struct
979 {
980 void* ptr;
982 struct
983 {
984 hsa_agent_t agent;
985 const hsa_ext_image_descriptor_t* image_descriptor;
986 const hsa_amd_image_descriptor_t* image_layout;
987 const void* image_data;
988 hsa_access_permission_t access_permission;
989 hsa_ext_image_t* image;
991 struct
992 {
993 const void* ptr;
994 hsa_amd_pointer_info_t* info;
995 void* (*alloc)(size_t);
996 uint32_t* num_agents_accessible;
997 hsa_agent_t** accessible;
999 struct
1000 {
1001 const void* ptr;
1002 void* userdata;
1004 struct
1005 {
1006 void* ptr;
1007 size_t len;
1008 hsa_amd_ipc_memory_t* handle;
1010 struct
1011 {
1012 const hsa_amd_ipc_memory_t* handle;
1013 size_t len;
1014 uint32_t num_agents;
1015 const hsa_agent_t* mapping_agents;
1016 void** mapped_ptr;
1018 struct
1019 {
1020 void* mapped_ptr;
1022 struct
1023 {
1024 hsa_signal_value_t initial_value;
1025 uint32_t num_consumers;
1026 const hsa_agent_t* consumers;
1027 uint64_t attributes;
1028 hsa_signal_t* signal;
1030 struct
1031 {
1032 hsa_signal_t signal;
1033 hsa_amd_ipc_signal_t* handle;
1035 struct
1036 {
1037 const hsa_amd_ipc_signal_t* handle;
1038 hsa_signal_t* signal;
1040 struct
1041 {
1042 hsa_amd_system_event_callback_t callback;
1043 void* data;
1045 struct
1046 {
1047 hsa_agent_t agent_handle;
1048 uint32_t size;
1049 hsa_queue_type32_t type;
1050 void (*callback)(hsa_status_t status, hsa_queue_t* source, void* data);
1051 void* data;
1052 uint32_t private_segment_size;
1053 uint32_t group_segment_size;
1054 hsa_queue_t** queue;
1056 struct
1057 {
1058 hsa_queue_t* queue;
1060 void* user_data;
1062 struct
1063 {
1064 hsa_queue_t* queue;
1065 hsa_amd_queue_priority_t priority;
1067 struct
1068 {
1069 const hsa_pitched_ptr_t* dst;
1070 const hsa_dim3_t* dst_offset;
1071 const hsa_pitched_ptr_t* src;
1072 const hsa_dim3_t* src_offset;
1073 const hsa_dim3_t* range;
1074 hsa_agent_t copy_agent;
1075 hsa_amd_copy_direction_t dir;
1076 uint32_t num_dep_signals;
1077 const hsa_signal_t* dep_signals;
1078 hsa_signal_t completion_signal;
1080 struct
1081 {
1083 void* user_data;
1085 struct
1086 {
1087 void* host_ptr;
1088 size_t size;
1089 hsa_agent_t* agents;
1090 int num_agent;
1091 hsa_amd_memory_pool_t pool;
1092 uint32_t flags;
1093 void** agent_ptr;
1095 struct
1096 {
1097 void* ptr;
1098 hsa_amd_deallocation_callback_t callback;
1099 void* user_data;
1101 struct
1102 {
1103 void* ptr;
1104 hsa_amd_deallocation_callback_t callback;
1106 struct
1107 {
1108 hsa_signal_t signal;
1109 volatile hsa_signal_value_t** value_ptr;
1111 struct
1112 {
1113 void* ptr;
1114 size_t size;
1115 hsa_amd_svm_attribute_pair_t* attribute_list;
1116 size_t attribute_count;
1118 struct
1119 {
1120 void* ptr;
1121 size_t size;
1122 hsa_amd_svm_attribute_pair_t* attribute_list;
1123 size_t attribute_count;
1125 struct
1126 {
1127 void* ptr;
1128 size_t size;
1129 hsa_agent_t agent;
1130 uint32_t num_dep_signals;
1131 const hsa_signal_t* dep_signals;
1132 hsa_signal_t completion_signal;
1134 struct
1135 {
1136 hsa_agent_t preferred_agent;
1138 struct
1139 {
1140 hsa_agent_t preferred_agent;
1142 struct
1143 {
1144 hsa_agent_t preferred_agent;
1145 size_t size_in_bytes;
1146 uint32_t* timeout;
1147 uint32_t* size_copied;
1148 void* dest;
1149 bool* is_data_loss;
1151 struct
1152 {
1153 const hsa_queue_t* queue;
1154 uint32_t num_cu_mask_count;
1155 uint32_t* cu_mask;
1157 struct
1158 {
1159 const void* ptr;
1160 size_t size;
1161 int* dmabuf;
1162 uint64_t* offset;
1164 struct
1165 {
1166 int dmabuf;
1168
1169 // block: ImageExt API
1170 struct
1171 {
1172 hsa_agent_t agent;
1173 hsa_ext_image_geometry_t geometry;
1174 const hsa_ext_image_format_t* image_format;
1175 uint32_t* capability_mask;
1177 struct
1178 {
1179 hsa_agent_t agent;
1180 const hsa_ext_image_descriptor_t* image_descriptor;
1181 hsa_access_permission_t access_permission;
1182 hsa_ext_image_data_info_t* image_data_info;
1184 struct
1185 {
1186 hsa_agent_t agent;
1187 const hsa_ext_image_descriptor_t* image_descriptor;
1188 const void* image_data;
1189 hsa_access_permission_t access_permission;
1190 hsa_ext_image_t* image;
1192 struct
1193 {
1194 hsa_agent_t agent;
1195 const void* src_memory;
1196 size_t src_row_pitch;
1197 size_t src_slice_pitch;
1198 hsa_ext_image_t dst_image;
1199 const hsa_ext_image_region_t* image_region;
1201 struct
1202 {
1203 hsa_agent_t agent;
1204 hsa_ext_image_t src_image;
1205 void* dst_memory;
1206 size_t dst_row_pitch;
1207 size_t dst_slice_pitch;
1208 const hsa_ext_image_region_t* image_region;
1210 struct
1211 {
1212 hsa_agent_t agent;
1213 hsa_ext_image_t src_image;
1214 const hsa_dim3_t* src_offset;
1215 hsa_ext_image_t dst_image;
1216 const hsa_dim3_t* dst_offset;
1217 const hsa_dim3_t* range;
1219 struct
1220 {
1221 hsa_agent_t agent;
1222 hsa_ext_image_t image;
1223 const void* data;
1224 const hsa_ext_image_region_t* image_region;
1226 struct
1227 {
1228 hsa_agent_t agent;
1229 hsa_ext_image_t image;
1231 struct
1232 {
1233 hsa_agent_t agent;
1234 const hsa_ext_sampler_descriptor_t* sampler_descriptor;
1235 hsa_ext_sampler_t* sampler;
1237 struct
1238 {
1239 hsa_agent_t agent;
1240 hsa_ext_sampler_t sampler;
1242 struct
1243 {
1244 hsa_agent_t agent;
1245 hsa_ext_image_geometry_t geometry;
1246 const hsa_ext_image_format_t* image_format;
1247 hsa_ext_image_data_layout_t image_data_layout;
1248 uint32_t* capability_mask;
1250 struct
1251 {
1252 hsa_agent_t agent;
1253 const hsa_ext_image_descriptor_t* image_descriptor;
1254 hsa_access_permission_t access_permission;
1255 hsa_ext_image_data_layout_t image_data_layout;
1256 size_t image_data_row_pitch;
1257 size_t image_data_slice_pitch;
1258 hsa_ext_image_data_info_t* image_data_info;
1260 struct
1261 {
1262 hsa_agent_t agent;
1263 const hsa_ext_image_descriptor_t* image_descriptor;
1264 const void* image_data;
1265 hsa_access_permission_t access_permission;
1266 hsa_ext_image_data_layout_t image_data_layout;
1267 size_t image_data_row_pitch;
1268 size_t image_data_slice_pitch;
1269 hsa_ext_image_t* image;
1271 // finalize ext
1272 struct
1273 {
1274 hsa_machine_model_t machine_model;
1275 hsa_profile_t profile;
1276 hsa_default_float_rounding_mode_t default_float_rounding_mode;
1277 const char* options;
1278 hsa_ext_program_t* program;
1280 struct
1281 {
1282 hsa_ext_program_t program;
1284 struct
1285 {
1286 hsa_ext_program_t program;
1287 hsa_ext_module_t module;
1289 struct
1290 {
1291 hsa_ext_program_t program;
1293 void* data;
1295 struct
1296 {
1297 hsa_ext_program_t program;
1298 hsa_ext_program_info_t attribute;
1299 void* value;
1301 struct
1302 {
1303 hsa_ext_program_t program;
1304 hsa_isa_t isa;
1305 int32_t call_convention;
1306 hsa_ext_control_directives_t control_directives;
1307 const char* options;
1308 hsa_code_object_type_t code_object_type;
1309 hsa_code_object_t* code_object;
1311 //
1312#if HSA_AMD_EXT_API_TABLE_MAJOR_VERSION >= 0x02
1313 struct
1314 {
1315 void** ptr;
1316 size_t size;
1317 uint64_t address;
1318 uint64_t flags;
1319 } hsa_amd_vmem_address_reserve;
1320 struct
1321 {
1322 void* ptr;
1323 size_t size;
1324 } hsa_amd_vmem_address_free;
1325 struct
1326 {
1327 hsa_amd_memory_pool_t pool;
1328 size_t size;
1329 hsa_amd_memory_type_t type;
1330 uint64_t flags;
1331 hsa_amd_vmem_alloc_handle_t* memory_handle;
1332 } hsa_amd_vmem_handle_create;
1333 struct
1334 {
1335 hsa_amd_vmem_alloc_handle_t memory_handle;
1336 } hsa_amd_vmem_handle_release;
1337 struct
1338 {
1339 void* va;
1340 size_t size;
1341 size_t in_offset;
1342 hsa_amd_vmem_alloc_handle_t memory_handle;
1343 uint64_t flags;
1344 } hsa_amd_vmem_map;
1345 struct
1346 {
1347 void* va;
1348 size_t size;
1349 } hsa_amd_vmem_unmap;
1350 struct
1351 {
1352 void* va;
1353 size_t size;
1354 const hsa_amd_memory_access_desc_t* desc;
1355 size_t desc_cnt;
1356 } hsa_amd_vmem_set_access;
1357 struct
1358 {
1359 void* va;
1360 hsa_access_permission_t* perms;
1361 hsa_agent_t agent_handle;
1362 } hsa_amd_vmem_get_access;
1363 struct
1364 {
1365 int* dmabuf_fd;
1366 hsa_amd_vmem_alloc_handle_t handle;
1367 uint64_t flags;
1368 } hsa_amd_vmem_export_shareable_handle;
1369 struct
1370 {
1371 int dmabuf_fd;
1372 hsa_amd_vmem_alloc_handle_t* handle;
1373 } hsa_amd_vmem_import_shareable_handle;
1374 struct
1375 {
1376 hsa_amd_vmem_alloc_handle_t* handle;
1377 void* addr;
1378 } hsa_amd_vmem_retain_alloc_handle;
1379 struct
1380 {
1381 hsa_amd_vmem_alloc_handle_t alloc_handle;
1382 hsa_amd_memory_pool_t* pool;
1383 hsa_amd_memory_type_t* type;
1384 } hsa_amd_vmem_get_alloc_properties_from_handle;
1385# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x01
1386 struct
1387 {
1388 hsa_agent_t agent;
1389 size_t threshold;
1390 } hsa_amd_agent_set_async_scratch_limit;
1391# endif
1392# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x02
1393 struct
1394 {
1395 hsa_queue_t* queue;
1396 hsa_queue_info_attribute_t attribute;
1397 void* value;
1398 } hsa_amd_queue_get_info;
1399# endif
1400# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x03
1401 struct
1402 {
1403 void** ptr;
1404 size_t size;
1405 uint64_t address;
1406 uint64_t alignment;
1407 uint64_t flags;
1408 } hsa_amd_vmem_address_reserve_align;
1409# endif
1410# if HSA_AMD_EXT_API_TABLE_STEP_VERSION >= 0x04
1411 struct
1412 {
1413 uint8_t* flags;
1414 void* file;
1415 } hsa_amd_enable_logging;
1416# endif
1417#endif
1419
1420ROCPROFILER_EXTERN_C_FINI
struct rocprofiler_hsa_api_args_t::@510 hsa_signal_load_scacquire
struct rocprofiler_hsa_api_args_t::@664 hsa_ext_program_destroy
struct rocprofiler_hsa_api_args_t::@636 hsa_amd_runtime_queue_create_register
struct rocprofiler_hsa_api_args_t::@545 hsa_isa_compatible
struct rocprofiler_hsa_api_args_t::@477 hsa_queue_create
struct rocprofiler_hsa_api_args_t::@634 hsa_amd_queue_set_priority
struct rocprofiler_hsa_api_args_t::@663 hsa_ext_program_create
struct rocprofiler_hsa_api_args_t::@503 hsa_memory_allocate
struct rocprofiler_hsa_api_args_t::@633 hsa_amd_queue_intercept_register
struct rocprofiler_hsa_api_args_t::@551 hsa_code_symbol_get_info
struct rocprofiler_hsa_api_args_t::@509 hsa_signal_load_relaxed
struct rocprofiler_hsa_api_args_t::@566 hsa_extension_get_name
struct rocprofiler_hsa_api_args_t::@652 hsa_ext_image_create
struct rocprofiler_hsa_api_args_t::@534 hsa_signal_add_scacq_screl
struct rocprofiler_hsa_api_args_t::@616 hsa_amd_memory_migrate
struct rocprofiler_hsa_api_args_t::@519 hsa_signal_or_relaxed
struct rocprofiler_hsa_api_args_t::@628 hsa_amd_signal_create
struct rocprofiler_hsa_api_args_t::@592 hsa_executable_get_symbol_by_name
void(* hsa_amd_queue_intercept_packet_writer)(const void *pkts, uint64_t pkt_count)
Definition api_args.h:58
struct rocprofiler_hsa_api_args_t::@492 hsa_queue_add_write_index_scacquire
struct rocprofiler_hsa_api_args_t::@541 hsa_signal_cas_screlease
struct rocprofiler_hsa_api_args_t::@575 hsa_signal_group_destroy
struct rocprofiler_hsa_api_args_t::@660 hsa_ext_image_get_capability_with_layout
struct rocprofiler_hsa_api_args_t::@475 hsa_iterate_agents
struct rocprofiler_hsa_api_args_t::@539 hsa_signal_cas_relaxed
struct rocprofiler_hsa_api_args_t::@601 hsa_amd_profiling_convert_tick_to_system_domain
struct rocprofiler_hsa_api_args_t::@565 hsa_status_string
struct rocprofiler_hsa_api_args_t::@589 hsa_executable_load_program_code_object
struct rocprofiler_hsa_api_args_t::@502 hsa_memory_deregister
struct rocprofiler_hsa_api_args_t::@630 hsa_amd_ipc_signal_attach
struct rocprofiler_hsa_api_args_t::@591 hsa_executable_validate_alt
struct rocprofiler_hsa_api_args_t::@656 hsa_ext_image_clear
struct rocprofiler_hsa_api_args_t::@535 hsa_signal_subtract_relaxed
struct rocprofiler_hsa_api_args_t::@487 hsa_queue_cas_write_index_scacq_screl
struct rocprofiler_hsa_api_args_t::@489 hsa_queue_cas_write_index_relaxed
struct rocprofiler_hsa_api_args_t::@606 hsa_amd_memory_pool_get_info
struct rocprofiler_hsa_api_args_t::@654 hsa_ext_image_export
struct rocprofiler_hsa_api_args_t::@662 hsa_ext_image_create_with_layout
struct rocprofiler_hsa_api_args_t::@602 hsa_amd_signal_async_handler
struct rocprofiler_hsa_api_args_t::@525 hsa_signal_xor_screlease
struct rocprofiler_hsa_api_args_t::@558 hsa_executable_global_variable_define
struct rocprofiler_hsa_api_args_t::@590 hsa_executable_load_agent_code_object
struct rocprofiler_hsa_api_args_t::@532 hsa_signal_add_scacquire
struct rocprofiler_hsa_api_args_t::@668 hsa_ext_program_finalize
struct rocprofiler_hsa_api_args_t::@506 hsa_memory_assign_agent
struct rocprofiler_hsa_api_args_t::@665 hsa_ext_program_add_module
struct rocprofiler_hsa_api_args_t::@500 hsa_agent_extension_supported
struct rocprofiler_hsa_api_args_t::@661 hsa_ext_image_data_get_info_with_layout
struct rocprofiler_hsa_api_args_t::@476 hsa_agent_get_info
struct rocprofiler_hsa_api_args_t::@559 hsa_executable_agent_global_variable_define
struct rocprofiler_hsa_api_args_t::@581 hsa_isa_get_round_method
struct rocprofiler_hsa_api_args_t::@605 hsa_amd_queue_cu_set_mask
struct rocprofiler_hsa_api_args_t::@666 hsa_ext_program_iterate_modules
struct rocprofiler_hsa_api_args_t::@470 hsa_init
struct rocprofiler_hsa_api_args_t::@472 hsa_system_get_info
struct rocprofiler_hsa_api_args_t::@540 hsa_signal_cas_scacquire
struct rocprofiler_hsa_api_args_t::@609 hsa_amd_memory_pool_free
struct rocprofiler_hsa_api_args_t::@536 hsa_signal_subtract_scacquire
struct rocprofiler_hsa_api_args_t::@587 hsa_code_object_reader_destroy
struct rocprofiler_hsa_api_args_t::@572 hsa_signal_silent_store_relaxed
struct rocprofiler_hsa_api_args_t::@524 hsa_signal_xor_scacquire
struct rocprofiler_hsa_api_args_t::@555 hsa_executable_load_code_object
struct rocprofiler_hsa_api_args_t::@561 hsa_executable_validate
struct rocprofiler_hsa_api_args_t::@650 hsa_ext_image_get_capability
struct rocprofiler_hsa_api_args_t::@655 hsa_ext_image_copy
struct rocprofiler_hsa_api_args_t::@594 hsa_executable_iterate_program_symbols
struct rocprofiler_hsa_api_args_t::@604 hsa_amd_signal_wait_any
struct rocprofiler_hsa_api_args_t::@538 hsa_signal_subtract_scacq_screl
struct rocprofiler_hsa_api_args_t::@478 hsa_soft_queue_create
struct rocprofiler_hsa_api_args_t::@557 hsa_executable_get_info
struct rocprofiler_hsa_api_args_t::@573 hsa_signal_silent_store_screlease
struct rocprofiler_hsa_api_args_t::@529 hsa_signal_exchange_screlease
struct rocprofiler_hsa_api_args_t::@516 hsa_signal_and_scacquire
struct rocprofiler_hsa_api_args_t::@498 hsa_region_get_info
struct rocprofiler_hsa_api_args_t::@627 hsa_amd_ipc_memory_detach
struct rocprofiler_hsa_api_args_t::@563 hsa_executable_symbol_get_info
struct rocprofiler_hsa_api_args_t::@643 hsa_amd_svm_prefetch_async
struct rocprofiler_hsa_api_args_t::@638 hsa_amd_register_deallocation_callback
struct rocprofiler_hsa_api_args_t::@528 hsa_signal_exchange_scacquire
struct rocprofiler_hsa_api_args_t::@491 hsa_queue_add_write_index_scacq_screl
struct rocprofiler_hsa_api_args_t::@612 hsa_amd_memory_copy_engine_status
struct rocprofiler_hsa_api_args_t::@619 hsa_amd_memory_fill
struct rocprofiler_hsa_api_args_t::@607 hsa_amd_agent_iterate_memory_pools
struct rocprofiler_hsa_api_args_t::@543 hsa_isa_from_name
hsa_signal_value_t hsa_signal_value_t_retval
Definition api_args.h:48
struct rocprofiler_hsa_api_args_t::@644 hsa_amd_spm_acquire
struct rocprofiler_hsa_api_args_t::@583 hsa_isa_iterate_wavefronts
struct rocprofiler_hsa_api_args_t::@613 hsa_amd_agent_memory_pool_get_info
struct rocprofiler_hsa_api_args_t::@596 hsa_amd_coherency_set_type
struct rocprofiler_hsa_api_args_t::@603 hsa_amd_async_function
struct rocprofiler_hsa_api_args_t::@501 hsa_memory_register
struct rocprofiler_hsa_api_args_t::@618 hsa_amd_memory_unlock
struct rocprofiler_hsa_api_args_t::@657 hsa_ext_image_destroy
struct rocprofiler_hsa_api_args_t::@600 hsa_amd_profiling_get_async_copy_time
struct rocprofiler_hsa_api_args_t::@483 hsa_queue_load_write_index_scacquire
struct rocprofiler_hsa_api_args_t::@554 hsa_executable_destroy
struct rocprofiler_hsa_api_args_t::@495 hsa_queue_store_read_index_relaxed
struct rocprofiler_hsa_api_args_t::@631 hsa_amd_register_system_event_handler
struct rocprofiler_hsa_api_args_t::@485 hsa_queue_store_write_index_relaxed
struct rocprofiler_hsa_api_args_t::@625 hsa_amd_ipc_memory_create
struct rocprofiler_hsa_api_args_t::@486 hsa_queue_store_write_index_screlease
struct rocprofiler_hsa_api_args_t::@570 hsa_cache_get_info
struct rocprofiler_hsa_api_args_t::@479 hsa_queue_destroy
struct rocprofiler_hsa_api_args_t::@564 hsa_executable_iterate_symbols
struct rocprofiler_hsa_api_args_t::@640 hsa_amd_signal_value_pointer
struct rocprofiler_hsa_api_args_t::@639 hsa_amd_deregister_deallocation_callback
struct rocprofiler_hsa_api_args_t::@610 hsa_amd_memory_async_copy
struct rocprofiler_hsa_api_args_t::@507 hsa_signal_create
struct rocprofiler_hsa_api_args_t::@584 hsa_code_object_get_symbol_from_name
struct rocprofiler_hsa_api_args_t::@635 hsa_amd_memory_async_copy_rect
struct rocprofiler_hsa_api_args_t::@542 hsa_signal_cas_scacq_screl
struct rocprofiler_hsa_api_args_t::@505 hsa_memory_copy
struct rocprofiler_hsa_api_args_t::@527 hsa_signal_exchange_relaxed
struct rocprofiler_hsa_api_args_t::@511 hsa_signal_store_relaxed
struct rocprofiler_hsa_api_args_t::@531 hsa_signal_add_relaxed
struct rocprofiler_hsa_api_args_t::@523 hsa_signal_xor_relaxed
struct rocprofiler_hsa_api_args_t::@658 hsa_ext_sampler_create
struct rocprofiler_hsa_api_args_t::@526 hsa_signal_xor_scacq_screl
struct rocprofiler_hsa_api_args_t::@508 hsa_signal_destroy
struct rocprofiler_hsa_api_args_t::@645 hsa_amd_spm_release
struct rocprofiler_hsa_api_args_t::@474 hsa_system_get_extension_table
struct rocprofiler_hsa_api_args_t::@629 hsa_amd_ipc_signal_create
struct rocprofiler_hsa_api_args_t::@568 hsa_system_get_major_extension_table
struct rocprofiler_hsa_api_args_t::@490 hsa_queue_cas_write_index_screlease
struct rocprofiler_hsa_api_args_t::@651 hsa_ext_image_data_get_info
struct rocprofiler_hsa_api_args_t::@608 hsa_amd_memory_pool_allocate
struct rocprofiler_hsa_api_args_t::@493 hsa_queue_add_write_index_relaxed
struct rocprofiler_hsa_api_args_t::@517 hsa_signal_and_screlease
struct rocprofiler_hsa_api_args_t::@552 hsa_code_object_iterate_symbols
struct rocprofiler_hsa_api_args_t::@623 hsa_amd_pointer_info
struct rocprofiler_hsa_api_args_t::@598 hsa_amd_profiling_async_copy_enable
struct rocprofiler_hsa_api_args_t::@611 hsa_amd_memory_async_copy_on_engine
void(* hsa_amd_runtime_queue_notifier)(const hsa_queue_t *queue, hsa_agent_t agent, void *data)
Definition api_args.h:66
struct rocprofiler_hsa_api_args_t::@494 hsa_queue_add_write_index_screlease
struct rocprofiler_hsa_api_args_t::@614 hsa_amd_agents_allow_access
struct rocprofiler_hsa_api_args_t::@533 hsa_signal_add_screlease
struct rocprofiler_hsa_api_args_t::@521 hsa_signal_or_screlease
struct rocprofiler_hsa_api_args_t::@593 hsa_executable_iterate_agent_symbols
struct rocprofiler_hsa_api_args_t::@548 hsa_code_object_destroy
hsa_status_t(* hsa_ext_program_iterate_modules_cb_t)(hsa_ext_program_t program, hsa_ext_module_t module, void *data)
Definition api_args.h:54
struct rocprofiler_hsa_api_args_t::@597 hsa_amd_profiling_set_profiler_enabled
struct rocprofiler_hsa_api_args_t::@471 hsa_shut_down
struct rocprofiler_hsa_api_args_t::@659 hsa_ext_sampler_destroy
struct rocprofiler_hsa_api_args_t::@586 hsa_code_object_reader_create_from_memory
struct rocprofiler_hsa_api_args_t::@496 hsa_queue_store_read_index_screlease
struct rocprofiler_hsa_api_args_t::@667 hsa_ext_program_get_info
struct rocprofiler_hsa_api_args_t::@632 hsa_amd_queue_intercept_create
struct rocprofiler_hsa_api_args_t::@522 hsa_signal_or_scacq_screl
struct rocprofiler_hsa_api_args_t::@569 hsa_agent_major_extension_supported
struct rocprofiler_hsa_api_args_t::@582 hsa_wavefront_get_info
struct rocprofiler_hsa_api_args_t::@567 hsa_system_major_extension_supported
struct rocprofiler_hsa_api_args_t::@513 hsa_signal_wait_relaxed
struct rocprofiler_hsa_api_args_t::@504 hsa_memory_free
struct rocprofiler_hsa_api_args_t::@518 hsa_signal_and_scacq_screl
struct rocprofiler_hsa_api_args_t::@579 hsa_isa_get_info_alt
void(* hsa_amd_queue_intercept_handler)(const void *pkts, uint64_t pkt_count, uint64_t user_pkt_index, void *data, hsa_amd_queue_intercept_packet_writer writer)
Definition api_args.h:60
struct rocprofiler_hsa_api_args_t::@482 hsa_queue_load_read_index_relaxed
struct rocprofiler_hsa_api_args_t::@588 hsa_executable_create_alt
struct rocprofiler_hsa_api_args_t::@622 hsa_amd_image_create
struct rocprofiler_hsa_api_args_t::@599 hsa_amd_profiling_get_dispatch_time
struct rocprofiler_hsa_api_args_t::@544 hsa_isa_get_info
struct rocprofiler_hsa_api_args_t::@615 hsa_amd_memory_pool_can_migrate
hsa_status_t hsa_status_t_retval
Definition api_args.h:49
struct rocprofiler_hsa_api_args_t::@621 hsa_amd_interop_unmap_buffer
struct rocprofiler_hsa_api_args_t::@481 hsa_queue_load_read_index_scacquire
struct rocprofiler_hsa_api_args_t::@624 hsa_amd_pointer_info_set_userdata
struct rocprofiler_hsa_api_args_t::@556 hsa_executable_freeze
struct rocprofiler_hsa_api_args_t::@547 hsa_code_object_deserialize
struct rocprofiler_hsa_api_args_t::@649 hsa_amd_portable_close_dmabuf
struct rocprofiler_hsa_api_args_t::@553 hsa_executable_create
struct rocprofiler_hsa_api_args_t::@562 hsa_executable_get_symbol
struct rocprofiler_hsa_api_args_t::@646 hsa_amd_spm_set_dest_buffer
struct rocprofiler_hsa_api_args_t::@571 hsa_agent_iterate_caches
struct rocprofiler_hsa_api_args_t::@595 hsa_amd_coherency_get_type
struct rocprofiler_hsa_api_args_t::@642 hsa_amd_svm_attributes_get
struct rocprofiler_hsa_api_args_t::@473 hsa_system_extension_supported
struct rocprofiler_hsa_api_args_t::@514 hsa_signal_wait_scacquire
struct rocprofiler_hsa_api_args_t::@641 hsa_amd_svm_attributes_set
struct rocprofiler_hsa_api_args_t::@637 hsa_amd_memory_lock_to_pool
struct rocprofiler_hsa_api_args_t::@520 hsa_signal_or_scacquire
struct rocprofiler_hsa_api_args_t::@577 hsa_signal_group_wait_any_relaxed
struct rocprofiler_hsa_api_args_t::@647 hsa_amd_queue_cu_get_mask
struct rocprofiler_hsa_api_args_t::@484 hsa_queue_load_write_index_relaxed
struct rocprofiler_hsa_api_args_t::@480 hsa_queue_inactivate
struct rocprofiler_hsa_api_args_t::@530 hsa_signal_exchange_scacq_screl
struct rocprofiler_hsa_api_args_t::@515 hsa_signal_and_relaxed
struct rocprofiler_hsa_api_args_t::@499 hsa_agent_get_exception_policies
struct rocprofiler_hsa_api_args_t::@546 hsa_code_object_serialize
struct rocprofiler_hsa_api_args_t::@497 hsa_agent_iterate_regions
struct rocprofiler_hsa_api_args_t::@620 hsa_amd_interop_map_buffer
struct rocprofiler_hsa_api_args_t::@580 hsa_isa_get_exception_policies
struct rocprofiler_hsa_api_args_t::@653 hsa_ext_image_import
struct rocprofiler_hsa_api_args_t::@550 hsa_code_object_get_symbol
struct rocprofiler_hsa_api_args_t::@585 hsa_code_object_reader_create_from_file
struct rocprofiler_hsa_api_args_t::@648 hsa_amd_portable_export_dmabuf
struct rocprofiler_hsa_api_args_t::@537 hsa_signal_subtract_screlease
struct rocprofiler_hsa_api_args_t::@560 hsa_executable_readonly_variable_define
struct rocprofiler_hsa_api_args_t::@617 hsa_amd_memory_lock
struct rocprofiler_hsa_api_args_t::@488 hsa_queue_cas_write_index_scacquire
struct rocprofiler_hsa_api_args_t::@626 hsa_amd_ipc_memory_attach
struct rocprofiler_hsa_api_args_t::@549 hsa_code_object_get_info
struct rocprofiler_hsa_api_args_t::@512 hsa_signal_store_screlease
struct rocprofiler_hsa_api_args_t::@574 hsa_signal_group_create
struct rocprofiler_hsa_api_args_t::@578 hsa_agent_iterate_isas
struct rocprofiler_hsa_api_args_t::@576 hsa_signal_group_wait_any_scacquire