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 @@ -3865,6 +3865,7 @@ __urdlllocal ur_result_t UR_APICALL urKernelSetArgValue(
3865
3865
*pProperties, // /< [in][optional] pointer to value properties.
3866
3866
const void
3867
3867
*pArgValue // /< [in] argument value represented as matching arg type.
3868
+ // /< The data pointed to will be copied and therefore can be reused on return.
3868
3869
) try {
3869
3870
ur_result_t result = UR_RESULT_SUCCESS;
3870
3871
Original file line number Diff line number Diff line change @@ -2944,6 +2944,7 @@ __urdlllocal ur_result_t UR_APICALL urKernelSetArgValue(
2944
2944
*pProperties, // /< [in][optional] pointer to value properties.
2945
2945
const void
2946
2946
*pArgValue // /< [in] argument value represented as matching arg type.
2947
+ // /< The data pointed to will be copied and therefore can be reused on return.
2947
2948
) {
2948
2949
auto pfnSetArgValue = getContext ()->urDdiTable .Kernel .pfnSetArgValue ;
2949
2950
Original file line number Diff line number Diff line change @@ -3356,6 +3356,7 @@ __urdlllocal ur_result_t UR_APICALL urKernelSetArgValue(
3356
3356
*pProperties, // /< [in][optional] pointer to value properties.
3357
3357
const void
3358
3358
*pArgValue // /< [in] argument value represented as matching arg type.
3359
+ // /< The data pointed to will be copied and therefore can be reused on return.
3359
3360
) {
3360
3361
auto pfnSetArgValue = getContext ()->urDdiTable .Kernel .pfnSetArgValue ;
3361
3362
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 @@ -3647,6 +3647,7 @@ ur_result_t UR_APICALL urKernelSetArgValue(
3647
3647
*pProperties, // /< [in][optional] pointer to value properties.
3648
3648
const void
3649
3649
*pArgValue // /< [in] argument value represented as matching arg type.
3650
+ // /< The data pointed to will be copied and therefore can be reused on return.
3650
3651
) try {
3651
3652
auto pfnSetArgValue =
3652
3653
ur_lib::getContext ()->urDdiTable .Kernel .pfnSetArgValue ;
Original file line number Diff line number Diff line change @@ -3114,6 +3114,7 @@ ur_result_t UR_APICALL urKernelSetArgValue(
3114
3114
*pProperties, // /< [in][optional] pointer to value properties.
3115
3115
const void
3116
3116
*pArgValue // /< [in] argument value represented as matching arg type.
3117
+ // /< The data pointed to will be copied and therefore can be reused on return.
3117
3118
) {
3118
3119
ur_result_t result = UR_RESULT_SUCCESS;
3119
3120
return result;
You can’t perform that action at this time.
0 commit comments