From 2a9ded6fb1a580d1a1757badaa437ca0f8f74243 Mon Sep 17 00:00:00 2001 From: Georgi Mirazchiyski Date: Tue, 23 Jan 2024 15:55:37 +0000 Subject: [PATCH] Update description of the USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY memory advise hint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fábio --- include/ur_api.h | 2 +- scripts/core/usm.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"