CUDA: Update arch selection, restructure for maintainability

Fixes: #21712
1 file changed