@@ -2062,15 +2062,15 @@ typedef struct ur_device_native_properties_t {
20622062/// - ::UR_RESULT_ERROR_DEVICE_LOST
20632063/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
20642064/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
2065- /// + `NULL == hPlatform `
2065+ /// + `NULL == hAdapter `
20662066/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
20672067/// + `NULL == phDevice`
20682068/// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
20692069/// + If the adapter has no underlying equivalent handle.
20702070UR_APIEXPORT ur_result_t UR_APICALL
20712071urDeviceCreateWithNativeHandle(
20722072 ur_native_handle_t hNativeDevice, ///< [in][nocheck] the native handle of the device.
2073- ur_platform_handle_t hPlatform , ///< [in] handle of the platform instance
2073+ ur_adapter_handle_t hAdapter , ///< [in] handle of the adapter to which `hNativeDevice` belongs
20742074 const ur_device_native_properties_t *pProperties, ///< [in][optional] pointer to native device properties struct.
20752075 ur_device_handle_t *phDevice ///< [out] pointer to the handle of the device object created.
20762076);
@@ -4785,6 +4785,7 @@ urKernelSetArgValue(
47854785 size_t argSize, ///< [in] size of argument type
47864786 const ur_kernel_arg_value_properties_t *pProperties, ///< [in][optional] pointer to value properties.
47874787 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.
47884789);
47894790
47904791///////////////////////////////////////////////////////////////////////////////
@@ -11972,7 +11973,7 @@ typedef struct ur_device_get_native_handle_params_t {
1197211973/// allowing the callback the ability to modify the parameter's value
1197311974typedef struct ur_device_create_with_native_handle_params_t {
1197411975 ur_native_handle_t *phNativeDevice;
11975- ur_platform_handle_t *phPlatform ;
11976+ ur_adapter_handle_t *phAdapter ;
1197611977 const ur_device_native_properties_t **ppProperties;
1197711978 ur_device_handle_t **pphDevice;
1197811979} ur_device_create_with_native_handle_params_t;
0 commit comments