From 9fc24713856d19a797ba73a3ed8ce7f5bf8f262b Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 10 Nov 2017 02:40:31 +0000 Subject: [PATCH] Deploy to GitHub Pages: 3d6ca6ade524a9512e26b72f06aec518f2eca99e --- develop/doc_cn/_sources/howto/dev/new_op_cn.md.txt | 2 +- develop/doc_cn/howto/dev/new_op_cn.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/develop/doc_cn/_sources/howto/dev/new_op_cn.md.txt b/develop/doc_cn/_sources/howto/dev/new_op_cn.md.txt index c823d7e9fc..6cfc9536f2 100644 --- a/develop/doc_cn/_sources/howto/dev/new_op_cn.md.txt +++ b/develop/doc_cn/_sources/howto/dev/new_op_cn.md.txt @@ -214,7 +214,7 @@ MulOp(const std::string &type, const framework::VariableNameMap &inputs, ```cpp // if use Eigen unsupported module before include head files - #define EIGEN_USE_GPU + // #define EIGEN_USE_GPU namespace ops = paddle::operators; REGISTER_OP_GPU_KERNEL(mul, ops::MulKernel); diff --git a/develop/doc_cn/howto/dev/new_op_cn.html b/develop/doc_cn/howto/dev/new_op_cn.html index 62c591f07c..525030728c 100644 --- a/develop/doc_cn/howto/dev/new_op_cn.html +++ b/develop/doc_cn/howto/dev/new_op_cn.html @@ -394,7 +394,7 @@ Kernel实现 | CPU、GPU共享Kernel实现在.cu的开始请加上宏定义 #define EIGEN_USE_GPU,代码示例如下:
// if use Eigen unsupported module before include head files
-#define EIGEN_USE_GPU
+// #define EIGEN_USE_GPU
 
 namespace ops = paddle::operators;
 REGISTER_OP_GPU_KERNEL(mul, ops::MulKernel<paddle::platform::GPUPlace, float>);
-- 
GitLab