@@ -788,20 +788,20 @@ pi_result piKernelRelease(pi_kernel kernel);
788
788
// / Sets up pointer arguments for CL kernels. An extra indirection
789
789
// / is required due to CL argument conventions.
790
790
// /
791
- // / @ param kernel is the kernel to be launched
792
- // / @ param arg_index is the index of the kernel argument
793
- // / @ param arg_size is the size in bytes of the argument (ignored in CL)
794
- // / @ param arg_value is the pointer argument
791
+ // / \ param kernel is the kernel to be launched
792
+ // / \ param arg_index is the index of the kernel argument
793
+ // / \ param arg_size is the size in bytes of the argument (ignored in CL)
794
+ // / \ param arg_value is the pointer argument
795
795
pi_result piextKernelSetArgPointer (pi_kernel kernel, pi_uint32 arg_index,
796
796
size_t arg_size, const void *arg_value);
797
797
798
798
// / API to set attributes controlling kernel execution
799
799
// /
800
- // / @ param kernel is the pi kernel to execute
801
- // / @ param param_name is a pi_kernel_exec_info value that specifies the info
800
+ // / \ param kernel is the pi kernel to execute
801
+ // / \ param param_name is a pi_kernel_exec_info value that specifies the info
802
802
// / passed to the kernel
803
- // / @ param param_value_size is the size of the value in bytes
804
- // / @ param param_value is a pointer to the value to set for the kernel
803
+ // / \ param param_value_size is the size of the value in bytes
804
+ // / \ param param_value is a pointer to the value to set for the kernel
805
805
// /
806
806
// / If param_name is PI_USM_INDIRECT_ACCESS, the value will be a ptr to
807
807
// / the pi_bool value PI_TRUE
@@ -1025,73 +1025,73 @@ typedef _pi_usm_migration_flags pi_usm_migration_flags;
1025
1025
1026
1026
// / Allocates host memory accessible by the device.
1027
1027
// /
1028
- // / @ param result_ptr contains the allocated memory
1029
- // / @ param context is the pi_context
1030
- // / @ param pi_usm_mem_properties are optional allocation properties
1031
- // / @ param size_t is the size of the allocation
1032
- // / @ param alignment is the desired alignment of the allocation
1028
+ // / \ param result_ptr contains the allocated memory
1029
+ // / \ param context is the pi_context
1030
+ // / \ param pi_usm_mem_properties are optional allocation properties
1031
+ // / \ param size_t is the size of the allocation
1032
+ // / \ param alignment is the desired alignment of the allocation
1033
1033
pi_result piextUSMHostAlloc (void **result_ptr, pi_context context,
1034
1034
pi_usm_mem_properties *properties, size_t size,
1035
1035
pi_uint32 alignment);
1036
1036
1037
1037
// / Allocates device memory
1038
1038
// /
1039
- // / @ param result_ptr contains the allocated memory
1040
- // / @ param context is the pi_context
1041
- // / @ param device is the device the memory will be allocated on
1042
- // / @ param pi_usm_mem_properties are optional allocation properties
1043
- // / @ param size_t is the size of the allocation
1044
- // / @ param alignment is the desired alignment of the allocation
1039
+ // / \ param result_ptr contains the allocated memory
1040
+ // / \ param context is the pi_context
1041
+ // / \ param device is the device the memory will be allocated on
1042
+ // / \ param pi_usm_mem_properties are optional allocation properties
1043
+ // / \ param size_t is the size of the allocation
1044
+ // / \ param alignment is the desired alignment of the allocation
1045
1045
pi_result piextUSMDeviceAlloc (void **result_ptr, pi_context context,
1046
1046
pi_device device,
1047
1047
pi_usm_mem_properties *properties, size_t size,
1048
1048
pi_uint32 alignment);
1049
1049
1050
1050
// / Allocates memory accessible on both host and device
1051
1051
// /
1052
- // / @ param result_ptr contains the allocated memory
1053
- // / @ param context is the pi_context
1054
- // / @ param device is the device the memory will be allocated on
1055
- // / @ param pi_usm_mem_properties are optional allocation properties
1056
- // / @ param size_t is the size of the allocation
1057
- // / @ param alignment is the desired alignment of the allocation
1052
+ // / \ param result_ptr contains the allocated memory
1053
+ // / \ param context is the pi_context
1054
+ // / \ param device is the device the memory will be allocated on
1055
+ // / \ param pi_usm_mem_properties are optional allocation properties
1056
+ // / \ param size_t is the size of the allocation
1057
+ // / \ param alignment is the desired alignment of the allocation
1058
1058
pi_result piextUSMSharedAlloc (void **result_ptr, pi_context context,
1059
1059
pi_device device,
1060
1060
pi_usm_mem_properties *properties, size_t size,
1061
1061
pi_uint32 alignment);
1062
1062
1063
1063
// / Frees allocated USM memory
1064
1064
// /
1065
- // / @ param context is the pi_context of the allocation
1066
- // / @ param ptr is the memory to be freed
1065
+ // / \ param context is the pi_context of the allocation
1066
+ // / \ param ptr is the memory to be freed
1067
1067
pi_result piextUSMFree (pi_context context, void *ptr);
1068
1068
1069
1069
// / USM Memset API
1070
1070
// /
1071
- // / @ param queue is the queue to submit to
1072
- // / @ param ptr is the ptr to memset
1073
- // / @ param value is value to set. It is interpreted as an 8-bit value and the
1071
+ // / \ param queue is the queue to submit to
1072
+ // / \ param ptr is the ptr to memset
1073
+ // / \ param value is value to set. It is interpreted as an 8-bit value and the
1074
1074
// / upper
1075
1075
// / 24 bits are ignored
1076
- // / @ param count is the size in bytes to memset
1077
- // / @ param num_events_in_waitlist is the number of events to wait on
1078
- // / @ param events_waitlist is an array of events to wait on
1079
- // / @ param event is the event that represents this operation
1076
+ // / \ param count is the size in bytes to memset
1077
+ // / \ param num_events_in_waitlist is the number of events to wait on
1078
+ // / \ param events_waitlist is an array of events to wait on
1079
+ // / \ param event is the event that represents this operation
1080
1080
pi_result piextUSMEnqueueMemset (pi_queue queue, void *ptr, pi_int32 value,
1081
1081
size_t count, pi_uint32 num_events_in_waitlist,
1082
1082
const pi_event *events_waitlist,
1083
1083
pi_event *event);
1084
1084
1085
1085
// / USM Memcpy API
1086
1086
// /
1087
- // / @ param queue is the queue to submit to
1088
- // / @ param blocking is whether this operation should block the host
1089
- // / @ param src_ptr is the data to be copied
1090
- // / @ param dst_ptr is the location the data will be copied
1091
- // / @ param size is number of bytes to copy
1092
- // / @ param num_events_in_waitlist is the number of events to wait on
1093
- // / @ param events_waitlist is an array of events to wait on
1094
- // / @ param event is the event that represents this operation
1087
+ // / \ param queue is the queue to submit to
1088
+ // / \ param blocking is whether this operation should block the host
1089
+ // / \ param src_ptr is the data to be copied
1090
+ // / \ param dst_ptr is the location the data will be copied
1091
+ // / \ param size is number of bytes to copy
1092
+ // / \ param num_events_in_waitlist is the number of events to wait on
1093
+ // / \ param events_waitlist is an array of events to wait on
1094
+ // / \ param event is the event that represents this operation
1095
1095
pi_result piextUSMEnqueueMemcpy (pi_queue queue, pi_bool blocking, void *dst_ptr,
1096
1096
const void *src_ptr, size_t size,
1097
1097
pi_uint32 num_events_in_waitlist,
@@ -1100,13 +1100,13 @@ pi_result piextUSMEnqueueMemcpy(pi_queue queue, pi_bool blocking, void *dst_ptr,
1100
1100
1101
1101
// / Hint to migrate memory to the device
1102
1102
// /
1103
- // / @ param queue is the queue to submit to
1104
- // / @ param ptr points to the memory to migrate
1105
- // / @ param size is the number of bytes to migrate
1106
- // / @ param flags is a bitfield used to specify memory migration options
1107
- // / @ param num_events_in_waitlist is the number of events to wait on
1108
- // / @ param events_waitlist is an array of events to wait on
1109
- // / @ param event is the event that represents this operation
1103
+ // / \ param queue is the queue to submit to
1104
+ // / \ param ptr points to the memory to migrate
1105
+ // / \ param size is the number of bytes to migrate
1106
+ // / \ param flags is a bitfield used to specify memory migration options
1107
+ // / \ param num_events_in_waitlist is the number of events to wait on
1108
+ // / \ param events_waitlist is an array of events to wait on
1109
+ // / \ param event is the event that represents this operation
1110
1110
pi_result piextUSMEnqueuePrefetch (pi_queue queue, const void *ptr, size_t size,
1111
1111
pi_usm_migration_flags flags,
1112
1112
pi_uint32 num_events_in_waitlist,
@@ -1115,11 +1115,11 @@ pi_result piextUSMEnqueuePrefetch(pi_queue queue, const void *ptr, size_t size,
1115
1115
1116
1116
// / USM Memadvise API
1117
1117
// /
1118
- // / @ param queue is the queue to submit to
1119
- // / @ param ptr is the data to be advised
1120
- // / @ param length is the size in bytes of the memory to advise
1121
- // / @ param advice is device specific advice
1122
- // / @ param event is the event that represents this operation
1118
+ // / \ param queue is the queue to submit to
1119
+ // / \ param ptr is the data to be advised
1120
+ // / \ param length is the size in bytes of the memory to advise
1121
+ // / \ param advice is device specific advice
1122
+ // / \ param event is the event that represents this operation
1123
1123
// USM memadvise API to govern behavior of automatic migration mechanisms
1124
1124
pi_result piextUSMEnqueueMemAdvise (pi_queue queue, const void *ptr,
1125
1125
size_t length, int advice, pi_event *event);
@@ -1134,12 +1134,12 @@ pi_result piextUSMEnqueueMemAdvise(pi_queue queue, const void *ptr,
1134
1134
// / allocation is in bytes. Result is a size_t.
1135
1135
// / PI_MEM_ALLOC_DEVICE returns the pi_device this was allocated against
1136
1136
// /
1137
- // / @ param context is the pi_context
1138
- // / @ param ptr is the pointer to query
1139
- // / @ param param_name is the type of query to perform
1140
- // / @ param param_value_size is the size of the result in bytes
1141
- // / @ param param_value is the result
1142
- // / @ param param_value_ret is how many bytes were written
1137
+ // / \ param context is the pi_context
1138
+ // / \ param ptr is the pointer to query
1139
+ // / \ param param_name is the type of query to perform
1140
+ // / \ param param_value_size is the size of the result in bytes
1141
+ // / \ param param_value is the result
1142
+ // / \ param param_value_ret is how many bytes were written
1143
1143
pi_result piextUSMGetMemAllocInfo (pi_context context, const void *ptr,
1144
1144
pi_mem_info param_name,
1145
1145
size_t param_value_size, void *param_value,
0 commit comments