Summary: | Mesa's cl.h defines CL_VERSION_1_2 even though it is missing some OpenCL 1.2 functions | ||
---|---|---|---|
Product: | Mesa | Reporter: | Dennis Schridde <devurandom> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | ||
Version: | 10.5 | ||
Hardware: | Other | ||
OS: | All | ||
See Also: | https://github.com/magnumripper/JohnTheRipper/issues/1470 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Dennis Schridde
2015-06-27 21:39:11 UTC
This issue turned up when trying to fix a linker error in JTR: https://github.com/magnumripper/JohnTheRipper/issues/1470 Hello this should be mitigated with the "clover: allow the creation of Piglit tests for the missing CL 1.2 fonction" serie available on mesa-dev list. However, even if the program will compile, those fonctions are stubs for the moment. Also applications should ensure that OpenCL 1.2 is available on the platform, for the moment CLover only claim "OpenCL 1.1". For exemple, the platform report currently report "OpenCL 1.2 MESA 10.7.0-devel" in ToT. EdB Sorry I mean "OpenCL 1.1 MESA 10.7.0-devel". 1.2 is only clain on my local tree Just to make sure I understand. You say that: 1) Mesa should provide a shared library that actually implements all functions advertised in the header (which will be fixed in Mesa 10.7/11.0) 2) applications using OpenCL should still check at runtime which features are available I believe JTR already does the latter (there are instances of `if (ocl_ver >= 120)` in the source). So once the patch for (1) is merged, this issue should be fixed. For reference: The patch Serge mentioned can be found at: https://www.mail-archive.com/mesa-dev@lists.freedesktop.org/msg88849.html This should by fix by a97f1b697b01dca9f72d8559f8269188d76dccc9 : clover: Stub missing CL 1.2 functions. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.