File tree Expand file tree Collapse file tree 6 files changed +12
-7
lines changed Expand file tree Collapse file tree 6 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -1017,7 +1017,10 @@ class ur_usm_desc_t(Structure):
10171017 ("pNext" , c_void_p ), ## [in][optional] pointer to extension-specific structure
10181018 ("flags" , ur_usm_flags_t ), ## [in] memory allocation flags.
10191019 ("hints" , ur_usm_advice_t ), ## [in] Memory advice hints
1020- ("align" , c_ulong ) ## [in] memory advice hints.
1020+ ("align" , c_ulong ) ## [in] alignment of the USM memory object
1021+ ## Must be zero or a power of 2.
1022+ ## Must be equal to or smaller than the size of the largest data type
1023+ ## supported by `hDevice`.
10211024 ]
10221025
10231026###############################################################################
Original file line number Diff line number Diff line change @@ -1108,7 +1108,7 @@ urDeviceCreateWithNativeHandle(
11081108);
11091109
11101110///////////////////////////////////////////////////////////////////////////////
1111- /// @brief static
1111+ /// @brief Returns synchronized Host and Device global timestamps.
11121112///
11131113/// @details
11141114/// - The application may call this function from simultaneous threads for
@@ -2226,7 +2226,10 @@ typedef struct ur_usm_desc_t {
22262226 const void * pNext ; ///< [in][optional] pointer to extension-specific structure
22272227 ur_usm_flags_t flags ; ///< [in] memory allocation flags.
22282228 ur_usm_advice_t hints ; ///< [in] Memory advice hints
2229- uint32_t align ; ///< [in] memory advice hints.
2229+ uint32_t align ; ///< [in] alignment of the USM memory object
2230+ ///< Must be zero or a power of 2.
2231+ ///< Must be equal to or smaller than the size of the largest data type
2232+ ///< supported by `hDevice`.
22302233
22312234} ur_usm_desc_t ;
22322235
Original file line number Diff line number Diff line change @@ -664,7 +664,7 @@ type: function
664664desc : " Returns synchronized Host and Device global timestamps."
665665class : $xDevice
666666name : GetGlobalTimestamps
667- desc : static
667+ decl : static
668668ordinal : " 0"
669669analogue :
670670 - " **clGetDeviceAndHostTimer**"
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ members:
132132 [in] alignment of the USM memory object
133133 Must be zero or a power of 2.
134134 Must be equal to or smaller than the size of the largest data type supported by `hDevice`.
135- desc : " [in] memory advice hints."
136135 --- # --------------------------------------------------------------------------
137136type : struct
138137desc : " USM host allocation descriptor type."
Original file line number Diff line number Diff line change @@ -604,7 +604,7 @@ ur_result_t UR_APICALL urDeviceCreateWithNativeHandle(
604604}
605605
606606// /////////////////////////////////////////////////////////////////////////////
607- // / @brief static
607+ // / @brief Returns synchronized Host and Device global timestamps.
608608// /
609609// / @details
610610// / - The application may call this function from simultaneous threads for
Original file line number Diff line number Diff line change @@ -521,7 +521,7 @@ ur_result_t UR_APICALL urDeviceCreateWithNativeHandle(
521521}
522522
523523// /////////////////////////////////////////////////////////////////////////////
524- // / @brief static
524+ // / @brief Returns synchronized Host and Device global timestamps.
525525// /
526526// / @details
527527// / - The application may call this function from simultaneous threads for
You can’t perform that action at this time.
0 commit comments