private static ComputeDevice GetCalculator(int deviceId) { return(ComputeDeviceFactory.GetComputeDeviceById(deviceId)); }