lp:ocl-icd
- Get this branch:
- bzr branch lp:ocl-icd
Branch merges
Import details
This branch is an import of the HEAD branch of the Git repository at https://git.launchpad.net/~pali/ocl-icd/+git/trunk.
Last successful import was .
Recent revisions
- 213. By Vincent Danjean <email address hidden>
-
Do not deference the plateform structure before checking it is an ICD
As notice by Simon Richter in
https://bugs.debian. org/cgi- bin/bugreport. cgi?bug= 845682# 15
clGetPlatformInfo from the dispatch table is safe only after
clGetPlatformInfo has returned that the ICD supports the cl_khr_icd
extension.So, after reverting the commit that use platform specific clGetPlatformInfo by default,
we ensure that the dispatch table is never used before the extension check is done,
unless OCL_ICD_ASSUME_ ICD_EXTENSION is defined. - 212. By Vincent Danjean <email address hidden>
-
Revert "By default, use platforme specific clGetPlatformInfo"
This reverts commit 418f2be956bbeee
8b64844dafc0942 720ba4b521. For complient ICD, platforme specific clGetPlatformInfo cannot be used
until the global clGetPlatformInfo has been used to check for the present of
the cl_khr_icd extension. - 210. By Vincent Danjean <email address hidden>
-
By default, use platforme specific clGetPlatformInfo
There is a logic that the "clGetPlatformInfo" function can
be specific to the plateform. The reference implementation [1]
only use the specific version.
Now, we also use it by default. But if missing, we failback
on the global one.
Note that the specification [2] only talk about the global one...[1]: https:/
/github. com/KhronosGrou p/OpenCL- ICD-Loader/ blob/master/ icd.c
[2]: https://www.khronos. org/registry/ cl/extensions/ khr/cl_ khr_icd. txt - 209. By Vincent Danjean <email address hidden>
-
Merge pull request #2 from surround-io/master
Use the dispatch table to call clGetPlatformInfo
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)