Skip to content

Commit

Permalink
fix windows gpu build by disabling nccl which currently will not (ten…
Browse files Browse the repository at this point in the history
…sorflow#9005)

compile/work on windows
  • Loading branch information
guschmue authored and rohan100jain committed Apr 6, 2017
1 parent fa21d4d commit f8dce81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tensorflow/contrib/cmake/tf_core_kernels.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ if(WIN32)
"${tensorflow_source_dir}/tensorflow/contrib/rnn/kernels/lstm_ops.cc"
"${tensorflow_source_dir}/tensorflow/contrib/rnn/ops/gru_ops.cc"
"${tensorflow_source_dir}/tensorflow/contrib/rnn/ops/lstm_ops.cc"
# temporarily disable nccl (nccl itself needs to be ported to windows first)
"${tensorflow_source_dir}/tensorflow/contrib/nccl/kernels/nccl_manager.cc"
"${tensorflow_source_dir}/tensorflow/contrib/nccl/kernels/nccl_ops.cc"
"${tensorflow_source_dir}/tensorflow/contrib/nccl/ops/nccl_ops.cc"
)
list(REMOVE_ITEM tf_core_kernels_srcs ${tf_core_kernels_windows_exclude_srcs})
endif(WIN32)
Expand Down

0 comments on commit f8dce81

Please sign in to comment.