Save the date! Google I/O returns May 18-20 Register now

tf.test.is_built_with_gpu_support

Returns whether TensorFlow was built with GPU (i.e. CUDA or ROCm) support.