File tree Expand file tree Collapse file tree 8 files changed +10
-1
lines changed Expand file tree Collapse file tree 8 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -4785,6 +4785,7 @@ urKernelSetArgValue(
4785
4785
size_t argSize, ///< [in] size of argument type
4786
4786
const ur_kernel_arg_value_properties_t *pProperties, ///< [in][optional] pointer to value properties.
4787
4787
const void *pArgValue ///< [in] argument value represented as matching arg type.
4788
+ ///< The data pointed to will be copied and therefore can be reused on return.
4788
4789
);
4789
4790
4790
4791
///////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change @@ -64,7 +64,9 @@ params:
64
64
desc : " [in][optional] pointer to value properties."
65
65
- type : " const void*"
66
66
name : pArgValue
67
- desc : " [in] argument value represented as matching arg type."
67
+ desc : |
68
+ [in] argument value represented as matching arg type.
69
+ The data pointed to will be copied and therefore can be reused on return.
68
70
returns :
69
71
- $X_RESULT_ERROR_INVALID_KERNEL_ARGUMENT_INDEX
70
72
- $X_RESULT_ERROR_INVALID_KERNEL_ARGUMENT_SIZE
Original file line number Diff line number Diff line change @@ -3864,6 +3864,7 @@ __urdlllocal ur_result_t UR_APICALL urKernelSetArgValue(
3864
3864
*pProperties, // /< [in][optional] pointer to value properties.
3865
3865
const void
3866
3866
*pArgValue // /< [in] argument value represented as matching arg type.
3867
+ // /< The data pointed to will be copied and therefore can be reused on return.
3867
3868
) try {
3868
3869
ur_result_t result = UR_RESULT_SUCCESS;
3869
3870
Original file line number Diff line number Diff line change @@ -2943,6 +2943,7 @@ __urdlllocal ur_result_t UR_APICALL urKernelSetArgValue(
2943
2943
*pProperties, // /< [in][optional] pointer to value properties.
2944
2944
const void
2945
2945
*pArgValue // /< [in] argument value represented as matching arg type.
2946
+ // /< The data pointed to will be copied and therefore can be reused on return.
2946
2947
) {
2947
2948
auto pfnSetArgValue = getContext ()->urDdiTable .Kernel .pfnSetArgValue ;
2948
2949
Original file line number Diff line number Diff line change @@ -3350,6 +3350,7 @@ __urdlllocal ur_result_t UR_APICALL urKernelSetArgValue(
3350
3350
*pProperties, // /< [in][optional] pointer to value properties.
3351
3351
const void
3352
3352
*pArgValue // /< [in] argument value represented as matching arg type.
3353
+ // /< The data pointed to will be copied and therefore can be reused on return.
3353
3354
) {
3354
3355
auto pfnSetArgValue = getContext ()->urDdiTable .Kernel .pfnSetArgValue ;
3355
3356
Original file line number Diff line number Diff line change @@ -3138,6 +3138,7 @@ __urdlllocal ur_result_t UR_APICALL urKernelSetArgValue(
3138
3138
*pProperties, // /< [in][optional] pointer to value properties.
3139
3139
const void
3140
3140
*pArgValue // /< [in] argument value represented as matching arg type.
3141
+ // /< The data pointed to will be copied and therefore can be reused on return.
3141
3142
) {
3142
3143
ur_result_t result = UR_RESULT_SUCCESS;
3143
3144
Original file line number Diff line number Diff line change @@ -3646,6 +3646,7 @@ ur_result_t UR_APICALL urKernelSetArgValue(
3646
3646
*pProperties, // /< [in][optional] pointer to value properties.
3647
3647
const void
3648
3648
*pArgValue // /< [in] argument value represented as matching arg type.
3649
+ // /< The data pointed to will be copied and therefore can be reused on return.
3649
3650
) try {
3650
3651
auto pfnSetArgValue =
3651
3652
ur_lib::getContext ()->urDdiTable .Kernel .pfnSetArgValue ;
Original file line number Diff line number Diff line change @@ -3113,6 +3113,7 @@ ur_result_t UR_APICALL urKernelSetArgValue(
3113
3113
*pProperties, // /< [in][optional] pointer to value properties.
3114
3114
const void
3115
3115
*pArgValue // /< [in] argument value represented as matching arg type.
3116
+ // /< The data pointed to will be copied and therefore can be reused on return.
3116
3117
) {
3117
3118
ur_result_t result = UR_RESULT_SUCCESS;
3118
3119
return result;
You can’t perform that action at this time.
0 commit comments