Altera_Forum
Honored Contributor
11 years agoStatic variable error
hey
I have a error when I write the static variable in kernel function. Here is a simple example. " void funA() { static int b = 0; } void kernel fun(__global int *a) { funA(); } " Don't I use the "static" in opencl kernel ? regards.,