From fbdec74caf208d6253d95d6c62e98d50667dbed7 Mon Sep 17 00:00:00 2001 From: Sreelakshmi Haridas Maruthur Date: Thu, 12 Sep 2024 11:02:04 -0600 Subject: [PATCH] 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 --------- Co-authored-by: Ben Ashbaugh --- api/opencl_platform_layer.asciidoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/opencl_platform_layer.asciidoc b/api/opencl_platform_layer.asciidoc index 2b1ae266..81f08b58 100644 --- a/api/opencl_platform_layer.asciidoc +++ b/api/opencl_platform_layer.asciidoc @@ -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} @@ -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 <>. + | {CL_DEVICE_ATOMIC_FENCE_CAPABILITIES_anchor} include::{generated}/api/version-notes/CL_DEVICE_ATOMIC_FENCE_CAPABILITIES.asciidoc[]