Skip to content

Commit fbdec74

Browse files
Sreelakshmi Haridas Maruthurbashbaug
andauthored
platform: Clarify behavior for ATOMIC_SCOPE_ALL_DEVICES #1129 (#1171)
* platform: Clarify behavior for ATOMIC_SCOPE_ALL_DEVICES * Adjusted table widths to prevent overflow beyond a page Asciidr has a limitation that prevents table cells from spanning across pages * Update api/opencl_platform_layer.asciidoc Co-authored-by: Ben Ashbaugh <ben.ashbaugh@intel.com> --------- Co-authored-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
1 parent 6191cbe commit fbdec74

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

api/opencl_platform_layer.asciidoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ device except for the following queries:
473473

474474
[[device-queries-table]]
475475
.List of supported param_names by {clGetDeviceInfo}
476-
[width="100%",cols="<33%,<17%,<50%",options="header"]
476+
[width="100%",cols="<28%,<15%,<57%",options="header"]
477477
|====
478478
| Device Info | Return Type | Description
479479
| {CL_DEVICE_TYPE_anchor}
@@ -1606,6 +1606,9 @@ include::{generated}/api/version-notes/CL_DEVICE_ATOMIC_MEMORY_CAPABILITIES.asci
16061606
{CL_DEVICE_ATOMIC_ORDER_RELAXED} \| +
16071607
{CL_DEVICE_ATOMIC_SCOPE_WORK_GROUP}
16081608

1609+
A device that does not support {CL_DEVICE_SVM_ATOMICS} (and hence does not support {CL_MEM_SVM_ATOMICS}) may still support {CL_DEVICE_ATOMIC_SCOPE_ALL_DEVICES}. On these devices, an atomic operation with
1610+
*memory_scope_all_svm_devices* will behave the same as if the scope were *memory_scope_device* - refer to the <<memory-consistency-model, memory consistency model>>.
1611+
16091612
| {CL_DEVICE_ATOMIC_FENCE_CAPABILITIES_anchor}
16101613

16111614
include::{generated}/api/version-notes/CL_DEVICE_ATOMIC_FENCE_CAPABILITIES.asciidoc[]

0 commit comments

Comments
 (0)