aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/compiler
diff options
context:
space:
mode:
authorGravatar Jonathan Hseu <jhseu@google.com>2017-03-17 10:07:17 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-17 11:27:13 -0700
commit490a2235fb609de91cda3bae8a9aa808b4a014d1 (patch)
treea12bae1466597084a16d0f84980a53cb31da11c9 /tensorflow/contrib/compiler
parentf4b237f8cdd25a45dc26adc61c3086c2575f5396 (diff)
Remove the unnecessary RTLD_GLOBAL dlopen flag in the remaining tests.
Change: 150460215
Diffstat (limited to 'tensorflow/contrib/compiler')
-rw-r--r--tensorflow/contrib/compiler/jit_test.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tensorflow/contrib/compiler/jit_test.py b/tensorflow/contrib/compiler/jit_test.py
index 2130f32f85..5e03833260 100644
--- a/tensorflow/contrib/compiler/jit_test.py
+++ b/tensorflow/contrib/compiler/jit_test.py
@@ -18,16 +18,6 @@ from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
-import sys
-
-
-# TODO(keveman): #6568 Remove this hack that makes dlopen() not crash.
-if hasattr(sys, "getdlopenflags") and hasattr(sys, "setdlopenflags"):
- import ctypes # pylint: disable=g-import-not-at-top
- sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL)
-
-
-# pylint: disable=g-import-not-at-top
from tensorflow.contrib.compiler import jit
from tensorflow.python.framework import constant_op
from tensorflow.python.framework import function