pub fn backend_for_device(loc: DeviceLocation) -> BackendIdExpand description
The BackendId that owns a DeviceLocation’s storage substrate.
Total — BackendId mirrors DeviceLocation 1:1 (AOCL/MKL are
kernel_source siblings under Cpu, not distinct backends).
Inverse of default_device_for modulo GPU ordinals.