From f6c5227ba1707f2cb0f4ac0e80fb3fea7b815ffb Mon Sep 17 00:00:00 2001 From: Brice Videau Date: Tue, 28 Nov 2023 13:06:00 -0600 Subject: [PATCH] New entry points should not be queried through `clGetExtensionFunctionAddress`. --- ext/cl_khr_icd.asciidoc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/ext/cl_khr_icd.asciidoc b/ext/cl_khr_icd.asciidoc index db4c137b..42a435ca 100644 --- a/ext/cl_khr_icd.asciidoc +++ b/ext/cl_khr_icd.asciidoc @@ -235,15 +235,14 @@ Vendor ICD extension suffix using {clGetPlatformInfo} with the value If any of these steps fail, the ICD Loader will ignore the Vendor ICD and continue on to the next. -*New in version 2.0.0*, the ICD Loader will also query the following -functions through {clGetExtensionFunctionAddress}: -{clIcdGetFunctionAddressForPlatformKHR} and {clIcdSetPlatformDispatchDataKHR}. -If these two functions are present and the pointer to -`clGetPlatformIDs` in the dispatch structure of a platform is set to +*New in version 2.0.0*, the ICD Loader will also query the following functions +from the library: {clIcdGetFunctionAddressForPlatformKHR} and +{clIcdSetPlatformDispatchDataKHR}. If these two functions are present and the +pointer to `clGetPlatformIDs` in the dispatch structure of a platform is set to `CL_ICD2_TAG_KHR` the platform will be deemed ICD 2 compatible and dispatch -will be managed by the ICD Loader. If the `CL_ICD2_TAG_KHR` tag is present -but one of the two functions above is missing, the ICD Loader will ignore -the Vendor ICD and continue on to the next. +will be managed by the ICD Loader. If the `CL_ICD2_TAG_KHR` tag is present but +one of the two functions above is missing, the ICD Loader will ignore the +Vendor ICD and continue on to the next. [[cl_khr_icd-new-procedures-and-functions]] === New Procedures and Functions