@@ -1071,6 +1071,8 @@ urPlatformGetApiVersion(
1071
1071
/// + `NULL == hPlatform`
1072
1072
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
1073
1073
/// + `NULL == phNativePlatform`
1074
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
1075
+ /// + If the adapter has no underlying equivalent handle.
1074
1076
UR_APIEXPORT ur_result_t UR_APICALL
1075
1077
urPlatformGetNativeHandle(
1076
1078
ur_platform_handle_t hPlatform, ///< [in] handle of the platform.
@@ -1105,6 +1107,8 @@ typedef struct ur_platform_native_properties_t {
1105
1107
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
1106
1108
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
1107
1109
/// + `NULL == phPlatform`
1110
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
1111
+ /// + If the adapter has no underlying equivalent handle.
1108
1112
UR_APIEXPORT ur_result_t UR_APICALL
1109
1113
urPlatformCreateWithNativeHandle(
1110
1114
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 {
1822
1826
/// + `NULL == hDevice`
1823
1827
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
1824
1828
/// + `NULL == phNativeDevice`
1829
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
1830
+ /// + If the adapter has no underlying equivalent handle.
1825
1831
UR_APIEXPORT ur_result_t UR_APICALL
1826
1832
urDeviceGetNativeHandle(
1827
1833
ur_device_handle_t hDevice, ///< [in] handle of the device.
@@ -1858,6 +1864,8 @@ typedef struct ur_device_native_properties_t {
1858
1864
/// + `NULL == hPlatform`
1859
1865
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
1860
1866
/// + `NULL == phDevice`
1867
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
1868
+ /// + If the adapter has no underlying equivalent handle.
1861
1869
UR_APIEXPORT ur_result_t UR_APICALL
1862
1870
urDeviceCreateWithNativeHandle(
1863
1871
ur_native_handle_t hNativeDevice, ///< [in][nocheck] the native handle of the device.
@@ -2157,6 +2165,8 @@ urContextGetInfo(
2157
2165
/// + `NULL == hContext`
2158
2166
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
2159
2167
/// + `NULL == phNativeContext`
2168
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
2169
+ /// + If the adapter has no underlying equivalent handle.
2160
2170
UR_APIEXPORT ur_result_t UR_APICALL
2161
2171
urContextGetNativeHandle(
2162
2172
ur_context_handle_t hContext, ///< [in] handle of the context.
@@ -2192,6 +2202,8 @@ typedef struct ur_context_native_properties_t {
2192
2202
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
2193
2203
/// + `NULL == phDevices`
2194
2204
/// + `NULL == phContext`
2205
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
2206
+ /// + If the adapter has no underlying equivalent handle.
2195
2207
UR_APIEXPORT ur_result_t UR_APICALL
2196
2208
urContextCreateWithNativeHandle(
2197
2209
ur_native_handle_t hNativeContext, ///< [in][nocheck] the native handle of the context.
@@ -2633,6 +2645,8 @@ urMemBufferPartition(
2633
2645
/// + `NULL == hMem`
2634
2646
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
2635
2647
/// + `NULL == phNativeMem`
2648
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
2649
+ /// + If the adapter has no underlying equivalent handle.
2636
2650
UR_APIEXPORT ur_result_t UR_APICALL
2637
2651
urMemGetNativeHandle(
2638
2652
ur_mem_handle_t hMem, ///< [in] handle of the mem.
@@ -2668,6 +2682,8 @@ typedef struct ur_mem_native_properties_t {
2668
2682
/// + `NULL == hContext`
2669
2683
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
2670
2684
/// + `NULL == phMem`
2685
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
2686
+ /// + If the adapter has no underlying equivalent handle.
2671
2687
UR_APIEXPORT ur_result_t UR_APICALL
2672
2688
urMemBufferCreateWithNativeHandle(
2673
2689
ur_native_handle_t hNativeMem, ///< [in][nocheck] the native handle to the memory.
@@ -2695,6 +2711,8 @@ urMemBufferCreateWithNativeHandle(
2695
2711
/// + `NULL == pImageFormat`
2696
2712
/// + `NULL == pImageDesc`
2697
2713
/// + `NULL == phMem`
2714
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
2715
+ /// + If the adapter has no underlying equivalent handle.
2698
2716
UR_APIEXPORT ur_result_t UR_APICALL
2699
2717
urMemImageCreateWithNativeHandle(
2700
2718
ur_native_handle_t hNativeMem, ///< [in][nocheck] the native handle to the memory.
@@ -2993,6 +3011,8 @@ urSamplerGetInfo(
2993
3011
/// + `NULL == hSampler`
2994
3012
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
2995
3013
/// + `NULL == phNativeSampler`
3014
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
3015
+ /// + If the adapter has no underlying equivalent handle.
2996
3016
UR_APIEXPORT ur_result_t UR_APICALL
2997
3017
urSamplerGetNativeHandle(
2998
3018
ur_sampler_handle_t hSampler, ///< [in] handle of the sampler.
@@ -3029,6 +3049,8 @@ typedef struct ur_sampler_native_properties_t {
3029
3049
/// + `NULL == hContext`
3030
3050
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
3031
3051
/// + `NULL == phSampler`
3052
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
3053
+ /// + If the adapter has no underlying equivalent handle.
3032
3054
UR_APIEXPORT ur_result_t UR_APICALL
3033
3055
urSamplerCreateWithNativeHandle(
3034
3056
ur_native_handle_t hNativeSampler, ///< [in][nocheck] the native handle of the sampler.
@@ -4325,6 +4347,8 @@ urProgramSetSpecializationConstants(
4325
4347
/// + `NULL == hProgram`
4326
4348
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
4327
4349
/// + `NULL == phNativeProgram`
4350
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
4351
+ /// + If the adapter has no underlying equivalent handle.
4328
4352
UR_APIEXPORT ur_result_t UR_APICALL
4329
4353
urProgramGetNativeHandle(
4330
4354
ur_program_handle_t hProgram, ///< [in] handle of the program.
@@ -4361,6 +4385,8 @@ typedef struct ur_program_native_properties_t {
4361
4385
/// + `NULL == hContext`
4362
4386
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
4363
4387
/// + `NULL == phProgram`
4388
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
4389
+ /// + If the adapter has no underlying equivalent handle.
4364
4390
UR_APIEXPORT ur_result_t UR_APICALL
4365
4391
urProgramCreateWithNativeHandle(
4366
4392
ur_native_handle_t hNativeProgram, ///< [in][nocheck] the native handle of the program.
@@ -4904,6 +4930,8 @@ urKernelSetSpecializationConstants(
4904
4930
/// + `NULL == hKernel`
4905
4931
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
4906
4932
/// + `NULL == phNativeKernel`
4933
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
4934
+ /// + If the adapter has no underlying equivalent handle.
4907
4935
UR_APIEXPORT ur_result_t UR_APICALL
4908
4936
urKernelGetNativeHandle(
4909
4937
ur_kernel_handle_t hKernel, ///< [in] handle of the kernel.
@@ -4941,6 +4969,8 @@ typedef struct ur_kernel_native_properties_t {
4941
4969
/// + `NULL == hProgram`
4942
4970
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
4943
4971
/// + `NULL == phKernel`
4972
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
4973
+ /// + If the adapter has no underlying equivalent handle.
4944
4974
UR_APIEXPORT ur_result_t UR_APICALL
4945
4975
urKernelCreateWithNativeHandle(
4946
4976
ur_native_handle_t hNativeKernel, ///< [in][nocheck] the native handle of the kernel.
@@ -5195,6 +5225,8 @@ typedef struct ur_queue_native_desc_t {
5195
5225
/// + `NULL == hQueue`
5196
5226
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
5197
5227
/// + `NULL == phNativeQueue`
5228
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
5229
+ /// + If the adapter has no underlying equivalent handle.
5198
5230
UR_APIEXPORT ur_result_t UR_APICALL
5199
5231
urQueueGetNativeHandle(
5200
5232
ur_queue_handle_t hQueue, ///< [in] handle of the queue.
@@ -5233,6 +5265,8 @@ typedef struct ur_queue_native_properties_t {
5233
5265
/// + `NULL == hDevice`
5234
5266
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
5235
5267
/// + `NULL == phQueue`
5268
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
5269
+ /// + If the adapter has no underlying equivalent handle.
5236
5270
UR_APIEXPORT ur_result_t UR_APICALL
5237
5271
urQueueCreateWithNativeHandle(
5238
5272
ur_native_handle_t hNativeQueue, ///< [in][nocheck] the native handle of the queue.
@@ -5557,6 +5591,8 @@ urEventRelease(
5557
5591
/// + `NULL == hEvent`
5558
5592
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
5559
5593
/// + `NULL == phNativeEvent`
5594
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
5595
+ /// + If the adapter has no underlying equivalent handle.
5560
5596
UR_APIEXPORT ur_result_t UR_APICALL
5561
5597
urEventGetNativeHandle(
5562
5598
ur_event_handle_t hEvent, ///< [in] handle of the event.
@@ -5593,6 +5629,8 @@ typedef struct ur_event_native_properties_t {
5593
5629
/// + `NULL == hContext`
5594
5630
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
5595
5631
/// + `NULL == phEvent`
5632
+ /// - ::UR_RESULT_ERROR_UNSUPPORTED_FEATURE
5633
+ /// + If the adapter has no underlying equivalent handle.
5596
5634
UR_APIEXPORT ur_result_t UR_APICALL
5597
5635
urEventCreateWithNativeHandle(
5598
5636
ur_native_handle_t hNativeEvent, ///< [in][nocheck] the native handle of the event.
0 commit comments