Bernd's picture

OpenCL: CL.CreateKernel call fails in "vectorAdd" example

Project:The Open Toolkit library
Version:1.1-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:open
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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#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.

the Fiddler's picture

#2

Version:0.9.9-3» 1.1-dev

OpenTK 1.0 will not provide OpenCL bindings. Moving to later version.