Subject: [Boost-bugs] [Boost C++ Libraries] #13465: OpenCL compute library - OpenGL/OpenCL check for extension compared to wrong string
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-05 08:25:44
#13465: OpenCL compute library - OpenGL/OpenCL check for extension compared to
wrong string
--------------------------------+---------------------
Reporter: HÃ¥kan Wiman <hw@â¦> | Owner: (none)
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.66.0 | Severity: Problem
Keywords: compute opencl |
--------------------------------+---------------------
In compute/context.hpp the
{{{
#!c
const char *cl_gl_sharing_extension
}}}
is set correctly, but is never used. Instead comparison is made to
"cl_gl_sharing_extension". The brackets should be removed (in three
places). An attempt to diff (hope I got it right):
79c79
< if (!platform.supports_extension("cl_gl_sharing_extension"))
---
> if (!platform.supports_extension(cl_gl_sharing_extension))
121c121
< if(!gpu.supports_extension("cl_gl_sharing_extension")){
---
> if(!gpu.supports_extension(cl_gl_sharing_extension)){
132c132
< unsupported_extension_error("cl_gl_sharing_extension")
---
> unsupported_extension_error(cl_gl_sharing_extension)
Also: The compute component is not selectable in this bug report
Thanks,
HÃ¥kan Wiman
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13465> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2018-03-05 08:29:52 UTC