lukeiwanski / tensorflow

OpenCL support for TensorFlow via SYCL
Apache License 2.0
65 stars 14 forks source link

[OpenCL] Fixes device name comparison in testlib #150

Closed jwlawson closed 7 years ago

jwlawson commented 7 years ago

The device name used in the tests should not be assumed to be "/gpu:0", but should use the value provided by gpu_device_name().