已合并
修复单仓重复头文件问题 #8533
XianyongWang创建于 8月11日
修复单仓重复头文件问题 #8533
已合并
共 11 个文件变更+27-27
Rconv/common/op_kernel/arch35/conv_common_func.h→conv/common/op_kernel/arch35/conv_common_func_arch35.h+4-4
| @@ -9,16 +9,16 @@ | |||
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | /*! | 11 | /*! |
| 12 | - * \file conv_common_func.h | 12 | + * \file conv_common_func_arch35.h |
| 13 | * \brief | 13 | * \brief |
| 14 | */ | 14 | */ |
| 15 | 15 | ||
| 16 | -#ifndef CONV_COMMON_FUNC_H | 16 | +#ifndef CONV_COMMON_FUNC_ARCH35_H |
| 17 | -#define CONV_COMMON_FUNC_H | 17 | +#define CONV_COMMON_FUNC_ARCH35_H |
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | -#include "conv_framework_util.h" | 21 | +#include "conv_framework_util_arch35.h" |
| 22 | 22 | ||
| 23 | 23 | ||
| 24 | 24 | ||
Rconv/common/op_kernel/arch35/conv_framework_util.h→conv/common/op_kernel/arch35/conv_framework_util_arch35.h+4-4
| @@ -9,12 +9,12 @@ | |||
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | /*! | 11 | /*! |
| 12 | - * \file conv_framework_util.h | 12 | + * \file conv_framework_util_arch35.h |
| 13 | * \brief | 13 | * \brief |
| 14 | */ | 14 | */ |
| 15 | 15 | ||
| 16 | -#ifndef CONV_FRAMEWORK_UTIL_H | 16 | +#ifndef CONV_FRAMEWORK_UTIL_ARCH35_H |
| 17 | -#define CONV_FRAMEWORK_UTIL_H | 17 | +#define CONV_FRAMEWORK_UTIL_ARCH35_H |
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | 20 | ||
| @@ -127,4 +127,4 @@ public \ | |||
| 127 | // Check whether T::M is const var. | 127 | // Check whether T::M is const var. |
| 128 | 128 | ||
| 129 | 129 | ||
| 130 | -#endif // CONV_FRAMEWORK_UTIL_H | 130 | +#endif // CONV_FRAMEWORK_UTIL_ARCH35_H |
| @@ -17,7 +17,7 @@ | |||
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | -#include "conv_framework_util.h" | 20 | +#include "conv_framework_util_arch35.h" |
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | 23 | ||
| @@ -17,7 +17,7 @@ | |||
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | -#include "conv_framework_util.h" | 20 | +#include "conv_framework_util_arch35.h" |
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | 23 | ||
| @@ -17,7 +17,7 @@ | |||
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | -#include "conv_framework_util.h" | 20 | +#include "conv_framework_util_arch35.h" |
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | namespace ConvFunc { | 23 | namespace ConvFunc { |
| @@ -344,4 +344,4 @@ __aicore__ inline void OptGroupVecInit(Intf* self) | |||
| 344 | 344 | ||
| 345 | }; // namespace ConvFunc | 345 | }; // namespace ConvFunc |
| 346 | 346 | ||
| 347 | -#endif // CONV_OPT_GROUP_INIT_IMPL_H | 347 | +#endif // CONV_OPT_GROUP_INIT_IMPL_H |
| @@ -16,7 +16,7 @@ | |||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | -#include "../../common/arch35/conv_framework_util.h" | 19 | +#include "../../common/arch35/conv_framework_util_arch35.h" |
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | 22 | ||
| @@ -191,4 +191,4 @@ public: | |||
| 191 | }; | 191 | }; |
| 192 | } // namespace conv2d | 192 | } // namespace conv2d |
| 193 | 193 | ||
| 194 | -#endif // CONV2D_V2_API_IMPL_H | 194 | +#endif // CONV2D_V2_API_IMPL_H |
| @@ -16,8 +16,8 @@ | |||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | -#include "../../common/arch35/conv_common_func.h" | 19 | +#include "../../common/arch35/conv_common_func_arch35.h" |
| 20 | -#include "../../common/arch35/conv_framework_util.h" | 20 | +#include "../../common/arch35/conv_framework_util_arch35.h" |
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | 23 | ||
| @@ -16,8 +16,8 @@ | |||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | -#include "../../common/arch35/conv_common_func.h" | 19 | +#include "../../common/arch35/conv_common_func_arch35.h" |
| 20 | -#include "../../common/arch35/conv_framework_util.h" | 20 | +#include "../../common/arch35/conv_framework_util_arch35.h" |
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | 23 | ||
| @@ -352,4 +352,4 @@ public: | |||
| 352 | 352 | ||
| 353 | } // namespace conv2d | 353 | } // namespace conv2d |
| 354 | 354 | ||
| 355 | -#endif // CONV2D_V2_INTF_H | 355 | +#endif // CONV2D_V2_INTF_H |
| @@ -16,7 +16,7 @@ | |||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | -#include "../../common/arch35/conv_framework_util.h" | 19 | +#include "../../common/arch35/conv_framework_util_arch35.h" |
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | 22 | ||
| @@ -152,4 +152,4 @@ public: | |||
| 152 | 152 | ||
| 153 | } // namespace conv3d | 153 | } // namespace conv3d |
| 154 | 154 | ||
| 155 | -#endif // CONV3D_V2_API_IMPL_H | 155 | +#endif // CONV3D_V2_API_IMPL_H |
| @@ -16,8 +16,8 @@ | |||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | -#include "../../common/arch35/conv_common_func.h" | 19 | +#include "../../common/arch35/conv_common_func_arch35.h" |
| 20 | -#include "../../common/arch35/conv_framework_util.h" | 20 | +#include "../../common/arch35/conv_framework_util_arch35.h" |
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | 23 | ||
| @@ -287,4 +287,4 @@ struct SetOptGroupParams { | |||
| 287 | 287 | ||
| 288 | } // namespace Conv3dFunc | 288 | } // namespace Conv3dFunc |
| 289 | 289 | ||
| 290 | -#endif // CONV3D_V2_COMMON_FUNC_H | 290 | +#endif // CONV3D_V2_COMMON_FUNC_H |
| @@ -16,8 +16,8 @@ | |||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | -#include "../../common/arch35/conv_common_func.h" | 19 | +#include "../../common/arch35/conv_common_func_arch35.h" |
| 20 | -#include "../../common/arch35/conv_framework_util.h" | 20 | +#include "../../common/arch35/conv_framework_util_arch35.h" |
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | 23 | ||
| @@ -270,4 +270,4 @@ private: | |||
| 270 | 270 | ||
| 271 | } // namespace conv3d | 271 | } // namespace conv3d |
| 272 | 272 | ||
| 273 | -#endif // CONV3D_V2_INTF_H | 273 | +#endif // CONV3D_V2_INTF_H |