Is there any way to get numbers of registers used by kernel at runtime ?
something like this
extern “C” invoker()
int numRegsUsedByKernel = ?SomeMysterousFunction?(kernel);
I need this to decide witch kernel & grid size run on witch hardware
now the only way to see how many registers each kernel occupies is to trace
is there such a function or I’m doomed ? ;)