Skip to content

Commit

Permalink
Fix get device context error (PaddlePaddle#34)
Browse files Browse the repository at this point in the history
Co-authored-by: jianghaicheng <haichengj@graphcore.ai>
  • Loading branch information
jianghaicheng and jianghaicheng authored Aug 9, 2021
1 parent 3af0a36 commit 5fc456d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paddle/fluid/operators/ipu_runtime_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ Run graph by PopART runtime.
} // namespace paddle

namespace ops = paddle::operators;
REGISTER_OPERATOR(ipu_runtime, ops::IpuRuntimeOp,
ops::IpuRuntimeOpMaker);
REGISTER_OPERATOR(ipu_runtime, ops::IpuRuntimeOp, ops::IpuRuntimeOpMaker);
REGISTER_OP_CPU_KERNEL(ipu_runtime, ops::IpuRuntimeKernel<float>)
REGISTER_OP_IPU_KERNEL(ipu_runtime, ops::IpuRuntimeKernel<float>)

0 comments on commit 5fc456d

Please sign in to comment.