forked from KhronosGroup/OpenCL-ICD-Loader
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add extension API function pointer checks (KhronosGroup#196)
* add extension API function pointer checks This PR adds checks to ensure that any function pointer in the ICD dispatch table is non-NULL before calling it. If a function pointer is NULL then CL_INVALID_VALUE is returned. This improves robustness for applications that assume they can safely call a non-NULL function pointer returned by clGetExtensionFunctionAddress or clGetExtensionFunctionAddressForPlatform. * fix a few more copyright dates
- Loading branch information
Showing
5 changed files
with
116 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.