Skip to content

Commit c13c557

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 access" to USM. Add rules to explain this. * Replace the term "unified addressing", which was poorly defined, with a new term "stable addresses", and clarify exactly what guarantees we provide about uniqueness of pointers for the three USM allocation types. Closes KhronosGroup#186.
1 parent a6c7fc6 commit c13c557

3 files changed

Lines changed: 259 additions & 133 deletions

File tree

adoc/chapters/architecture.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,6 +1067,7 @@ values:
10671067
work-item;
10681068
* [code]#sycl::memory_scope::device# The ordering constraint applies only
10691069
to work-items executing on the same device as the calling work-item;
1070+
TODO: Should this include sub-devices also?
10701071
* [code]#sycl::memory_scope::system# The ordering constraint applies to any
10711072
work-item or host thread in the system that is currently permitted to
10721073
access the memory allocation containing the referenced object, as

0 commit comments

Comments
 (0)