已合并
asin/acos CMakeList中添加芯片对应的tiling文件目录 #2659
xufeng12121创建于 5月9日
asin/acos CMakeList中添加芯片对应的tiling文件目录 #2659
已合并
共 2 个文件变更+4-4
| @@ -8,7 +8,7 @@ | |||
| 8 | # See LICENSE in the root of the software repository for the full text of the License. | 8 | # See LICENSE in the root of the software repository for the full text of the License. |
| 9 | # --------------------------------------------------------------------------------------------------------- | 9 | # --------------------------------------------------------------------------------------------------------- |
| 10 | 10 | ||
| 11 | -set(SUPPORT_COMPUTE_UNIT "ascend950") | 11 | +set(SUPPORT_COMPUTE_UNIT "ascend950" "mc62cm12a") |
| 12 | # 设置每种芯片类型对应的tiling文件目录,即采用op_host目录下哪个文件夹下的tiling文件编译 | 12 | # 设置每种芯片类型对应的tiling文件目录,即采用op_host目录下哪个文件夹下的tiling文件编译 |
| 13 | -set(SUPPORT_TILING_DIR "arch35") | 13 | +set(SUPPORT_TILING_DIR "arch35" "arch35") |
| 14 | add_all_modules_sources(OPTYPE acos ACLNNTYPE aclnn_exclude COMPUTE_UNIT ${SUPPORT_COMPUTE_UNIT} TILING_DIR ${SUPPORT_TILING_DIR} DISABLE_IN_OPP TRUE) | 14 | add_all_modules_sources(OPTYPE acos ACLNNTYPE aclnn_exclude COMPUTE_UNIT ${SUPPORT_COMPUTE_UNIT} TILING_DIR ${SUPPORT_TILING_DIR} DISABLE_IN_OPP TRUE) |
| @@ -10,7 +10,7 @@ | |||
| 10 | # ---------------------------------------------------------------------------- | 10 | # ---------------------------------------------------------------------------- |
| 11 | 11 | ||
| 12 | # 设置算子定义时支持的芯片类型 | 12 | # 设置算子定义时支持的芯片类型 |
| 13 | -set(SUPPORT_COMPUTE_UNIT "ascend950") | 13 | +set(SUPPORT_COMPUTE_UNIT "ascend950" "mc62cm12a") |
| 14 | # 设置每种芯片类型对应的tiling文件目录,即采用op_host目录下哪个文件夹下的tiling文件编译 | 14 | # 设置每种芯片类型对应的tiling文件目录,即采用op_host目录下哪个文件夹下的tiling文件编译 |
| 15 | -set(SUPPORT_TILING_DIR "arch35") | 15 | +set(SUPPORT_TILING_DIR "arch35" "arch35") |
| 16 | add_all_modules_sources(OPTYPE asin ACLNNTYPE aclnn_exclude COMPUTE_UNIT ${SUPPORT_COMPUTE_UNIT} TILING_DIR ${SUPPORT_TILING_DIR} DISABLE_IN_OPP TRUE) | 16 | add_all_modules_sources(OPTYPE asin ACLNNTYPE aclnn_exclude COMPUTE_UNIT ${SUPPORT_COMPUTE_UNIT} TILING_DIR ${SUPPORT_TILING_DIR} DISABLE_IN_OPP TRUE) |