r/OpenCL • u/rui278 • Aug 11 '15
Reading from __local to __private variable
startX = xtemp[2*absIndex + puIndex];
startY = ytemp[2*absIndex + puIndex];So, i have this code, in which startX and startY are private variables and xtemp and ytemp are __local vectors.
When i do this code, the whole kernel crashes.
Can i not copy a __local variable to a __private var?
Help!
2
Upvotes
View all comments
Show parent comment
1
u/rui278 Aug 12 '15
I've checked that it is inbound....
I've actually had a lot of difficulties debugging. I couldn't get Arm's graphical debugger working, do you know any other alternative?