Skip to content

Commit 2a9ded6

Browse files
GeorgeWebfabiomestre
authored andcommitted
Update description of the USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY memory advise hint
Co-authored-by: Fábio <fabio.m.mestre@gmail.com>
1 parent 177e351 commit 2a9ded6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/ur_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3237,7 +3237,7 @@ typedef enum ur_usm_advice_flag_t {
32373237
UR_USM_ADVICE_FLAG_CLEAR_PREFERRED_LOCATION_HOST = UR_BIT(14), ///< Removes the affect of ::UR_USM_ADVICE_FLAG_SET_PREFERRED_LOCATION_HOST
32383238
UR_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY = UR_BIT(15), ///< Hint that memory coherence will be coarse-grained (up-to-date only at
32393239
///< kernel boundaries)
3240-
UR_USM_ADVICE_FLAG_CLEAR_NON_COHERENT_MEMORY = UR_BIT(16), ///< Removes the affect of ::UR_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY
3240+
UR_USM_ADVICE_FLAG_CLEAR_NON_COHERENT_MEMORY = UR_BIT(16), ///< Removes the effect of ::UR_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY
32413241
/// @cond
32423242
UR_USM_ADVICE_FLAG_FORCE_UINT32 = 0x7fffffff
32433243
/// @endcond

scripts/core/usm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ etors:
131131
desc: "Hint that memory coherence will be coarse-grained (up-to-date only at kernel boundaries)"
132132
- name: CLEAR_NON_COHERENT_MEMORY
133133
value: "$X_BIT(16)"
134-
desc: "Removes the affect of $X_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY"
134+
desc: "Removes the effect of $X_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY"
135135
--- #--------------------------------------------------------------------------
136136
type: handle
137137
desc: "Handle of USM pool"

0 commit comments

Comments
 (0)