| 50 | inline Maybe<size_t> GetNodeSize() { return GlobalProcessCtx::NodeSize(); } |
| 51 | inline Maybe<size_t> GetLocalRank() { return GlobalProcessCtx::LocalRank(); } |
| 52 | inline Maybe<size_t> CudaGetDeviceCount() { |
| 53 | return Singleton<ep::DeviceManagerRegistry>::Get()->GetDeviceCount(DeviceType::kCUDA); |
| 54 | } |
| 55 | |
| 56 | inline Maybe<void> SetFLAGS_alsologtostderr(bool flag) { |
| 57 | FLAGS_alsologtostderr = flag; |
nothing calls this directly
no test coverage detected