This will simply change the order the SYCL devices are added. By default TF will still use the first device added.
With these changes the devices are added in the following order:
if the environment variable TENSORFLOW_SYCL_USE_PLATFORM_NAME_VENDOR_ID is set to :, this specific device will be added. It is useful if there are multiple similar platforms or similar devices
if the environment variable TENSORFLOW_SYCL_USE_DEVICE_TYPE is set to gpu, cpu or acc, the first device of the specified type will be added. It should only be used if there is one device of the given type
This will simply change the order the SYCL devices are added. By default TF will still use the first device added.
With these changes the devices are added in the following order: