Skip to content

Commit 79e2205

Browse files
committed
Some stylistic improvements to documentation.
Signed-off-by: JackAKirk <[email protected]>
1 parent f6d2b9a commit 79e2205

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

include/ur_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8887,7 +8887,7 @@ urUSMReleaseExp(
88878887
#endif
88888888
///////////////////////////////////////////////////////////////////////////////
88898889
#ifndef UR_USM_P2P_EXTENSION_STRING_EXP
8890-
/// @brief The extension string which defines support for USM P2P which is
8890+
/// @brief The extension string that defines support for USM P2P which is
88918891
/// returned when querying device extensions.
88928892
#define UR_USM_P2P_EXTENSION_STRING_EXP "ur_exp_usm_p2p"
88938893
#endif // UR_USM_P2P_EXTENSION_STRING_EXP

scripts/core/EXP-USM-P2P.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ or copying the memory located on a separate "peer" device.
2727

2828
Motivation
2929
--------------------------------------------------------------------------------
30-
Several important projects that programming models such as SYCL or OpenMP aim
31-
to support use fine-grained peer to peer memory access controls.
30+
Programming models like SYCL or OpenMP aim to support several important
31+
projects that utilise fine-grained peer-to-peer memory access controls.
3232
This experimental extension to the Unified-Runtime API aims to provide a
3333
portable interface that can call appropriate driver functions to query and
3434
control peer memory access within different adapters such as CUDA, HIP and

scripts/core/exp-usm-p2p.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ desc: "Intel $OneApi Unified Runtime Experimental APIs for USM P2P"
1313
ordinal: "99"
1414
--- #--------------------------------------------------------------------------
1515
type: macro
16-
desc: "The extension string which defines support for USM P2P which is returned when querying device extensions."
16+
desc: "The extension string that defines support for USM P2P which is returned when querying device extensions."
1717
name: $X_USM_P2P_EXTENSION_STRING_EXP
1818
value: "\"$x_exp_usm_p2p\""
1919
--- #--------------------------------------------------------------------------

test/conformance/exp_usm_p2p/usm_p2p.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ TEST_F(urP2PTest, Success) {
2525
nullptr));
2626

2727
std::string_view extensions_string(returned_extensions.get());
28-
bool usm_p2p_support =
28+
const bool usm_p2p_support =
2929
extensions_string.find(UR_USM_P2P_EXTENSION_STRING_EXP) !=
3030
std::string::npos;
3131

0 commit comments

Comments
 (0)