This project is read-only.

Error in launch kernel

Dec 4, 2012 at 6:50 AM
Edited Dec 4, 2012 at 6:52 AM


my project is windowsapplicationform and when run this line:


gpu.Launch(Thread, 1).kernel(gpu_bytar, gpu_map, bit);


this error exception occured :Could not find function 'kernel' in module

kernel is :


public static void kernel(GThread Thread, Byte[,] bytar, Double[,] map, int






Dec 4, 2012 at 7:50 AM

It means you did not cudafy the class containing the method called kernel.  I highly recommend examining the example projects and the tutorials on codeproject and elsewhere.  

Dec 4, 2012 at 6:53 PM

thanks try it