You can use register in CUDA C / C ++ if you want. In any context, this is just a hint to the compiler. It can be ignored. There is no guarantee that she does anything at all.
I think these statements are pretty much true for most language implementations of register .
I also think that it is likely that the compiler can do a better job than you can decide what should be in the registries, and the corresponding priority.
Typical CUDA C / C ++ mechanisms for managing register use operate at a higher level:
source share