Register the sycl device under the '/device:SYCL:id' name so that its name follow the standard naming convention for devices
This commit is contained in:
parent
90113e739c
commit
8f97e2448d
@ -29,7 +29,7 @@ class SYCLDeviceFactory : public DeviceFactory {
|
||||
n = iter->second;
|
||||
}
|
||||
for (int i = 0; i < n; i++) {
|
||||
string name = strings::StrCat(name_prefix, "/sycl:", i);
|
||||
string name = strings::StrCat(name_prefix, "/device:SYCL:", i);
|
||||
devices->push_back(new SYCLDevice(
|
||||
options, name, Bytes(256 << 20), DeviceLocality(),
|
||||
SYCLDevice::GetShortDeviceDescription(), cpu_allocator()));
|
||||
|
Loading…
Reference in New Issue
Block a user