Skip to content

Commit

Permalink
platform: Clarify behavior for ATOMIC_SCOPE_ALL_DEVICES #1129 (#1171)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
lakshmih and bashbaug committed Sep 12, 2024
1 parent 6191cbe commit fbdec74
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/opencl_platform_layer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ device except for the following queries:

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

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
*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>>.

| {CL_DEVICE_ATOMIC_FENCE_CAPABILITIES_anchor}

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

0 comments on commit fbdec74

Please sign in to comment.