Skip to content

Commit

Permalink
Some stylistic improvements to documentation.
Browse files Browse the repository at this point in the history
Signed-off-by: JackAKirk <jack.kirk@codeplay.com>
  • Loading branch information
JackAKirk authored and kbenzie committed Mar 12, 2024
1 parent bd90079 commit bcb0215
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/ur_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/core/EXP-USM-P2P.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/core/exp-usm-p2p.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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\""
--- #--------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion test/conformance/exp_usm_p2p/usm_p2p.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit bcb0215

Please sign in to comment.