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

Function TEST

tensorflow/compiler/jit/device_util_test.cc:72–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70const char* kXPU0Partial = "/device:XPU:0";
71
72TEST(PickDeviceForXla, UniqueDevice) {
73 CheckPickDeviceResult(kGPU0, false, {kGPU0, kGPU0});
74}
75
76TEST(PickDeviceForXla, MoreSpecificDevice) {
77 CheckPickDeviceResult(kCPU0, false, {kCPU0, kCPU0Partial});

Callers

nothing calls this directly

Calls 3

CheckPickDeviceResultFunction · 0.85
CheckPickDeviceHasErrorFunction · 0.85

Tested by

no test coverage detected