Skip to content

Commit bcb0215

Browse files
JackAKirkkbenzie
authored andcommitted
Some stylistic improvements to documentation.
Signed-off-by: JackAKirk <jack.kirk@codeplay.com>
1 parent bd90079 commit bcb0215

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
@@ -8929,7 +8929,7 @@ urUSMReleaseExp(
89298929
#endif
89308930
///////////////////////////////////////////////////////////////////////////////
89318931
#ifndef UR_USM_P2P_EXTENSION_STRING_EXP
8932-
/// @brief The extension string which defines support for USM P2P which is
8932+
/// @brief The extension string that defines support for USM P2P which is
89338933
/// returned when querying device extensions.
89348934
#define UR_USM_P2P_EXTENSION_STRING_EXP "ur_exp_usm_p2p"
89358935
#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)