@@ -1071,6 +1071,8 @@ urPlatformGetApiVersion(
10711071/// + `NULL == hPlatform`
10721072/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
10731073/// + `NULL == phNativePlatform`
1074+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
1075+ /// + If the adapter has no underlying equivalent handle.
10741076UR_APIEXPORT ur_result_t UR_APICALL
10751077urPlatformGetNativeHandle(
10761078 ur_platform_handle_t hPlatform, ///< [in] handle of the platform.
@@ -1105,6 +1107,8 @@ typedef struct ur_platform_native_properties_t {
11051107/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
11061108/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
11071109/// + `NULL == phPlatform`
1110+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
1111+ /// + If the adapter has no underlying equivalent handle.
11081112UR_APIEXPORT ur_result_t UR_APICALL
11091113urPlatformCreateWithNativeHandle(
11101114 ur_native_handle_t hNativePlatform, ///< [in][nocheck] the native handle of the platform.
@@ -1822,6 +1826,8 @@ typedef enum ur_device_exec_capability_flag_t {
18221826/// + `NULL == hDevice`
18231827/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
18241828/// + `NULL == phNativeDevice`
1829+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
1830+ /// + If the adapter has no underlying equivalent handle.
18251831UR_APIEXPORT ur_result_t UR_APICALL
18261832urDeviceGetNativeHandle(
18271833 ur_device_handle_t hDevice, ///< [in] handle of the device.
@@ -1858,6 +1864,8 @@ typedef struct ur_device_native_properties_t {
18581864/// + `NULL == hPlatform`
18591865/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
18601866/// + `NULL == phDevice`
1867+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
1868+ /// + If the adapter has no underlying equivalent handle.
18611869UR_APIEXPORT ur_result_t UR_APICALL
18621870urDeviceCreateWithNativeHandle(
18631871 ur_native_handle_t hNativeDevice, ///< [in][nocheck] the native handle of the device.
@@ -2157,6 +2165,8 @@ urContextGetInfo(
21572165/// + `NULL == hContext`
21582166/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
21592167/// + `NULL == phNativeContext`
2168+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
2169+ /// + If the adapter has no underlying equivalent handle.
21602170UR_APIEXPORT ur_result_t UR_APICALL
21612171urContextGetNativeHandle(
21622172 ur_context_handle_t hContext, ///< [in] handle of the context.
@@ -2192,6 +2202,8 @@ typedef struct ur_context_native_properties_t {
21922202/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
21932203/// + `NULL == phDevices`
21942204/// + `NULL == phContext`
2205+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
2206+ /// + If the adapter has no underlying equivalent handle.
21952207UR_APIEXPORT ur_result_t UR_APICALL
21962208urContextCreateWithNativeHandle(
21972209 ur_native_handle_t hNativeContext, ///< [in][nocheck] the native handle of the context.
@@ -2633,6 +2645,8 @@ urMemBufferPartition(
26332645/// + `NULL == hMem`
26342646/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
26352647/// + `NULL == phNativeMem`
2648+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
2649+ /// + If the adapter has no underlying equivalent handle.
26362650UR_APIEXPORT ur_result_t UR_APICALL
26372651urMemGetNativeHandle(
26382652 ur_mem_handle_t hMem, ///< [in] handle of the mem.
@@ -2668,6 +2682,8 @@ typedef struct ur_mem_native_properties_t {
26682682/// + `NULL == hContext`
26692683/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
26702684/// + `NULL == phMem`
2685+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
2686+ /// + If the adapter has no underlying equivalent handle.
26712687UR_APIEXPORT ur_result_t UR_APICALL
26722688urMemBufferCreateWithNativeHandle(
26732689 ur_native_handle_t hNativeMem, ///< [in][nocheck] the native handle to the memory.
@@ -2695,6 +2711,8 @@ urMemBufferCreateWithNativeHandle(
26952711/// + `NULL == pImageFormat`
26962712/// + `NULL == pImageDesc`
26972713/// + `NULL == phMem`
2714+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
2715+ /// + If the adapter has no underlying equivalent handle.
26982716UR_APIEXPORT ur_result_t UR_APICALL
26992717urMemImageCreateWithNativeHandle(
27002718 ur_native_handle_t hNativeMem, ///< [in][nocheck] the native handle to the memory.
@@ -2993,6 +3011,8 @@ urSamplerGetInfo(
29933011/// + `NULL == hSampler`
29943012/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
29953013/// + `NULL == phNativeSampler`
3014+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
3015+ /// + If the adapter has no underlying equivalent handle.
29963016UR_APIEXPORT ur_result_t UR_APICALL
29973017urSamplerGetNativeHandle(
29983018 ur_sampler_handle_t hSampler, ///< [in] handle of the sampler.
@@ -3029,6 +3049,8 @@ typedef struct ur_sampler_native_properties_t {
30293049/// + `NULL == hContext`
30303050/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
30313051/// + `NULL == phSampler`
3052+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
3053+ /// + If the adapter has no underlying equivalent handle.
30323054UR_APIEXPORT ur_result_t UR_APICALL
30333055urSamplerCreateWithNativeHandle(
30343056 ur_native_handle_t hNativeSampler, ///< [in][nocheck] the native handle of the sampler.
@@ -4325,6 +4347,8 @@ urProgramSetSpecializationConstants(
43254347/// + `NULL == hProgram`
43264348/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
43274349/// + `NULL == phNativeProgram`
4350+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
4351+ /// + If the adapter has no underlying equivalent handle.
43284352UR_APIEXPORT ur_result_t UR_APICALL
43294353urProgramGetNativeHandle(
43304354 ur_program_handle_t hProgram, ///< [in] handle of the program.
@@ -4361,6 +4385,8 @@ typedef struct ur_program_native_properties_t {
43614385/// + `NULL == hContext`
43624386/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
43634387/// + `NULL == phProgram`
4388+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
4389+ /// + If the adapter has no underlying equivalent handle.
43644390UR_APIEXPORT ur_result_t UR_APICALL
43654391urProgramCreateWithNativeHandle(
43664392 ur_native_handle_t hNativeProgram, ///< [in][nocheck] the native handle of the program.
@@ -4904,6 +4930,8 @@ urKernelSetSpecializationConstants(
49044930/// + `NULL == hKernel`
49054931/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
49064932/// + `NULL == phNativeKernel`
4933+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
4934+ /// + If the adapter has no underlying equivalent handle.
49074935UR_APIEXPORT ur_result_t UR_APICALL
49084936urKernelGetNativeHandle(
49094937 ur_kernel_handle_t hKernel, ///< [in] handle of the kernel.
@@ -4941,6 +4969,8 @@ typedef struct ur_kernel_native_properties_t {
49414969/// + `NULL == hProgram`
49424970/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
49434971/// + `NULL == phKernel`
4972+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
4973+ /// + If the adapter has no underlying equivalent handle.
49444974UR_APIEXPORT ur_result_t UR_APICALL
49454975urKernelCreateWithNativeHandle(
49464976 ur_native_handle_t hNativeKernel, ///< [in][nocheck] the native handle of the kernel.
@@ -5195,6 +5225,8 @@ typedef struct ur_queue_native_desc_t {
51955225/// + `NULL == hQueue`
51965226/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
51975227/// + `NULL == phNativeQueue`
5228+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
5229+ /// + If the adapter has no underlying equivalent handle.
51985230UR_APIEXPORT ur_result_t UR_APICALL
51995231urQueueGetNativeHandle(
52005232 ur_queue_handle_t hQueue, ///< [in] handle of the queue.
@@ -5233,6 +5265,8 @@ typedef struct ur_queue_native_properties_t {
52335265/// + `NULL == hDevice`
52345266/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
52355267/// + `NULL == phQueue`
5268+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
5269+ /// + If the adapter has no underlying equivalent handle.
52365270UR_APIEXPORT ur_result_t UR_APICALL
52375271urQueueCreateWithNativeHandle(
52385272 ur_native_handle_t hNativeQueue, ///< [in][nocheck] the native handle of the queue.
@@ -5557,6 +5591,8 @@ urEventRelease(
55575591/// + `NULL == hEvent`
55585592/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
55595593/// + `NULL == phNativeEvent`
5594+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
5595+ /// + If the adapter has no underlying equivalent handle.
55605596UR_APIEXPORT ur_result_t UR_APICALL
55615597urEventGetNativeHandle(
55625598 ur_event_handle_t hEvent, ///< [in] handle of the event.
@@ -5593,6 +5629,8 @@ typedef struct ur_event_native_properties_t {
55935629/// + `NULL == hContext`
55945630/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
55955631/// + `NULL == phEvent`
5632+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
5633+ /// + If the adapter has no underlying equivalent handle.
55965634UR_APIEXPORT ur_result_t UR_APICALL
55975635urEventCreateWithNativeHandle(
55985636 ur_native_handle_t hNativeEvent, ///< [in][nocheck] the native handle of the event.
0 commit comments