In #100 when SwitchProducerCUDA checks whether there are any CUDA devices on the system, it requires that all devices must have compute capability above a certain level. If any device is below, the switch decides that there are no CUDA devices.
There are many ways how this logic could be improved
Disable the use of only those devices under the threshold.
Would require communication of the devices to CUDAService, or duplication of the logic
Figure out the supported architectures from SCRAM CUDA flags
In #100 when
SwitchProducerCUDA
checks whether there are any CUDA devices on the system, it requires that all devices must have compute capability above a certain level. If any device is below, the switch decides that there are no CUDA devices.There are many ways how this logic could be improved
CUDAService
, or duplication of the logic