未验证 提交 2e7c172c 编写于 作者: L limingshu 提交者: GitHub

first commit (#38143)

上级 127da101
...@@ -34,7 +34,7 @@ namespace cub = hipcub; ...@@ -34,7 +34,7 @@ namespace cub = hipcub;
#include "paddle/fluid/operators/elementwise/elementwise_op_broadcast.cu.h" #include "paddle/fluid/operators/elementwise/elementwise_op_broadcast.cu.h"
#include "paddle/fluid/operators/kernel_primitives/kernel_primitives.h" #include "paddle/fluid/operators/kernel_primitives/kernel_primitives.h"
#include "paddle/fluid/operators/reduce_ops/reduce_op.cu.h" #include "paddle/fluid/operators/reduce_ops/reduce_op.cu.h"
#include "paddle/fluid/platform/fast_divmod.h" #include "paddle/phi/kernels/funcs/fast_divmod.h"
namespace paddle { namespace paddle {
namespace operators { namespace operators {
......
...@@ -15,7 +15,7 @@ limitations under the License. */ ...@@ -15,7 +15,7 @@ limitations under the License. */
#include "paddle/fluid/operators/optimizers/lars_momentum_op.h" #include "paddle/fluid/operators/optimizers/lars_momentum_op.h"
#include "paddle/fluid/framework/op_registry.h" #include "paddle/fluid/framework/op_registry.h"
#include "paddle/fluid/operators/amp/fp16_type_traits.h" #include "paddle/fluid/operators/amp/fp16_type_traits.h"
#include "paddle/fluid/platform/fast_divmod.h" #include "paddle/phi/kernels/funcs/aligned_vector.h"
#include "paddle/phi/kernels/funcs/math_cuda_utils.h" #include "paddle/phi/kernels/funcs/math_cuda_utils.h"
#if CUDA_VERSION >= 11000 #if CUDA_VERSION >= 11000
......
...@@ -23,8 +23,8 @@ limitations under the License. */ ...@@ -23,8 +23,8 @@ limitations under the License. */
#define __forceinline__ __inline__ #define __forceinline__ __inline__
#endif #endif
namespace paddle { namespace phi {
namespace platform { namespace funcs {
struct FastDivMod { struct FastDivMod {
// 1st value represents the result of input number divides by recorded divisor // 1st value represents the result of input number divides by recorded divisor
...@@ -64,5 +64,5 @@ struct FastDivMod { ...@@ -64,5 +64,5 @@ struct FastDivMod {
uint32_t multiplier; uint32_t multiplier;
}; };
} // namespace platform } // namespace funcs
} // namespace paddle } // namespace phi
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册