Searched refs:set_num_cores (Results 1 – 12 of 12) sorted by relevance
55 device.set_num_cores(port::NumSchedulableCPUs()); in GetLocalCPUInfo()94 device.set_num_cores(properties.multiProcessorCount); in GetLocalGPUInfo()131 device.set_num_cores(properties.multiProcessorCount); in GetLocalGPUInfo()
39 cpu_device.set_num_cores(4); in SetUp()
34 cpu_device.set_num_cores(4); in SetUp()40 gpu_device.set_num_cores(12); in SetUp()
33 devices_["/CPU:0"].set_num_cores(1); in GraphMemoryTest()38 devices_["/GPU:0"].set_num_cores(1); in GraphMemoryTest()
691 cpu_device.set_num_cores(2); in GetDummyCPUDevice()
80 device->set_num_cores(10); in SetCpuDevice()
61 caps.set_num_cores(stat.IntOrUintValue()); in GetDeviceCaps()
50 void set_num_cores(int64 tpu_cores) { num_cores_ = tpu_cores; } in set_num_cores() function
38 cpu_device.set_num_cores(4); in CreateVirtualCluster()
210 cpu_device.set_num_cores(4); in CreateVirtualCluster()216 gpu_device.set_num_cores(24); in CreateVirtualCluster()
174 cpu_device.set_num_cores(4); in SetUp()
61 cap.set_num_cores(stat.IntValue()); in GetDeviceCapFromXPlane()