add_op.cu 200 字节
Newer Older
Q
qijun 已提交
1 2
#include "paddle/operators/add_op.h"
#include "paddle/framework/op_registry.h"
Y
Yu Yang 已提交
3 4

REGISTER_OP_GPU_KERNEL(add_two,
Q
qijun 已提交
5
                       paddle::operators::AddKernel<paddle::platform::GPUPlace, float>);