Lines Matching refs:device
61 if (arg == "--device-index" || arg == "-d") {
68 } else if (arg == "--device-name" || arg == "-n") {
80 std::cerr << "Specifying a specific device is incompatible with dumping "
85 std::cerr << "Must specify only one of device index and device name."
96 std::cerr << "Must specify instance, device index, or device name when "
109 std::cerr << "Error: device " << options.device_index
116 for (const auto& device : instance.devices) {
117 if (device.properties.deviceName == options.device_name) {
118 out_device = &device;
122 std::cerr << "Error: device '" << options.device_name
156 std::cout << " for device " << out_device->properties.deviceName;