@@ -758,13 +758,11 @@ typedef struct ur_platform_native_properties_t {
758
758
/// - ::UR_RESULT_ERROR_UNINITIALIZED
759
759
/// - ::UR_RESULT_ERROR_DEVICE_LOST
760
760
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
761
- /// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
762
- /// + `NULL == hNativePlatform`
763
761
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
764
762
/// + `NULL == phPlatform`
765
763
UR_APIEXPORT ur_result_t UR_APICALL
766
764
urPlatformCreateWithNativeHandle(
767
- ur_native_handle_t hNativePlatform, ///< [in] the native handle of the platform.
765
+ ur_native_handle_t hNativePlatform, ///< [in][nocheck] the native handle of the platform.
768
766
const ur_platform_native_properties_t *pProperties, ///< [in][optional] pointer to native platform properties struct.
769
767
ur_platform_handle_t *phPlatform ///< [out] pointer to the handle of the platform object created.
770
768
);
@@ -1564,13 +1562,12 @@ typedef struct ur_device_native_properties_t {
1564
1562
/// - ::UR_RESULT_ERROR_DEVICE_LOST
1565
1563
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
1566
1564
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
1567
- /// + `NULL == hNativeDevice`
1568
1565
/// + `NULL == hPlatform`
1569
1566
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
1570
1567
/// + `NULL == phDevice`
1571
1568
UR_APIEXPORT ur_result_t UR_APICALL
1572
1569
urDeviceCreateWithNativeHandle(
1573
- ur_native_handle_t hNativeDevice, ///< [in] the native handle of the device.
1570
+ ur_native_handle_t hNativeDevice, ///< [in][nocheck] the native handle of the device.
1574
1571
ur_platform_handle_t hPlatform, ///< [in] handle of the platform instance
1575
1572
const ur_device_native_properties_t *pProperties, ///< [in][optional] pointer to native device properties struct.
1576
1573
ur_device_handle_t *phDevice ///< [out] pointer to the handle of the device object created.
@@ -1899,14 +1896,12 @@ typedef struct ur_context_native_properties_t {
1899
1896
/// - ::UR_RESULT_ERROR_UNINITIALIZED
1900
1897
/// - ::UR_RESULT_ERROR_DEVICE_LOST
1901
1898
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
1902
- /// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
1903
- /// + `NULL == hNativeContext`
1904
1899
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
1905
1900
/// + `NULL == phDevices`
1906
1901
/// + `NULL == phContext`
1907
1902
UR_APIEXPORT ur_result_t UR_APICALL
1908
1903
urContextCreateWithNativeHandle(
1909
- ur_native_handle_t hNativeContext, ///< [in] the native handle of the context.
1904
+ ur_native_handle_t hNativeContext, ///< [in][nocheck] the native handle of the context.
1910
1905
uint32_t numDevices, ///< [in] number of devices associated with the context
1911
1906
const ur_device_handle_t *phDevices, ///< [in][range(0, numDevices)] list of devices associated with the context
1912
1907
const ur_context_native_properties_t *pProperties, ///< [in][optional] pointer to native context properties struct
@@ -2377,13 +2372,12 @@ typedef struct ur_mem_native_properties_t {
2377
2372
/// - ::UR_RESULT_ERROR_DEVICE_LOST
2378
2373
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
2379
2374
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
2380
- /// + `NULL == hNativeMem`
2381
2375
/// + `NULL == hContext`
2382
2376
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
2383
2377
/// + `NULL == phMem`
2384
2378
UR_APIEXPORT ur_result_t UR_APICALL
2385
2379
urMemBufferCreateWithNativeHandle(
2386
- ur_native_handle_t hNativeMem, ///< [in] the native handle to the memory.
2380
+ ur_native_handle_t hNativeMem, ///< [in][nocheck] the native handle to the memory.
2387
2381
ur_context_handle_t hContext, ///< [in] handle of the context object.
2388
2382
const ur_mem_native_properties_t *pProperties, ///< [in][optional] pointer to native memory creation properties.
2389
2383
ur_mem_handle_t *phMem ///< [out] pointer to handle of buffer memory object created.
@@ -2403,15 +2397,14 @@ urMemBufferCreateWithNativeHandle(
2403
2397
/// - ::UR_RESULT_ERROR_DEVICE_LOST
2404
2398
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
2405
2399
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
2406
- /// + `NULL == hNativeMem`
2407
2400
/// + `NULL == hContext`
2408
2401
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
2409
2402
/// + `NULL == pImageFormat`
2410
2403
/// + `NULL == pImageDesc`
2411
2404
/// + `NULL == phMem`
2412
2405
UR_APIEXPORT ur_result_t UR_APICALL
2413
2406
urMemImageCreateWithNativeHandle(
2414
- ur_native_handle_t hNativeMem, ///< [in] the native handle to the memory.
2407
+ ur_native_handle_t hNativeMem, ///< [in][nocheck] the native handle to the memory.
2415
2408
ur_context_handle_t hContext, ///< [in] handle of the context object.
2416
2409
const ur_image_format_t *pImageFormat, ///< [in] pointer to image format specification.
2417
2410
const ur_image_desc_t *pImageDesc, ///< [in] pointer to image description.
@@ -2740,13 +2733,12 @@ typedef struct ur_sampler_native_properties_t {
2740
2733
/// - ::UR_RESULT_ERROR_DEVICE_LOST
2741
2734
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
2742
2735
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
2743
- /// + `NULL == hNativeSampler`
2744
2736
/// + `NULL == hContext`
2745
2737
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
2746
2738
/// + `NULL == phSampler`
2747
2739
UR_APIEXPORT ur_result_t UR_APICALL
2748
2740
urSamplerCreateWithNativeHandle(
2749
- ur_native_handle_t hNativeSampler, ///< [in] the native handle of the sampler.
2741
+ ur_native_handle_t hNativeSampler, ///< [in][nocheck] the native handle of the sampler.
2750
2742
ur_context_handle_t hContext, ///< [in] handle of the context object
2751
2743
const ur_sampler_native_properties_t *pProperties, ///< [in][optional] pointer to native sampler properties struct.
2752
2744
ur_sampler_handle_t *phSampler ///< [out] pointer to the handle of the sampler object created.
@@ -4073,13 +4065,12 @@ typedef struct ur_program_native_properties_t {
4073
4065
/// - ::UR_RESULT_ERROR_DEVICE_LOST
4074
4066
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
4075
4067
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
4076
- /// + `NULL == hNativeProgram`
4077
4068
/// + `NULL == hContext`
4078
4069
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
4079
4070
/// + `NULL == phProgram`
4080
4071
UR_APIEXPORT ur_result_t UR_APICALL
4081
4072
urProgramCreateWithNativeHandle(
4082
- ur_native_handle_t hNativeProgram, ///< [in] the native handle of the program.
4073
+ ur_native_handle_t hNativeProgram, ///< [in][nocheck] the native handle of the program.
4083
4074
ur_context_handle_t hContext, ///< [in] handle of the context instance
4084
4075
const ur_program_native_properties_t *pProperties, ///< [in][optional] pointer to native program properties struct.
4085
4076
ur_program_handle_t *phProgram ///< [out] pointer to the handle of the program object created.
@@ -4653,14 +4644,13 @@ typedef struct ur_kernel_native_properties_t {
4653
4644
/// - ::UR_RESULT_ERROR_DEVICE_LOST
4654
4645
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
4655
4646
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
4656
- /// + `NULL == hNativeKernel`
4657
4647
/// + `NULL == hContext`
4658
4648
/// + `NULL == hProgram`
4659
4649
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
4660
4650
/// + `NULL == phKernel`
4661
4651
UR_APIEXPORT ur_result_t UR_APICALL
4662
4652
urKernelCreateWithNativeHandle(
4663
- ur_native_handle_t hNativeKernel, ///< [in] the native handle of the kernel.
4653
+ ur_native_handle_t hNativeKernel, ///< [in][nocheck] the native handle of the kernel.
4664
4654
ur_context_handle_t hContext, ///< [in] handle of the context object
4665
4655
ur_program_handle_t hProgram, ///< [in] handle of the program associated with the kernel
4666
4656
const ur_kernel_native_properties_t *pProperties, ///< [in][optional] pointer to native kernel properties struct
@@ -4946,14 +4936,13 @@ typedef struct ur_queue_native_properties_t {
4946
4936
/// - ::UR_RESULT_ERROR_DEVICE_LOST
4947
4937
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
4948
4938
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
4949
- /// + `NULL == hNativeQueue`
4950
4939
/// + `NULL == hContext`
4951
4940
/// + `NULL == hDevice`
4952
4941
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
4953
4942
/// + `NULL == phQueue`
4954
4943
UR_APIEXPORT ur_result_t UR_APICALL
4955
4944
urQueueCreateWithNativeHandle(
4956
- ur_native_handle_t hNativeQueue, ///< [in] the native handle of the queue.
4945
+ ur_native_handle_t hNativeQueue, ///< [in][nocheck] the native handle of the queue.
4957
4946
ur_context_handle_t hContext, ///< [in] handle of the context object
4958
4947
ur_device_handle_t hDevice, ///< [in] handle of the device object
4959
4948
const ur_queue_native_properties_t *pProperties, ///< [in][optional] pointer to native queue properties struct
@@ -5308,13 +5297,12 @@ typedef struct ur_event_native_properties_t {
5308
5297
/// - ::UR_RESULT_ERROR_DEVICE_LOST
5309
5298
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
5310
5299
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
5311
- /// + `NULL == hNativeEvent`
5312
5300
/// + `NULL == hContext`
5313
5301
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
5314
5302
/// + `NULL == phEvent`
5315
5303
UR_APIEXPORT ur_result_t UR_APICALL
5316
5304
urEventCreateWithNativeHandle(
5317
- ur_native_handle_t hNativeEvent, ///< [in] the native handle of the event.
5305
+ ur_native_handle_t hNativeEvent, ///< [in][nocheck] the native handle of the event.
5318
5306
ur_context_handle_t hContext, ///< [in] handle of the context object
5319
5307
const ur_event_native_properties_t *pProperties, ///< [in][optional] pointer to native event properties struct
5320
5308
ur_event_handle_t *phEvent ///< [out] pointer to the handle of the event object created.
0 commit comments