diff --git a/include/ur_api.h b/include/ur_api.h index 3987fdcaf8..291514c896 100644 --- a/include/ur_api.h +++ b/include/ur_api.h @@ -8929,7 +8929,7 @@ urUSMReleaseExp( #endif /////////////////////////////////////////////////////////////////////////////// #ifndef UR_USM_P2P_EXTENSION_STRING_EXP -/// @brief The extension string which defines support for USM P2P which is +/// @brief The extension string that defines support for USM P2P which is /// returned when querying device extensions. #define UR_USM_P2P_EXTENSION_STRING_EXP "ur_exp_usm_p2p" #endif // UR_USM_P2P_EXTENSION_STRING_EXP diff --git a/scripts/core/EXP-USM-P2P.rst b/scripts/core/EXP-USM-P2P.rst index 250b18a6d5..c244ddca3c 100644 --- a/scripts/core/EXP-USM-P2P.rst +++ b/scripts/core/EXP-USM-P2P.rst @@ -27,8 +27,8 @@ or copying the memory located on a separate "peer" device. Motivation -------------------------------------------------------------------------------- -Several important projects that programming models such as SYCL or OpenMP aim -to support use fine-grained peer to peer memory access controls. +Programming models like SYCL or OpenMP aim to support several important +projects that utilise fine-grained peer-to-peer memory access controls. This experimental extension to the Unified-Runtime API aims to provide a portable interface that can call appropriate driver functions to query and control peer memory access within different adapters such as CUDA, HIP and diff --git a/scripts/core/exp-usm-p2p.yml b/scripts/core/exp-usm-p2p.yml index 484b215c2a..3293ab4e07 100644 --- a/scripts/core/exp-usm-p2p.yml +++ b/scripts/core/exp-usm-p2p.yml @@ -13,7 +13,7 @@ desc: "Intel $OneApi Unified Runtime Experimental APIs for USM P2P" ordinal: "99" --- #-------------------------------------------------------------------------- type: macro -desc: "The extension string which defines support for USM P2P which is returned when querying device extensions." +desc: "The extension string that defines support for USM P2P which is returned when querying device extensions." name: $X_USM_P2P_EXTENSION_STRING_EXP value: "\"$x_exp_usm_p2p\"" --- #-------------------------------------------------------------------------- diff --git a/test/conformance/exp_usm_p2p/usm_p2p.cpp b/test/conformance/exp_usm_p2p/usm_p2p.cpp index bc0533016d..94a566914c 100644 --- a/test/conformance/exp_usm_p2p/usm_p2p.cpp +++ b/test/conformance/exp_usm_p2p/usm_p2p.cpp @@ -25,7 +25,7 @@ TEST_F(urP2PTest, Success) { nullptr)); std::string_view extensions_string(returned_extensions.get()); - bool usm_p2p_support = + const bool usm_p2p_support = extensions_string.find(UR_USM_P2P_EXTENSION_STRING_EXP) != std::string::npos;