Only link the swapping code when compiling TensorFlow with CUDA support.
authorBenoit Steiner <bsteiner@google.com>
Tue, 27 Feb 2018 01:01:24 +0000 (17:01 -0800)
committerGunhan Gulsoy <gunan@google.com>
Tue, 27 Feb 2018 22:33:33 +0000 (14:33 -0800)
commit60ff3890e98f53c1037440d5e535f6f79ad42d7d
tree27863ef935f2a979df8d8d145e98f3aea01bb2cd
parentd1ba271902a91a044e7515e248cd9f384a91067b
Only link the swapping code when compiling TensorFlow with CUDA support.

PiperOrigin-RevId: 187104273
tensorflow/core/grappler/optimizers/BUILD