I have a function A which I use in 2 separate Kernels.
I am analyzing Kernels with CodeXL Analyzer. Kernel 1 is using 227 VGPRs and I am trying to reduce it somehow.
When I comment out function A in Kernel 2, Kernel 1's VGPRs jump from 227 to 247. How can that possibly be?
I am changing one kernel and the other kernel's counters change. Kernel 2 is just a test and is never run.