@@ -1147,7 +1147,7 @@ __SYCL_EXPORT pi_result piclProgramCreateWithSource(pi_context context,
1147
1147
// / succesfully or not, for each device in device_list.
1148
1148
// / binary_status is ignored if it is null and otherwise
1149
1149
// / it must be an array of num_devices elements.
1150
- // / \param program is the PI program created from the program binaries.
1150
+ // / \param ret_program is the PI program created from the program binaries.
1151
1151
__SYCL_EXPORT pi_result piProgramCreateWithBinary (
1152
1152
pi_context context, pi_uint32 num_devices, const pi_device *device_list,
1153
1153
const size_t *lengths, const unsigned char **binaries,
@@ -1565,8 +1565,8 @@ using pi_usm_migration_flags = _pi_usm_migration_flags;
1565
1565
// /
1566
1566
// / \param result_ptr contains the allocated memory
1567
1567
// / \param context is the pi_context
1568
- // / \param pi_usm_mem_properties are optional allocation properties
1569
- // / \param size_t is the size of the allocation
1568
+ // / \param properties are optional allocation properties
1569
+ // / \param size is the size of the allocation
1570
1570
// / \param alignment is the desired alignment of the allocation
1571
1571
__SYCL_EXPORT pi_result piextUSMHostAlloc (void **result_ptr, pi_context context,
1572
1572
pi_usm_mem_properties *properties,
@@ -1577,8 +1577,8 @@ __SYCL_EXPORT pi_result piextUSMHostAlloc(void **result_ptr, pi_context context,
1577
1577
// / \param result_ptr contains the allocated memory
1578
1578
// / \param context is the pi_context
1579
1579
// / \param device is the device the memory will be allocated on
1580
- // / \param pi_usm_mem_properties are optional allocation properties
1581
- // / \param size_t is the size of the allocation
1580
+ // / \param properties are optional allocation properties
1581
+ // / \param size is the size of the allocation
1582
1582
// / \param alignment is the desired alignment of the allocation
1583
1583
__SYCL_EXPORT pi_result piextUSMDeviceAlloc (void **result_ptr,
1584
1584
pi_context context,
@@ -1591,8 +1591,8 @@ __SYCL_EXPORT pi_result piextUSMDeviceAlloc(void **result_ptr,
1591
1591
// / \param result_ptr contains the allocated memory
1592
1592
// / \param context is the pi_context
1593
1593
// / \param device is the device the memory will be allocated on
1594
- // / \param pi_usm_mem_properties are optional allocation properties
1595
- // / \param size_t is the size of the allocation
1594
+ // / \param properties are optional allocation properties
1595
+ // / \param size is the size of the allocation
1596
1596
// / \param alignment is the desired alignment of the allocation
1597
1597
__SYCL_EXPORT pi_result piextUSMSharedAlloc (void **result_ptr,
1598
1598
pi_context context,
@@ -1682,7 +1682,7 @@ __SYCL_EXPORT pi_result piextUSMEnqueueMemAdvise(pi_queue queue,
1682
1682
// / \param param_name is the type of query to perform
1683
1683
// / \param param_value_size is the size of the result in bytes
1684
1684
// / \param param_value is the result
1685
- // / \param param_value_ret is how many bytes were written
1685
+ // / \param param_value_size_ret is how many bytes were written
1686
1686
__SYCL_EXPORT pi_result piextUSMGetMemAllocInfo (
1687
1687
pi_context context, const void *ptr, pi_mem_info param_name,
1688
1688
size_t param_value_size, void *param_value, size_t *param_value_size_ret);
0 commit comments