Step two of renaming some files from cuda_* to gpu_*: Change #include directives. See PR #24293.

PiperOrigin-RevId: 243570601
This commit is contained in:
A. Unique TensorFlower 2019-04-15 01:08:46 -07:00 committed by TensorFlower Gardener
parent 5e52b70188
commit ce4c76265a
8 changed files with 11 additions and 13 deletions

View File

@ -18,7 +18,7 @@ limitations under the License.
#include "tensorflow/contrib/image/kernels/adjust_hsv_in_yiq_op.h" #include "tensorflow/contrib/image/kernels/adjust_hsv_in_yiq_op.h"
#include "tensorflow/core/kernels/gpu_utils.h" #include "tensorflow/core/kernels/gpu_utils.h"
#include "tensorflow/core/platform/stream_executor.h" #include "tensorflow/core/platform/stream_executor.h"
#include "tensorflow/core/util/cuda_kernel_helper.h" #include "tensorflow/core/util/gpu_kernel_helper.h"
namespace tensorflow { namespace tensorflow {

View File

@ -685,7 +685,7 @@ $(wildcard tensorflow/core/platform/windows/*) \
$(wildcard tensorflow/core/grappler/inputs/trivial_test_graph_input_yielder.*) \ $(wildcard tensorflow/core/grappler/inputs/trivial_test_graph_input_yielder.*) \
$(wildcard tensorflow/core/grappler/inputs/file_input_yielder.*) \ $(wildcard tensorflow/core/grappler/inputs/file_input_yielder.*) \
$(wildcard tensorflow/core/grappler/clusters/single_machine.*) \ $(wildcard tensorflow/core/grappler/clusters/single_machine.*) \
tensorflow/core/util/cuda_kernel_helper_test.cu.cc tensorflow/core/util/gpu_kernel_helper_test.cu.cc
CORE_CC_EXCLUDE_SRCS := \ CORE_CC_EXCLUDE_SRCS := \
$(CORE_CC_EXCLUDE_SRCS_NON_GPU) \ $(CORE_CC_EXCLUDE_SRCS_NON_GPU) \

View File

@ -19,9 +19,8 @@ limitations under the License.
#define EIGEN_USE_GPU #define EIGEN_USE_GPU
#include "tensorflow/core/util/cuda_launch_config.h"
#include "tensorflow/contrib/mpi_collectives/kernels/ring.h" #include "tensorflow/contrib/mpi_collectives/kernels/ring.h"
#include "tensorflow/core/util/gpu_launch_config.h"
namespace tensorflow { namespace tensorflow {
namespace contrib { namespace contrib {

View File

@ -21,7 +21,7 @@ limitations under the License.
#include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op.h"
#include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/op_kernel.h"
#include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/register_types.h"
#include "tensorflow/core/util/cuda_kernel_helper.h" #include "tensorflow/core/util/gpu_kernel_helper.h"
namespace tensorflow { namespace tensorflow {

View File

@ -17,13 +17,13 @@
#define EIGEN_USE_GPU #define EIGEN_USE_GPU
#include "tensorflow/contrib/resampler/kernels/resampler_ops.h"
#include <stdio.h> #include <stdio.h>
#include <cmath> #include <cmath>
#include "tensorflow/contrib/resampler/kernels/resampler_ops.h"
#include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/register_types.h"
#include "tensorflow/core/util/cuda_kernel_helper.h" #include "tensorflow/core/util/gpu_kernel_helper.h"
namespace tensorflow { namespace tensorflow {

View File

@ -17,12 +17,11 @@ limitations under the License.
#define EIGEN_USE_GPU #define EIGEN_USE_GPU
#include "tensorflow/contrib/rnn/kernels/lstm_ops.h"
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
#include "tensorflow/contrib/rnn/kernels/lstm_ops.h"
#include "tensorflow/core/kernels/eigen_activations.h" #include "tensorflow/core/kernels/eigen_activations.h"
#include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/logging.h"
#include "tensorflow/core/util/cuda_kernel_helper.h" #include "tensorflow/core/util/gpu_kernel_helper.h"
namespace tensorflow { namespace tensorflow {
namespace functor { namespace functor {

View File

@ -18,7 +18,7 @@ limitations under the License.
#define EIGEN_USE_GPU #define EIGEN_USE_GPU
#include "tensorflow/contrib/seq2seq/kernels/beam_search_ops.h" #include "tensorflow/contrib/seq2seq/kernels/beam_search_ops.h"
#include "tensorflow/core/util/cuda_kernel_helper.h" #include "tensorflow/core/util/gpu_kernel_helper.h"
namespace tensorflow { namespace tensorflow {
namespace functor { namespace functor {

View File

@ -24,7 +24,7 @@ limitations under the License.
#include "cuda/include/cuda_runtime_api.h" #include "cuda/include/cuda_runtime_api.h"
#include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/op_kernel.h"
#include "tensorflow/core/platform/stream_executor.h" #include "tensorflow/core/platform/stream_executor.h"
#include "tensorflow/core/util/cuda_launch_config.h" #include "tensorflow/core/util/gpu_launch_config.h"
namespace tensorflow { namespace tensorflow {
namespace tensorrt { namespace tensorrt {