Searched refs:device_string (Results 1 – 3 of 3) sorted by relevance
50 string device_string = "CPU"; in PersistentMemoryTrackingTest() local53 device_string = "GPU"; in PersistentMemoryTrackingTest()57 device_string, {}, "/job:worker/replica:0/task:0")); in PersistentMemoryTrackingTest()
41 def set_cpu0(device_string): argument52 parsed_device = pydev.DeviceSpec.from_string(device_string)
588 char device_string[25]; in validate_device() local591 sprintf(device_string, "/dev/sg%d", i); in validate_device()593 if (strcmp(device, device_string) == 0) { in validate_device()