Warning: Cannot tell what pointer points to

I’ll test this out, thanks.

Is this something I should do/need to do for all the device functions I have? And does that include subroutines as well? I ask because with this code I managed to completely scalarize the internals so all the device subs and functions are now all scalar inputs and outputs.

ETA: This does indeed help out with the Warnings regarding TL and PL, though I’m not sure if these will always be in global memory–as I thought values had to be–as they could be registers. (I’m fairly certain I’m under register pressure, so it may be true these get pushed to global.)

If QSAT is a ‘shared’ variable, then you might have some issues and need to rework the code.

It isn’t shared (yet) so that’s not the issue. Hmm. I’m sending in some code in regards to my other thread, so maybe you can take a look and see what you think.