When I am running my code it is returning the error:-46 which means the clCreateKernel () is not invoking and i checked the kernel name in my .cl file and in the host code but in both case it is same. But inside my .cl file I am finding some problem with the __kernel
- When I put my cursor on the __kernel it is flashing out with Error: this declaration has no storage class or type specifier
-
cursor on the [i]"jac_ker"[/i] it is flashing out with [i]Error: incomplete type is not allowed[/i]
-
cursor on the argument [i]"__global"[/i] it is flashing out with[i] Error: identifier __global is undefined[/i]
-
cursor on the [i]"double*"[/i] it is flashing out [i]Error: expected a ")"[/i]
__kernel void jac_ker(__global double* memobjA,
__global double* memobjU,
int k,int wA,int wU)
I expect some immediate help.
Thank You
Ramanarayan