First of all, there is no strict requirement of the kernel code order to obey the order of the input, note that this is the device side of the code and generate host code will still call it in the correct order. This is, however, an useful feature to have
Generally, customs will use the parameters order obey the build order while executing the kernel function, it is
direct and friendly, even though, he can check the kernel parameters order before executing it. So, the kernel order should be the same with build order, it is better.