Reputation: 13195
I would like to dynamically allocate local memory for my kernel:
error_code = clSetKernelArg(myKernel, 2, localMemSize, NULL);
This call will trigger an access violation on windows 7, Visual Studio 2012, using Intel OpenCL SDK 2014 Beta.
Am I doing something wrong?
[Edit] here is my project on github
https://github.com/OpenCodec/ocldwt
Upvotes: 4
Views: 258
Reputation: 13195
Turns out this is a bug in the Intel 2014 Beta OpenCL SDK.
Workaround is to disable API debugging.
Sorry, bounty-hunters.
Upvotes: 3