Skip to content

Commit 76e1b44

Browse files
committed
Clarify USM behavior
Clarify several things about USM: * We did not have precise rules about when USM memory allocated for one device could be accessed by another device. This is now clarified, and a few new device aspects were added to tell applications when this is allowed. * We did not have precise rules about sharing a USM memory region between two devices when those devices do not support "concurrent atomic" accesses to USM. Add rules to explain this. * We were not clear about the role of the context that is used when allocating USM memory. Clarify how this affects the accessibility of USM memory on various devices. * Clarify that the device returned by `get_pointer_device` is the same device used when allocating the USM memory region. Closes internal issue 599. Partially addresses KhronosGroup#184. Closes KhronosGroup#186.
1 parent 7e710df commit 76e1b44

File tree

2 files changed

+507
-470
lines changed

2 files changed

+507
-470
lines changed

adoc/chapters/glossary.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ object. For the full description please refer to <<subsec:buffers>>.
145145
the text of any backend specifications and excluding the text for any
146146
extensions.
147147

148+
[[descendent-device]]descendent device::
149+
The descendent devices of device _D_ include all of the sub-devices of _D_,
150+
all of the sub-devices of those devices, etc.
151+
148152
[[device]]device::
149153
A SYCL device is an abstraction of a piece of hardware that can execute
150154
<<sycl-kernel-function,SYCL kernels>>.

0 commit comments

Comments
 (0)