From 6ec48c4400ed69e6789f9834596c3e6fd19d99d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pekka=20J=C3=A4=C3=A4skel=C3=A4inen?= Date: Mon, 9 Sep 2024 16:54:49 +0300 Subject: [PATCH] cl_ext_buffer_device_address updates Changed the CL_MEM_DEVICE_ADDRESS_EXT wording for multi-device cases "all", not "any", covering a case where not all devices can ensure the same address across the context. In that case CL_INVALID_VALUE can be returned. Defined sub-buffer address computation to be 'base_addr + origin'. Added error conditions for clSetKernelExecInfo when the device doesn't support device pointers. --- .../cl_ext_buffer_device_address.asciidoc | 38 ++++++++++++++++--- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/extensions/cl_ext_buffer_device_address.asciidoc b/extensions/cl_ext_buffer_device_address.asciidoc index 72fe5529c..dabf5d1cf 100644 --- a/extensions/cl_ext_buffer_device_address.asciidoc +++ b/extensions/cl_ext_buffer_device_address.asciidoc @@ -46,7 +46,7 @@ Draft. == Version Built On: {docdate} + -Revision: 0.1.0 +Revision: 0.2.0 == Dependencies @@ -147,7 +147,7 @@ Add new allocation flags <