cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Steveyoungs
Journeyman III

Bug in C++ bindings

cl::KernelFunctor waitEvents are ignored

Hi,

There's a nasty bug in the C++ OpenCL bindings shipped with AMD APP SDK 2.4.

The cl::KernelFunctor class overloads operator() for varying number of kernel arguments. It also includes a vector of cl::Event, the events to wait for before the kernel is executed. This argument is ignored.

The fix is simple enough, just name the argument and pass it into the call to queue_.enqueueNDRangeKernel.

I've posted a bug report in the Khronos forum but AMD may want to escalate this since you ship cl.hpp as part of the APP SDK

Steve.

0 Likes
1 Reply

Steveyoungs,
Thanks for reporting this, I will pass it on to the relevant people. However, cl.hpp is now maintained by khronos, so filing the bug report there was the correct thing to do.
0 Likes