
OpenCL: CL.CreateKernel call fails in "vectorAdd" example
Posted Sunday, 25 October, 2009 - 19:45 by Bernd| Project: | The Open Toolkit library |
| Version: | 1.1-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | open |
Jump to:
Description
Hi,
the following line from the "vectorAdd" example returns an error 'OpenTK.Compute.CL10.ErrorCode.InvalidKernelName':
// create kernel
cl_kernel hKernel = CL.CreateKernel(hProgram, "vectorAdd", out error);
resulting in hKernel staying 0 so nothing gets ever called. That is why the result is still all 0.
I am using the ATi Beta 4 together with a HD 5770 using VS 2008 on Windows 7 64-Bit.
Regards,
Bernd Krekeler.


Comments
#1
This code works correctly on Nvidia's implementation. Ati beta 4 doesn't work for me here (issue will be fixed in beta 5, presumably) so I cannot test this yet.
#2
OpenTK 1.0 will not provide OpenCL bindings. Moving to later version.