From cce18c9fe6ae763c3cd93038d09a390a5a0ac99e Mon Sep 17 00:00:00 2001 From: gongweibao Date: Mon, 29 Jan 2018 12:50:56 +0800 Subject: [PATCH] Fix typo (#7933) * fix typo * fix typo --- doc/design/support_new_device.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/design/support_new_device.md b/doc/design/support_new_device.md index b154f01d32..8983df9004 100644 --- a/doc/design/support_new_device.md +++ b/doc/design/support_new_device.md @@ -174,7 +174,7 @@ class MaxOutFunctor { }; ``` -CPU implemention is in .cc file +CPU implementation is in .cc file ``` template @@ -188,7 +188,7 @@ class MaxOutFunctor { }; ``` -CUDA implemention is in .cu file +CUDA implementation is in .cu file ``` template @@ -203,9 +203,9 @@ class MaxOutFunctor { ``` -We first obtain the computing handle from a concrete DeviceContext, and then compute on tensors. +We first obtain the computing handle from a concrete DeviceContext and then compute on tensors. -The implemention of `OpKernel` is similar to math functors, the extra thing we need to do is to register the OpKernel in a global map. +The implementation of `OpKernel` is similar to math functors, the extra thing we need to do is to register the OpKernel in a global map. Fluid provides different register interfaces in op_registry.h -- GitLab