Allow multiple CUDA compute capabilities.

Modified the code to allow multiple simultaneous CUDA compute
capabilities to be chosen.