Question about arrays in kernels

Discussion created by lust on Feb 9, 2009
Latest reply on Feb 12, 2009 by lust

Hi all,

I have used an array inside a kernel, in order to perform iterative traversal of a tree. But, the program executes correctly with BRT_RUNTIME=cpu, but when executing with CAL, the results are erroneus. I declare it like this (yeah that's obvious):

float3 stackArray[64];

I would greatly appreciate any help or recommendations. I may put more detail if necessary.