From: A. Unique TensorFlower Date: Sat, 12 May 2018 22:40:29 +0000 (-0700) Subject: Automated g4 rollback of changelist 196349902 X-Git-Tag: upstream/v1.9.0_rc1~116^2^2~68 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c03bd90c5c89856e53a33f9bae9130237abd3914;p=platform%2Fupstream%2Ftensorflow.git Automated g4 rollback of changelist 196349902 PiperOrigin-RevId: 196387391 --- diff --git a/tensorflow/contrib/fused_conv/BUILD b/tensorflow/contrib/fused_conv/BUILD index 0f0813c..0eb6889 100644 --- a/tensorflow/contrib/fused_conv/BUILD +++ b/tensorflow/contrib/fused_conv/BUILD @@ -75,7 +75,6 @@ tf_kernel_library( "//tensorflow/core/kernels:gpu_util_hdrs", "//tensorflow/core/kernels:ops_util_hdrs", "//third_party/eigen3", - "@local_config_cuda//cuda:cudnn_header", ], alwayslink = 1, ) @@ -95,7 +94,6 @@ tf_custom_op_library( "//tensorflow/core/kernels:conv_ops_gpu_hdrs", "//tensorflow/core/kernels:gpu_util_hdrs", "//tensorflow/core/kernels:ops_util_hdrs", - "@local_config_cuda//cuda:cudnn_header", ], ) diff --git a/tensorflow/core/grappler/clusters/BUILD b/tensorflow/core/grappler/clusters/BUILD index d0b2cf0..30c6126 100644 --- a/tensorflow/core/grappler/clusters/BUILD +++ b/tensorflow/core/grappler/clusters/BUILD @@ -20,9 +20,6 @@ tf_cuda_library( name = "utils", srcs = ["utils.cc"], hdrs = ["utils.h"], - cuda_deps = [ - "@local_config_cuda//cuda:cudnn_header", - ], visibility = ["//visibility:public"], deps = [ "//third_party/eigen3", diff --git a/tensorflow/core/grappler/costs/BUILD b/tensorflow/core/grappler/costs/BUILD index b054068..35f11ea 100644 --- a/tensorflow/core/grappler/costs/BUILD +++ b/tensorflow/core/grappler/costs/BUILD @@ -129,9 +129,6 @@ tf_cuda_library( name = "utils", srcs = ["utils.cc"], hdrs = ["utils.h"], - cuda_deps = [ - "@local_config_cuda//cuda:cudnn_header", - ], visibility = ["//visibility:public"], deps = [ "//third_party/eigen3", diff --git a/tensorflow/core/kernels/BUILD b/tensorflow/core/kernels/BUILD index 0263967..3fb03cd 100644 --- a/tensorflow/core/kernels/BUILD +++ b/tensorflow/core/kernels/BUILD @@ -3301,7 +3301,7 @@ tf_kernel_library( "//tensorflow/core:nn_ops_op_lib", ] + if_cuda([ "@cub_archive//:cub", - "@local_config_cuda//cuda:cudnn_header", + "@local_config_cuda//cuda:cudnn", ]), ) @@ -3320,7 +3320,7 @@ tf_kernel_library( "//tensorflow/core:lib", "//tensorflow/core:nn_ops_op_lib", ] + if_cuda([ - "@local_config_cuda//cuda:cudnn_header", + "@local_config_cuda//cuda:cudnn", ]), ) diff --git a/third_party/gpus/cuda/BUILD.tpl b/third_party/gpus/cuda/BUILD.tpl index f6b497f..2a37c65 100644 --- a/third_party/gpus/cuda/BUILD.tpl +++ b/third_party/gpus/cuda/BUILD.tpl @@ -128,15 +128,6 @@ cc_library( ) cc_library( - name = "cudnn_header", - includes = [ - ".", - "cuda/include", - ], - visibility = ["//visibility:public"], -) - -cc_library( name = "cufft", srcs = ["cuda/lib/%{cufft_lib}"], data = ["cuda/lib/%{cufft_lib}"],