clGetExtensionFunctionAddress has been deprecated but it still can be useful in some cases and some applications rely on it. The OpenCL runtime loader should optionally support it by dynamically loading the real OpenCL ICD loader similar to clGetPlatformIDs even if the default is to return NULL to encourage use of clGetExtensionFunctionAddressForPlatform instead.
This behavior is currently hard coded with an ifdef:
clGetExtensionFunctionAddress
has been deprecated but it still can be useful in some cases and some applications rely on it. The OpenCL runtime loader should optionally support it by dynamically loading the real OpenCL ICD loader similar toclGetPlatformIDs
even if the default is to returnNULL
to encourage use ofclGetExtensionFunctionAddressForPlatform
instead.This behavior is currently hard coded with an ifdef: