Skip to content

Commit b40c543

Browse files
authored
[SYCL][DOC]Add the missed ext_oneapi_ for sycl_ext_oneapi_peer_access. (#17327)
Signed-off-by: Chen, Sheng S <[email protected]>
1 parent 1a9a282 commit b40c543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/doc/extensions/supported/sycl_ext_oneapi_peer_access.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ If the query returns false, attempting to concurrently access or atomically
145145
modify USM device memory located on the `peer` device results in undefined
146146
behavior.
147147

148-
|void enable_peer_access(const device &peer)
148+
|void ext_oneapi_enable_peer_access(const device &peer)
149149
|Enables this device to access USM device allocations located on the peer
150150
device. This does not permit the peer device to access this device's memory.
151151
Once this access is enabled, SYCL kernel functions and the explicit memory
@@ -157,7 +157,7 @@ If this device does not support peer access (as defined by
157157
throws an exception with the `errc::invalid` error code.
158158

159159

160-
|void disable_peer_access(const device &peer)
160+
|void ext_oneapi_disable_peer_access(const device &peer)
161161
|Disables access to the peer device's memory from this device. If peer access
162162
is not enabled, throws an `exception` with the `errc::invalid` error code.
163163

0 commit comments

Comments
 (0)