@@ -946,6 +946,7 @@ typedef enum ur_adapter_backend_t {
946
946
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
947
947
/// + `NULL == phAdapters`
948
948
/// - ::UR_RESULT_ERROR_INVALID_SIZE
949
+ /// + `NumEntries == 0 && phPlatforms != NULL`
949
950
UR_APIEXPORT ur_result_t UR_APICALL
950
951
urPlatformGet(
951
952
ur_adapter_handle_t *phAdapters, ///< [in][range(0, NumAdapters)] array of adapters to query for platforms.
@@ -5521,6 +5522,8 @@ urEventGetInfo(
5521
5522
/// + `NULL == hEvent`
5522
5523
/// - ::UR_RESULT_ERROR_INVALID_ENUMERATION
5523
5524
/// + `::UR_PROFILING_INFO_COMMAND_COMPLETE < propName`
5525
+ /// - ::UR_RESULT_ERROR_PROFILING_INFO_NOT_AVAILABLE
5526
+ /// + If `hEvent`s associated queue was not created with `UR_QUEUE_FLAG_PROFILING_ENABLE`.
5524
5527
/// - ::UR_RESULT_ERROR_INVALID_VALUE
5525
5528
/// + `pPropValue && propSize == 0`
5526
5529
/// - ::UR_RESULT_ERROR_INVALID_EVENT
@@ -6937,7 +6940,6 @@ urEnqueueReadHostPipe(
6937
6940
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
6938
6941
/// + `NULL == pipe_symbol`
6939
6942
/// + `NULL == pSrc`
6940
- /// + `NULL == phEvent`
6941
6943
/// - ::UR_RESULT_ERROR_INVALID_EVENT_WAIT_LIST
6942
6944
/// + `phEventWaitList == NULL && numEventsInWaitList > 0`
6943
6945
/// + `phEventWaitList != NULL && numEventsInWaitList == 0`
@@ -6958,7 +6960,7 @@ urEnqueueWriteHostPipe(
6958
6960
const ur_event_handle_t *phEventWaitList, ///< [in][optional][range(0, numEventsInWaitList)] pointer to a list of
6959
6961
///< events that must be complete before the host pipe write.
6960
6962
///< If nullptr, the numEventsInWaitList must be 0, indicating that no wait event.
6961
- ur_event_handle_t *phEvent ///< [out] returns an event object that identifies this write command
6963
+ ur_event_handle_t *phEvent ///< [out][optional] returns an event object that identifies this write command
6962
6964
///< and can be used to query or queue a wait for this command to complete.
6963
6965
);
6964
6966
0 commit comments