MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetDevice

Method GetDevice

tensorflow/core/nccl/nccl_manager_test.cc:395–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393 }
394
395 static BaseGPUDevice* GetDevice(size_t rank) {
396 return devices_->at(rank % devices_->size()).get();
397 }
398
399 static UnboundedWorkQueue* work_queue_;
400

Callers 10

TYPED_TESTFunction · 0.45
UpdateDeviceFunction · 0.45
TEST_FFunction · 0.45
CanRemoveNodeFunction · 0.45
TYPED_TESTFunction · 0.45

Calls 3

getMethod · 0.45
atMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected