Boost C++ Libraries: Ticket #13465: OpenCL compute library - OpenGL/OpenCL check for extension compared to wrong string https://svn.boost.org/trac10/ticket/13465 <p> In compute/context.hpp the </p> <div class="wiki-code"><div class="code"><pre><span class="k">const</span> <span class="kt">char</span> <span class="o">*</span><span class="n">cl_gl_sharing_extension</span> </pre></div></div><p> 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): </p> <p> 79c79 &lt; if (!platform.supports_extension("cl_gl_sharing_extension")) --- </p> <blockquote class="citation"> <blockquote> <p> if (!platform.supports_extension(cl_gl_sharing_extension)) </p> </blockquote> </blockquote> <p> 121c121 &lt; if(!gpu.supports_extension("cl_gl_sharing_extension")){ --- </p> <blockquote class="citation"> <blockquote> <p> if(!gpu.supports_extension(cl_gl_sharing_extension)){ </p> </blockquote> </blockquote> <p> 132c132 &lt; unsupported_extension_error("cl_gl_sharing_extension") --- </p> <blockquote class="citation"> <blockquote> <p> unsupported_extension_error(cl_gl_sharing_extension) </p> </blockquote> </blockquote> <p> Also: The compute component is not selectable in this bug report </p> <p> Thanks, Håkan Wiman </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13465 Trac 1.4.3 Håkan Wiman <hw@…> Mon, 05 Mar 2018 08:26:24 GMT attachment set https://svn.boost.org/trac10/ticket/13465 https://svn.boost.org/trac10/ticket/13465 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">diff.txt</span> </li> </ul> <p> Diff with bug fix (I hope) </p> Ticket John Maddock Thu, 10 May 2018 12:12:40 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/13465#comment:1 https://svn.boost.org/trac10/ticket/13465#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">obsolete</span> </li> </ul> <p> Moved to <a class="ext-link" href="https://github.com/boostorg/compute/issues/777"><span class="icon">​</span>https://github.com/boostorg/compute/issues/777</a> </p> Ticket