uses too much local data How to deal with such problem ?

hey i was doing some work and when i am done i got this error

how to deal with such problem should i define some variables as global variables ? i made some variables as global int someVariable but it didn’t work i got same error. Am i doing something wrong any guidelines ??

Check programming guide for the cases in which the compiler would be forced to use local memory.

Judging from the size of local memory used, it can’t be register spilling alone. I guess it’s some array that’s put in the local memory.

Check programming guide for the cases in which the compiler would be forced to use local memory.

Judging from the size of local memory used, it can’t be register spilling alone. I guess it’s some array that’s put in the local memory.