Rollback of CL 183879566, and fix Windows CMAKE build by copying one additional CUDA...
authorA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 6 Feb 2018 08:24:51 +0000 (00:24 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 6 Feb 2018 08:32:02 +0000 (00:32 -0800)
PiperOrigin-RevId: 184644220

tensorflow/contrib/cmake/CMakeLists.txt
tensorflow/core/BUILD

index 12bfd3c..b732b23 100644 (file)
@@ -364,6 +364,8 @@ if (tensorflow_ENABLE_GPU)
       ${CUDA_TOOLKIT_TARGET_DIR}/include/cufft.h ${CUDA_TOOLKIT_TARGET_DIR}/include/curand.h
       ${CUDA_TOOLKIT_TARGET_DIR}/include/cuda_runtime_api.h
       ${CUDA_TOOLKIT_TARGET_DIR}/include/cusolverDn.h
+      ${CUDA_TOOLKIT_TARGET_DIR}/include/cuda_fp16.h
+      ${CUDA_TOOLKIT_TARGET_DIR}/include/device_functions.h
       DESTINATION ${tensorflow_source_dir}/third_party/gpus/cuda/include
     )
   else(WIN32)
index 3aa3018..7fade69 100644 (file)
@@ -1906,7 +1906,6 @@ cc_library(
 tf_cuda_library(
     name = "cuda_device_functions",
     hdrs = ["util/cuda_device_functions.h"],
-    cuda_deps = ["//third_party_gpus/cuda:cuda_headers"],
     visibility = ["//visibility:public"],
     deps = [":framework_lite"],
 )