Step two of renaming some files from cuda_* to gpu_*: Change #include directives. See PR #24293.
PiperOrigin-RevId: 243143199
This commit is contained in:
parent
4accf25bb1
commit
ea3cb637ac
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
#if GOOGLE_CUDA
|
#if GOOGLE_CUDA
|
||||||
#define EIGEN_USE_GPU
|
#define EIGEN_USE_GPU
|
||||||
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
|
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
|
||||||
#include "tensorflow/core/util/cuda_launch_config.h"
|
#include "tensorflow/core/util/gpu_launch_config.h"
|
||||||
|
|
||||||
__global__ void AddOneKernel(const int* in, const int N, int* out) {
|
__global__ void AddOneKernel(const int* in, const int N, int* out) {
|
||||||
for (int i = blockIdx.x * blockDim.x + threadIdx.x; i < N;
|
for (int i = blockIdx.x * blockDim.x + threadIdx.x; i < N;
|
||||||
|
|||||||
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
#if GOOGLE_CUDA
|
#if GOOGLE_CUDA
|
||||||
#define EIGEN_USE_GPU
|
#define EIGEN_USE_GPU
|
||||||
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
|
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
|
||||||
#include "tensorflow/core/util/cuda_launch_config.h"
|
#include "tensorflow/core/util/gpu_launch_config.h"
|
||||||
|
|
||||||
__global__ void AddOneKernel(const int* in, const int N, int* out) {
|
__global__ void AddOneKernel(const int* in, const int N, int* out) {
|
||||||
for (int i = blockIdx.x * blockDim.x + threadIdx.x; i < N;
|
for (int i = blockIdx.x * blockDim.x + threadIdx.x; i < N;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user