@@ -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);
@@ -11972,7 +11972,7 @@ typedef struct ur_device_get_native_handle_params_t {
1197211972/// allowing the callback the ability to modify the parameter's value
1197311973typedef struct ur_device_create_with_native_handle_params_t {
1197411974 ur_native_handle_t *phNativeDevice;
11975- ur_platform_handle_t *phPlatform ;
11975+ ur_adapter_handle_t *phAdapter ;
1197611976 const ur_device_native_properties_t **ppProperties;
1197711977 ur_device_handle_t **pphDevice;
1197811978} ur_device_create_with_native_handle_params_t;
0 commit comments