已合并
重命名RIG算子中的重复文件名 platform.h #10798
wuao创建于 9月20日
重命名RIG算子中的重复文件名 platform.h #10798
已合并
共 5 个文件变更+10-10
| @@ -17,7 +17,7 @@ | |||
| 17 | #define _REDUCE_BUF_POOL_H_ | 17 | #define _REDUCE_BUF_POOL_H_ |
| 18 | 18 | ||
| 19 | #include "kernel_operator.h" | 19 | #include "kernel_operator.h" |
| 20 | -#include "platform.h" | 20 | +#include "repeat_interleave_grad_platform.h" |
| 21 | #include "kernel_utils.h" | 21 | #include "kernel_utils.h" |
| 22 | 22 | ||
| 23 | namespace RepeatInterleaveGrad { | 23 | namespace RepeatInterleaveGrad { |
| @@ -142,4 +142,4 @@ private: | |||
| 142 | } | 142 | } |
| 143 | }; // class ReduceBufPool | 143 | }; // class ReduceBufPool |
| 144 | } // namespace RepeatInterleaveGrad | 144 | } // namespace RepeatInterleaveGrad |
| 145 | -#endif | 145 | +#endif |
| @@ -18,7 +18,7 @@ | |||
| 18 | 18 | ||
| 19 | #include "kernel_operator.h" | 19 | #include "kernel_operator.h" |
| 20 | #include "kernel_utils.h" | 20 | #include "kernel_utils.h" |
| 21 | -#include "platform.h" | 21 | +#include "repeat_interleave_grad_platform.h" |
| 22 | #include "repeat_interleave_grad_david_tiling_data.h" | 22 | #include "repeat_interleave_grad_david_tiling_data.h" |
| 23 | 23 | ||
| 24 | namespace RepeatInterleaveGrad { | 24 | namespace RepeatInterleaveGrad { |
| @@ -115,4 +115,4 @@ __aicore__ inline void DoUbSplit(int64_t splitLen, int64_t splitFactor, UbParaUn | |||
| 115 | 115 | ||
| 116 | } // namespace __RIGUtil | 116 | } // namespace __RIGUtil |
| 117 | } // namespace RepeatInterleaveGrad | 117 | } // namespace RepeatInterleaveGrad |
| 118 | -#endif // CANN_OPS_BUILD_IN_TBE_IMPL_ASCENDC_CUMSUM_CUMSUM_CORE_SS_UB_SS_TWOWAY_SS_H | 118 | +#endif // REPEAT_INTERLEAVE_GRAD_BASE_H |
| @@ -17,7 +17,7 @@ | |||
| 17 | #define OPS_MATH_REPEAT_INTERLEAVE_GRAD_OP_KERNEL_V35_REPEAT_INTERLEAVE_GRAD_BLOCK_SPLIT_R_H | 17 | #define OPS_MATH_REPEAT_INTERLEAVE_GRAD_OP_KERNEL_V35_REPEAT_INTERLEAVE_GRAD_BLOCK_SPLIT_R_H |
| 18 | 18 | ||
| 19 | #include "kernel_operator.h" | 19 | #include "kernel_operator.h" |
| 20 | -#include "platform.h" | 20 | +#include "repeat_interleave_grad_platform.h" |
| 21 | #include "reduce_buf_pool.h" | 21 | #include "reduce_buf_pool.h" |
| 22 | #include "repeat_interleave_grad_base.h" | 22 | #include "repeat_interleave_grad_base.h" |
| 23 | #include "repeat_interleave_grad_david_tiling_data.h" | 23 | #include "repeat_interleave_grad_david_tiling_data.h" |
| @@ -16,7 +16,7 @@ | |||
| 16 | #ifndef _REPEAT_INTERLEAVE_GRAD_DAVID_MN_H_ | 16 | #ifndef _REPEAT_INTERLEAVE_GRAD_DAVID_MN_H_ |
| 17 | #define _REPEAT_INTERLEAVE_GRAD_DAVID_MN_H_ | 17 | #define _REPEAT_INTERLEAVE_GRAD_DAVID_MN_H_ |
| 18 | #include "kernel_operator.h" | 18 | #include "kernel_operator.h" |
| 19 | -#include "platform.h" | 19 | +#include "repeat_interleave_grad_platform.h" |
| 20 | #include "reduce_buf_pool.h" | 20 | #include "reduce_buf_pool.h" |
| 21 | #include "repeat_interleave_grad_base.h" | 21 | #include "repeat_interleave_grad_base.h" |
| 22 | #include "repeat_interleave_grad_david_tiling_data.h" | 22 | #include "repeat_interleave_grad_david_tiling_data.h" |
Rindex/repeat_interleave_grad/op_kernel/v35/platform.h→index/repeat_interleave_grad/op_kernel/v35/repeat_interleave_grad_platform.h+4-4
| @@ -9,11 +9,11 @@ | |||
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | /*! | 11 | /*! |
| 12 | - * \file platform.h | 12 | + * \file repeat_interleave_grad_platform.h |
| 13 | * \brief platform apator | 13 | * \brief platform apator |
| 14 | */ | 14 | */ |
| 15 | -#ifndef OPS_BUILT_IN_OP_ASCENDC_PLATFORM_INFO_H_ | 15 | +#ifndef REPEAT_INTERLEAVE_GRAD_PLATFORM_H |
| 16 | -#define OPS_BUILT_IN_OP_ASCENDC_PLATFORM_INFO_H_ | 16 | +#define REPEAT_INTERLEAVE_GRAD_PLATFORM_H |
| 17 | 17 | ||
| 18 | #include "kernel_operator.h" | 18 | #include "kernel_operator.h" |
| 19 | #include "kernel_tiling/kernel_tiling.h" | 19 | #include "kernel_tiling/kernel_tiling.h" |
| @@ -74,4 +74,4 @@ __aicore__ inline constexpr bool IsDataCopyPadSupport() { return platform::IsDat | |||
| 74 | 74 | ||
| 75 | } // namespace PlatformSocInfo | 75 | } // namespace PlatformSocInfo |
| 76 | 76 | ||
| 77 | -#endif // OPS_BUILT_IN_OP_ASCENDC_PLATFORM_INFO_H_ | 77 | +#endif // REPEAT_INTERLEAVE_GRAD_PLATFORM_H |