Modify

Opened 4 months ago

Closed 6 weeks ago

#13465 closed Bugs (obsolete)

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:

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)

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

Download all attachments as: .zip

Change History (2)

Changed 4 months ago by Håkan Wiman <hw@…>

Attachment: diff.txt added

Diff with bug fix (I hope)

comment:1 Changed 6 weeks ago by John Maddock

Resolution: obsolete
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.