Commit 14f0af7f authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Correctly fall back to not use cupti when cuda couldn't be initialized.

This happens when we run a binary that has been compiled with cuda on a system
that has the cupti so's installed, but no GPU; this is common when testing
with a docker image that is configured for GPU but also wants to run CPU tests
on a system without GPUs.

PiperOrigin-RevId: 217669058
parent 72d25069
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment