diff --git a/include/ur_api.h b/include/ur_api.h index 255ed5d0b9..06d8e064cc 100644 --- a/include/ur_api.h +++ b/include/ur_api.h @@ -3237,7 +3237,7 @@ typedef enum ur_usm_advice_flag_t { UR_USM_ADVICE_FLAG_CLEAR_PREFERRED_LOCATION_HOST = UR_BIT(14), ///< Removes the affect of ::UR_USM_ADVICE_FLAG_SET_PREFERRED_LOCATION_HOST UR_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY = UR_BIT(15), ///< Hint that memory coherence will be coarse-grained (up-to-date only at ///< kernel boundaries) - UR_USM_ADVICE_FLAG_CLEAR_NON_COHERENT_MEMORY = UR_BIT(16), ///< Removes the affect of ::UR_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY + UR_USM_ADVICE_FLAG_CLEAR_NON_COHERENT_MEMORY = UR_BIT(16), ///< Removes the effect of ::UR_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY /// @cond UR_USM_ADVICE_FLAG_FORCE_UINT32 = 0x7fffffff /// @endcond diff --git a/scripts/core/usm.yml b/scripts/core/usm.yml index 68031ddaf8..fbd81aa8f8 100644 --- a/scripts/core/usm.yml +++ b/scripts/core/usm.yml @@ -131,7 +131,7 @@ etors: desc: "Hint that memory coherence will be coarse-grained (up-to-date only at kernel boundaries)" - name: CLEAR_NON_COHERENT_MEMORY value: "$X_BIT(16)" - desc: "Removes the affect of $X_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY" + desc: "Removes the effect of $X_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY" --- #-------------------------------------------------------------------------- type: handle desc: "Handle of USM pool"