Updated the name of the sycl device

This commit is contained in:
Benoit Steiner 2016-11-02 20:38:51 -07:00
parent fc9bde9c06
commit 8d26ac88ef

View File

@ -68,7 +68,7 @@ TEST_F(DeviceSetTest, PrioritizedDeviceTypeList) {
(std::vector<DeviceType>{DeviceType(DEVICE_GPU), DeviceType(DEVICE_CPU)}), (std::vector<DeviceType>{DeviceType(DEVICE_GPU), DeviceType(DEVICE_CPU)}),
types()); types());
AddDevice("SYCL", "/job:a/replica:0/task:0/sycl:0"); AddDevice("SYCL", "/job:a/replica:0/task:0/device:sycl:0");
EXPECT_EQ( EXPECT_EQ(
(std::vector<DeviceType>{DeviceType(DEVICE_SYCL), DeviceType(DEVICE_GPU), (std::vector<DeviceType>{DeviceType(DEVICE_SYCL), DeviceType(DEVICE_GPU),
DeviceType(DEVICE_CPU)}), types()); DeviceType(DEVICE_CPU)}), types());