Commit 5fe90b57 authored by Yangzihao Wang's avatar Yangzihao Wang Committed by TensorFlower Gardener
Browse files

Force the CUDA runtime initialization before device creation.

This is to avoid silent failure and garbage results produced when launching two TensorFlow programs simultaneously in two different processes.

PiperOrigin-RevId: 173456597
parent 71beb2db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment