File tree 4 files changed +37
-1
lines changed
4 files changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -6627,6 +6627,11 @@ urEnqueueUSMMemcpy(
6627
6627
///////////////////////////////////////////////////////////////////////////////
6628
6628
/// @brief Enqueue a command to prefetch USM memory
6629
6629
///
6630
+ /// @details
6631
+ /// - Prefetching may not be supported for all devices or allocation types.
6632
+ /// If memory prefetching is not supported, the prefetch hint will be
6633
+ /// ignored.
6634
+ ///
6630
6635
/// @returns
6631
6636
/// - ::UR_RESULT_SUCCESS
6632
6637
/// - ::UR_RESULT_ERROR_UNINITIALIZED
@@ -6668,6 +6673,11 @@ urEnqueueUSMPrefetch(
6668
6673
///////////////////////////////////////////////////////////////////////////////
6669
6674
/// @brief Enqueue a command to set USM memory advice
6670
6675
///
6676
+ /// @details
6677
+ /// - Not all memory advice hints may be supported for all devices or
6678
+ /// allocation types. If a memory advice hint is not supported, it will be
6679
+ /// ignored.
6680
+ ///
6671
6681
/// @returns
6672
6682
/// - ::UR_RESULT_SUCCESS
6673
6683
/// - ::UR_RESULT_ERROR_UNINITIALIZED
Original file line number Diff line number Diff line change @@ -1088,6 +1088,9 @@ desc: "Enqueue a command to prefetch USM memory"
1088
1088
class : $xEnqueue
1089
1089
name : USMPrefetch
1090
1090
ordinal : " 0"
1091
+ details :
1092
+ - " Prefetching may not be supported for all devices or allocation types. If memory prefetching
1093
+ is not supported, the prefetch hint will be ignored."
1091
1094
params :
1092
1095
- type : $x_queue_handle_t
1093
1096
name : hQueue
@@ -1128,10 +1131,13 @@ returns:
1128
1131
- $X_RESULT_ERROR_OUT_OF_RESOURCES
1129
1132
--- # --------------------------------------------------------------------------
1130
1133
type : function
1131
- desc : " Enqueue a command to set USM memory advice"
1134
+ desc : " Enqueue a command to set USM memory advice"
1132
1135
class : $xEnqueue
1133
1136
name : USMAdvise
1134
1137
ordinal : " 0"
1138
+ details :
1139
+ - " Not all memory advice hints may be supported for all devices or allocation types.
1140
+ If a memory advice hint is not supported, it will be ignored."
1135
1141
params :
1136
1142
- type : $x_queue_handle_t
1137
1143
name : hQueue
Original file line number Diff line number Diff line change @@ -5685,6 +5685,11 @@ ur_result_t UR_APICALL urEnqueueUSMMemcpy(
5685
5685
// /////////////////////////////////////////////////////////////////////////////
5686
5686
// / @brief Enqueue a command to prefetch USM memory
5687
5687
// /
5688
+ // / @details
5689
+ // / - Prefetching may not be supported for all devices or allocation types.
5690
+ // / If memory prefetching is not supported, the prefetch hint will be
5691
+ // / ignored.
5692
+ // /
5688
5693
// / @returns
5689
5694
// / - ::UR_RESULT_SUCCESS
5690
5695
// / - ::UR_RESULT_ERROR_UNINITIALIZED
@@ -5737,6 +5742,11 @@ ur_result_t UR_APICALL urEnqueueUSMPrefetch(
5737
5742
// /////////////////////////////////////////////////////////////////////////////
5738
5743
// / @brief Enqueue a command to set USM memory advice
5739
5744
// /
5745
+ // / @details
5746
+ // / - Not all memory advice hints may be supported for all devices or
5747
+ // / allocation types. If a memory advice hint is not supported, it will be
5748
+ // / ignored.
5749
+ // /
5740
5750
// / @returns
5741
5751
// / - ::UR_RESULT_SUCCESS
5742
5752
// / - ::UR_RESULT_ERROR_UNINITIALIZED
Original file line number Diff line number Diff line change @@ -4830,6 +4830,11 @@ ur_result_t UR_APICALL urEnqueueUSMMemcpy(
4830
4830
// /////////////////////////////////////////////////////////////////////////////
4831
4831
// / @brief Enqueue a command to prefetch USM memory
4832
4832
// /
4833
+ // / @details
4834
+ // / - Prefetching may not be supported for all devices or allocation types.
4835
+ // / If memory prefetching is not supported, the prefetch hint will be
4836
+ // / ignored.
4837
+ // /
4833
4838
// / @returns
4834
4839
// / - ::UR_RESULT_SUCCESS
4835
4840
// / - ::UR_RESULT_ERROR_UNINITIALIZED
@@ -4875,6 +4880,11 @@ ur_result_t UR_APICALL urEnqueueUSMPrefetch(
4875
4880
// /////////////////////////////////////////////////////////////////////////////
4876
4881
// / @brief Enqueue a command to set USM memory advice
4877
4882
// /
4883
+ // / @details
4884
+ // / - Not all memory advice hints may be supported for all devices or
4885
+ // / allocation types. If a memory advice hint is not supported, it will be
4886
+ // / ignored.
4887
+ // /
4878
4888
// / @returns
4879
4889
// / - ::UR_RESULT_SUCCESS
4880
4890
// / - ::UR_RESULT_ERROR_UNINITIALIZED
You can’t perform that action at this time.
0 commit comments