Opened 5 years ago
Closed 4 years ago
#13465 closed Bugs (obsolete)
OpenCL compute library - OpenGL/OpenCL check for extension compared to wrong string
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | None |
Version: | Boost 1.66.0 | Severity: | Problem |
Keywords: | compute opencl | Cc: |
Description
In compute/context.hpp the
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
Attachments (1)
Change History (2)
by , 5 years ago
comment:1 by , 4 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Diff with bug fix (I hope)