Opened 3 weeks ago

#13465 new Bugs

OpenCL compute library - OpenGL/OpenCL check for extension compared to wrong string

Reported by: Håkan Wiman <hw@…> Owned by:
Milestone: To Be Determined Component: None
Version: Boost 1.66.0 Severity: Problem
Keywords: compute opencl Cc:


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")){ ---


132c132 < unsupported_extension_error("cl_gl_sharing_extension") ---


Also: The compute component is not selectable in this bug report

Thanks, Håkan Wiman

Attachments (1)

diff.txt (444 bytes) - added by Håkan Wiman <hw@…> 3 weeks ago.
Diff with bug fix (I hope)

Download all attachments as: .zip

Change History (1)

Changed 3 weeks ago by Håkan Wiman <hw@…>

Attachment: diff.txt added

Diff with bug fix (I hope)

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.