与Issue #4407类似,MC2目录中存在大量使用__has_include。当前路径问题已解决,不需要通过__has_include区分,只需include真实头文件路径即可,请参考PR_11037整改
128 results - 80 files ~/ops-transformer/mc2/attention_to_ffn/op_kernel/attention_to_ffn.h: 27 #include "attention_to_ffn_tiling.h" 28: #if __has_include("../common/moe_distribute_base.h") 29 #include "../common/moe_distribute_base.h" ~/ops-transformer/mc2/attention_to_ffn_v2/op_kernel/attention_to_ffn_urma.h: 39 40: #if __has_include("../common/attention_ffn_context.h") 41 #include "../common/attention_ffn_context.h" 48 #if defined(__NPU_ARCH__) && (__NPU_ARCH__ == 3510) 49: #if __has_include("../common/quantize_functions.h") 50 #include "../common/quantize_functions.h" ~/ops-transformer/mc2/attention_to_ffn_v2/op_kernel/arch35/attention_to_ffn_v2.cpp: 20 #endif 21: #if __has_include("../../attention_to_ffn/attention_to_ffn_tiling.h") 22 #include "../../attention_to_ffn/attention_to_ffn_tiling.h" ~/ops-transformer/mc2/common/op_api/mc2_context.h: 19 #define HCCL_CHANNEL_SUPPORT_VERSION 89999700 20: #if __has_include("version/hcomm_version.h") 21 #include "version/hcomm_version.h" ~/ops-transformer/mc2/common/utils/mc2_common_log.h: 26 #include "securec.h" 27: #if __has_include("error_manager/error_manager.h") 28 #include "error_manager/error_manager.h" ~/ops-transformer/mc2/distribute_barrier/op_api/distribute_barrier_base.cpp: 27 #define HCCL_CHANNEL_SUPPORT_VERSION 89999700 28: #if __has_include("version/hcomm_version.h") 29 #include "version/hcomm_version.h" ~/ops-transformer/mc2/distribute_barrier/op_kernel/distribute_barrier.h: 24 #include "kernel_tiling/kernel_tiling.h" 25: #if __has_include("../common/moe_distribute_base.h") 26 #include "../common/mc2_moe_context.h" ~/ops-transformer/mc2/distribute_barrier_extend/op_kernel/arch35/distribute_barrier_extend_apt.cpp: 20 #endif 21: #if __has_include("../distribute_barrier/distribute_barrier_tiling.h") 22 #include "../distribute_barrier/distribute_barrier_tiling.h" ~/ops-transformer/mc2/engram_fetch/op_kernel/arch35/engram_fetch_arch35.h: 18 19: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 20 #include "version/asc_devkit_version.h" 39 #include "adv_api/hccl/hccl.h" 40: #if __has_include("adv_api/hcomm/hcomm.h") 41 #include "adv_api/hcomm/hcomm.h" ~/ops-transformer/mc2/engram_fetch/op_kernel/arch35/engram_fetch_train_arch35.h: 13 14: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 15 #include "version/asc_devkit_version.h" 34 #include "adv_api/hccl/hccl.h" 35: #if __has_include("adv_api/hcomm/hcomm.h") 36 #include "adv_api/hcomm/hcomm.h" ~/ops-transformer/mc2/engram_fetch/op_kernel/arch35/engram_fetch.cpp: 15 16: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 17 #include "version/asc_devkit_version.h" ~/ops-transformer/mc2/engram_fetch_grad/op_kernel/engram_fetch_grad.cpp: 15 16: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 17 #include "version/asc_devkit_version.h" ~/ops-transformer/mc2/engram_fetch_grad/op_kernel/arch35/engram_fetch_grad_arch35.h: 13 14: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 15 #include "version/asc_devkit_version.h" 34 #include "adv_api/hccl/hccl.h" 35: #if __has_include("adv_api/hcomm/hcomm.h") 36 #include "adv_api/hcomm/hcomm.h" ~/ops-transformer/mc2/engram_fetch_wait/op_kernel/arch35/engram_fetch_wait_arch35.h: 18 19: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 20 #include "version/asc_devkit_version.h" 36 #include "../engram_fetch_wait_tiling_data.h" 37: #if __has_include("../../engram_fetch/engram_fetch_utils.h") 38 #include "../../engram_fetch/engram_fetch_utils.h" 42 #include "adv_api/hccl/hccl.h" 43: #if __has_include("adv_api/hcomm/hcomm.h") 44 #include "adv_api/hcomm/hcomm.h" ~/ops-transformer/mc2/engram_fetch_wait/op_kernel/arch35/engram_fetch_wait.cpp: 15 16: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 17 #include "version/asc_devkit_version.h" ~/ops-transformer/mc2/ffn_to_attention/op_kernel/ffn_to_attention.h: 25 #include "ffn_to_attention_tiling.h" 26: #if __has_include("../common/moe_distribute_base.h") 27 #include "../common/moe_distribute_base.h" ~/ops-transformer/mc2/ffn_to_attention_v2/op_kernel/ffn_to_attention_urma.h: 26 27: #if __has_include("../common/moe_distribute_base.h") 28 #include "../common/moe_distribute_base.h" ~/ops-transformer/mc2/ffn_to_attention_v2/op_kernel/arch35/ffn_to_attention_v2.cpp: 20 #endif 21: #if __has_include("../../ffn_to_attention/ffn_to_attention.h") 22 #include "../../ffn_to_attention/ffn_to_attention.h" ~/ops-transformer/mc2/matmul_all_reduce/tests/ut/op_kernel/matmul_all_reduce_tiling_def.h: 25 #include "../../../op_kernel/unquant_matmul_all_reduce_tiling_data.h" 26: #if __has_include("../../../../common/utils/hccl_stub.h") 27 #include "../../../../../tests/ut/framework_normal/common/hccl_stub.h" ~/ops-transformer/mc2/matmul_all_reduce_add_rms_norm/tests/ut/op_kernel/matmul_all_reduce_add_rms_norm_tiling_def.h: 25 #include "../../../op_kernel/matmul_all_reduce_add_rms_norm_tiling_data.h" 26: #if __has_include("../../../../common/utils/hccl_stub.h") 27 #include "../../../../../tests/ut/framework_normal/common/hccl_stub.h" ~/ops-transformer/mc2/mega_moe/op_host/mega_moe_def.cpp: 14 15: #if __has_include("version/asc_devkit_version.h") 16 #include "version/asc_devkit_version.h" ~/ops-transformer/mc2/mega_moe/op_kernel/arch22/mega_moe_a2.h: 24 25: #if __has_include("../../common/moe_distribute_base.h") 26 #include "../../common/moe_distribute_base.h" ~/ops-transformer/mc2/mega_moe/op_kernel/arch22/mega_moe_arch22.h: 37 38: #if __has_include("../../common/moe_distribute_base.h") 39 #include "../../common/moe_distribute_base.h" ~/ops-transformer/mc2/mega_moe/op_kernel/arch22/utils/hccl_shmem.hpp: 27 28: #if __has_include("../../../common/moe_distribute_base.h") 29 #include "../../../common/moe_distribute_base.h" ~/ops-transformer/mc2/mega_moe/op_kernel/arch35/mega_moe_apt.cpp: 14 15: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 16 #include "version/asc_devkit_version.h" ~/ops-transformer/mc2/mega_moe/op_kernel/arch35/mega_moe_arch35.h: 20 #include "kernel_tiling/kernel_tiling.h" 21: #if __has_include("../../common/mc2_kernel_utils.h") 22 #include "../../common/mc2_kernel_utils.h" 39 #include "stage/mega_moe_unpermute.h" 40: #if __has_include("../../common/quantize_functions.h") 41 #include "../../common/quantize_functions.h" ~/ops-transformer/mc2/mega_moe/op_kernel/arch35/mega_moe_layered.h: 18 19: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 20 #include "version/asc_devkit_version.h" 30 #include "kernel_tiling/kernel_tiling.h" 31: #if __has_include("../../common/mc2_kernel_utils.h") 32 #include "../../common/mc2_kernel_utils.h" 43 #include "common/mega_moe_mxfp8_utils.h" 44: #if __has_include("../../common/quantize_functions.h") 45 #include "../../common/quantize_functions.h" ~/ops-transformer/mc2/mega_moe/op_kernel/arch35/mega_moe_wave_a8w8.h: 20 #include "kernel_tiling/kernel_tiling.h" 21: #if __has_include("../../common/mc2_kernel_utils.h") 22 #include "../../common/mc2_kernel_utils.h" 39 #include "stage/mega_moe_unpermute.h" 40: #if __has_include("../../common/quantize_functions.h") 41 #include "../../common/quantize_functions.h" ~/ops-transformer/mc2/mega_moe/op_kernel/arch35/common/mega_moe_mxfp8_utils.h: 16 #include "mega_moe_constants.h" 17: #if __has_include("../../../common/quantize_functions.h") 18 #include "../../../common/quantize_functions.h" ~/ops-transformer/mc2/mega_moe/op_kernel/arch35/common/mega_moe_types.h: 21 #endif 22: #if __has_include("../../../common/mc2_moe_context.h") 23 #include "../../../common/mc2_moe_context.h" ~/ops-transformer/mc2/mega_moe/op_kernel/arch35/stage/mega_moe_gmm2_combine.h: 28 #include "../common/mega_moe_mxfp8_utils.h" 29: #if __has_include("../../../common/mc2_kernel_utils.h") 30 #include "../../../common/mc2_kernel_utils.h" ~/ops-transformer/mc2/moe_distribute_combine/op_kernel/moe_distribute_combine.h: 23 #include "adv_api/reduce/sum.h" 24: #if __has_include("../common/moe_distribute_base.h") 25 #include "../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_distribute_combine_add_rms_norm/op_kernel/arch22/moe_distribute_combine_add_rms_norm_a3.cpp: 21 #include "lib/matmul_intf.h" 22: #if __has_include("../../moe_distribute_combine_v2/arch22/moe_distribute_combine_v2.h") 23 #include "../../moe_distribute_combine_v2/arch22/moe_distribute_combine_v2.h" ~/ops-transformer/mc2/moe_distribute_combine_add_rms_norm/op_kernel/arch35/moe_distribute_combine_add_rms_norm_apt.cpp: 21 #include "lib/matmul_intf.h" 22: #if __has_include("../../moe_distribute_combine_v2/arch35/moe_distribute_combine_v2_a5_mte.h") 23 #include "../../moe_distribute_combine_v2/arch35/moe_distribute_combine_v2_a5_mte.h" ~/ops-transformer/mc2/moe_distribute_combine_setup/op_kernel/moe_distribute_combine_setup_base.h: 18 19: #if __has_include("../common/mc2_kernel_utils.h") 20 #include "../common/mc2_kernel_utils.h" ~/ops-transformer/mc2/moe_distribute_combine_setup/op_kernel/arch22/moe_distribute_combine_setup.h: 23 #include "kernel_tiling/kernel_tiling.h" 24: #if __has_include("../../common/moe_distribute_base.h") 25 #include "../../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_distribute_combine_setup/op_kernel/arch35/moe_distribute_combine_setup_arch35.h: 17 18: #if __has_include("../../common/mc2_kernel_utils.h") 19 #include "../../common/mc2_kernel_utils.h" ~/ops-transformer/mc2/moe_distribute_combine_teardown/op_kernel/arch22/moe_distribute_combine_teardown.h: 23 #include "kernel_tiling/kernel_tiling.h" 24: #if __has_include("../../moe_distribute_combine_setup/moe_distribute_combine_setup_base.h") 25 #include "../../moe_distribute_combine_setup/moe_distribute_combine_setup_base.h" ~/ops-transformer/mc2/moe_distribute_combine_teardown/op_kernel/arch35/moe_distribute_combine_teardown_arch35.h: 17 18: #if __has_include("../../common/mc2_kernel_utils.h") 19 #include "../../common/mc2_kernel_utils.h" 26 #include "../moe_distribute_combine_teardown_tiling_data.h" 27: #if __has_include("../../moe_distribute_combine_setup/moe_distribute_combine_setup_base.h") 28 #include "../../moe_distribute_combine_setup/moe_distribute_combine_setup_base.h" ~/ops-transformer/mc2/moe_distribute_combine_v2/op_api/moe_distribute_combine_v2_base.cpp: 26 #define HCCL_CHANNEL_SUPPORT_VERSION 89999700 27: #if __has_include("version/hcomm_version.h") 28 #include "version/hcomm_version.h" ~/ops-transformer/mc2/moe_distribute_combine_v2/op_kernel/moe_distribute_combine_v2_quant.h: 18 19: #if __has_include("../moe_distribute_dispatch_v2/moe_distribute_v2_constant.h") 20 #include "../moe_distribute_dispatch_v2/moe_distribute_v2_constant.h" 26 #if defined(__NPU_ARCH__) && (__NPU_ARCH__ == 3510) 27: #if __has_include("../moe_distribute_dispatch_v2/moe_distribute_dispatch_v2_common.h") 28 #include "../moe_distribute_dispatch_v2/moe_distribute_dispatch_v2_common.h" 31 #endif 32: #if __has_include("../common/quantize_functions.h") 33 #include "../common/quantize_functions.h" ~/ops-transformer/mc2/moe_distribute_combine_v2/op_kernel/arch22/moe_distribute_combine_v2_layered.h: 18 #include "../moe_distribute_combine_v2_tiling.h" 19: #if __has_include("../../common/moe_distribute_base.h") 20 #include "../../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_distribute_combine_v2/op_kernel/arch22/moe_distribute_combine_v2.h: 25 #include "../moe_distribute_combine_v2_quant.h" 26: #if __has_include("../../common/mc2_moe_context.h") 27 #include "../../common/mc2_moe_context.h" ~/ops-transformer/mc2/moe_distribute_combine_v2/op_kernel/arch35/moe_distribute_combine_v2_a5_ccu.h: 25 #include "../moe_distribute_combine_v2_tiling.h" 26: #if __has_include("../../common/mc2_kernel_utils.h") 27 #include "../../common/mc2_kernel_utils.h" ~/ops-transformer/mc2/moe_distribute_combine_v2/op_kernel/arch35/moe_distribute_combine_v2_a5_mte.h: 25 #include "../moe_distribute_combine_v2_quant.h" 26: #if __has_include("../../common/mc2_moe_context.h") 27 #include "../../common/mc2_moe_context.h" ~/ops-transformer/mc2/moe_distribute_combine_v2/op_kernel/arch35/moe_distribute_combine_v2_host_kfc.h: 24 #include "../moe_distribute_combine_v2_tiling.h" 25: #if __has_include("../../common/moe_distribute_base.h") 26 #include "../../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_distribute_combine_v3/op_kernel/arch22/moe_distribute_combine_v3_a3.cpp: 21 #include "lib/matmul_intf.h" 22: #if __has_include("../../moe_distribute_combine_v2/op_kernel/arch22/moe_distribute_combine_v2.h") 23 #include "../../moe_distribute_combine_v2/op_kernel/arch22/moe_distribute_combine_v2.h" 25 #include "../../moe_distribute_combine_v2/op_kernel/moe_distribute_combine_tiling.h" 26: #elif __has_include("../../moe_distribute_combine_v2/arch22/moe_distribute_combine_v2.h") 27 #include "../../moe_distribute_combine_v2/arch22/moe_distribute_combine_v2.h" ~/ops-transformer/mc2/moe_distribute_combine_v3/op_kernel/arch35/moe_distribute_combine_v3_apt.cpp: 21 #include "lib/matmul_intf.h" 22: #if __has_include("../../moe_distribute_combine_v2/op_kernel/arch35/moe_distribute_combine_v2_a5_mte.h") 23 #include "../../moe_distribute_combine_v2/op_kernel/arch35/moe_distribute_combine_v2_a5_mte.h" 24 #include "../../moe_distribute_combine_v2/op_kernel/arch35/moe_distribute_combine_v2_apt_tiling_key.h" 25: #elif __has_include("../../moe_distribute_combine_v2/arch35/moe_distribute_combine_v2_a5_mte.h") 26 #include "../../moe_distribute_combine_v2/arch35/moe_distribute_combine_v2_a5_mte.h" ~/ops-transformer/mc2/moe_distribute_dispatch/op_kernel/moe_distribute_dispatch.h: 24 #include "adv_api/reduce/sum.h" 25: #if __has_include("../common/moe_distribute_base.h") 26 #include "../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_distribute_dispatch_setup/op_kernel/moe_distribute_dispatch_setup_base.h: 18 19: #if __has_include("../common/mc2_kernel_utils.h") 20 #include "../common/mc2_kernel_utils.h" ~/ops-transformer/mc2/moe_distribute_dispatch_setup/op_kernel/arch35/moe_distribute_dispatch_setup_arch35.h: 22 #include "../moe_distribute_dispatch_setup_base.h" 23: #if __has_include("../../common/mc2_kernel_utils.h") 24 #include "../../common/quantize_functions.h" ~/ops-transformer/mc2/moe_distribute_dispatch_teardown/op_kernel/arch22/moe_distribute_dispatch_teardown_arch22.h: 24 #include "kernel_tiling/kernel_tiling.h" 25: #if __has_include("../../moe_distribute_dispatch_setup/moe_distribute_dispatch_setup_base.h") 26 #include "../../moe_distribute_dispatch_setup/moe_distribute_dispatch_setup_base.h" ~/ops-transformer/mc2/moe_distribute_dispatch_teardown/op_kernel/arch35/moe_distribute_dispatch_teardown_arch35.h: 21 #include "../moe_distribute_dispatch_teardown_tiling.h" 22: #if __has_include("../../common/mc2_kernel_utils.h") 23 #include "../../moe_distribute_dispatch_setup/moe_distribute_dispatch_setup_base.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v2/op_api/moe_distribute_dispatch_v2_base.cpp: 26 #define HCCL_CHANNEL_SUPPORT_VERSION 89999700 27: #if __has_include("version/hcomm_version.h") 28 #include "version/hcomm_version.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v2/op_kernel/hccl_context_holder.h: 25 #include "moe_distribute_v2_constant.h" 26: #if __has_include("../common/moe_distribute_base.h") 27 #include "../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v2/op_kernel/mc2_moe_context_holder.h: 24 #include "moe_distribute_v2_constant.h" 25: #if __has_include("../common/mc2_moe_context.h") 26 #include "../common/mc2_moe_context.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v2/op_kernel/moe_distribute_dispatch_v2_quant.h: 23 #include "moe_distribute_dispatch_v2_common.h" 24: #if __has_include("../common/quantize_functions.h") 25 #include "../common/quantize_functions.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v2/op_kernel/moe_distribute_dispatch_v2.h: 33 #include "check_winsize.h" 34: #if __has_include("../common/mc2_moe_context.h") 35 #include "../common/mc2_moe_context.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v2/op_kernel/moe_distribute_v2_base.h: 20 21: #if __has_include("../common/moe_distribute_base.h") 22 #include "../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v2/op_kernel/arch22/moe_distribute_a2_base.h: 24 25: #if __has_include("../../common/moe_distribute_base.h") 26 #include "../../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v2/op_kernel/arch22/moe_distribute_dispatch_v2_full_mesh.h: 27 #include "../moe_distribute_dispatch_v2_quant.h" 28: #if __has_include("../../common/mc2_moe_context.h") 29 #include "../../common/mc2_moe_context.h" 34 #include "../check_winsize.h" 35: #if __has_include("../../common/moe_distribute_base.h") 36 #include "../../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v2/op_kernel/arch22/moe_distribute_dispatch_v2_layered.h: 24 25: #if __has_include("../../common/moe_distribute_base.h") 26 #include "../../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v2/op_kernel/arch35/moe_distribute_dispatch_v2_a5_ccu.h: 20 #include "../moe_distribute_dispatch_v2_common.h" 21: #if __has_include("../../common/quantize_functions.h") 22 #include "../../common/quantize_functions.h" 32 #include "../moe_distribute_dispatch_v2_tiling.h" 33: #if __has_include("../../common/mc2_kernel_utils.h") 34 #include "../../common/mc2_kernel_utils.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v2/op_kernel/arch35/moe_distribute_dispatch_v2_a5_full_mesh.h: 27 #include "../moe_distribute_dispatch_v2_quant.h" 28: #if __has_include("../../common/mc2_moe_context.h") 29 #include "../../common/mc2_moe_context.h" 34 #include "../check_winsize.h" 35: #if __has_include("../../common/moe_distribute_base.h") 36 #include "../../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v2/op_kernel/arch35/moe_distribute_dispatch_v2_host_kfc.h: 33 #include "check_winsize.h" 34: #if __has_include("../../common/moe_distribute_base.h") 35 #include "../../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v3/op_kernel/arch22/moe_distribute_dispatch_v3_a3.cpp: 18 #endif 19: #if __has_include("../../moe_distribute_dispatch_v2/op_kernel/moe_distribute_dispatch_v2.h") 20 #include "../../moe_distribute_dispatch_v2/op_kernel/moe_distribute_dispatch_v2.h" 23 #include "../../moe_distribute_dispatch_v2/op_kernel/moe_distribute_dispatch_tiling.h" 24: #elif __has_include("../../moe_distribute_dispatch_v2/moe_distribute_dispatch_v2.h") 25 #include "../../moe_distribute_dispatch_v2/moe_distribute_dispatch_v2.h" ~/ops-transformer/mc2/moe_distribute_dispatch_v3/op_kernel/arch35/moe_distribute_dispatch_v3_apt.cpp: 18 #endif 19: #if __has_include("../../moe_distribute_dispatch_v2/op_kernel/moe_distribute_dispatch_v2.h") 20 #include "../../moe_distribute_dispatch_v2/op_kernel/moe_distribute_dispatch_v2.h" 22 #include "../../moe_distribute_dispatch_v2/op_kernel/arch35/moe_distribute_dispatch_v2_apt_tiling_key.h" 23: #elif __has_include("../../moe_distribute_dispatch_v2/moe_distribute_dispatch_v2.h") 24 #include "../../moe_distribute_dispatch_v2/moe_distribute_dispatch_v2.h" ~/ops-transformer/mc2/moe_ep_combine/op_kernel/moe_ep_combine_base.h: 19 20: #if __has_include("../common/mc2_moe_context.h") 21 #include "../common/mc2_moe_context.h" ~/ops-transformer/mc2/moe_ep_combine/op_kernel/moe_ep_combine.cpp: 15 16: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 17 #include "version/asc_devkit_version.h" ~/ops-transformer/mc2/moe_ep_combine/op_kernel/moe_ep_combine.h: 19 20: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 21 #include "version/asc_devkit_version.h" 40 #include "adv_api/reduce/sum.h" 41: #if __has_include("adv_api/hcomm/hcomm.h") 42 #include "adv_api/hcomm/hcomm.h" 45 #include "moe_ep_combine_tiling_key.h" 46: #if __has_include("../common/moe_distribute_base.h") 47 #include "../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_ep_combine_epilogue/op_kernel/moe_ep_combine_epilogue.cpp: 15 16: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 17 #include "version/asc_devkit_version.h" ~/ops-transformer/mc2/moe_ep_combine_epilogue/op_kernel/moe_ep_combine_epilogue.h: 19 20: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 21 #include "version/asc_devkit_version.h" 40 #include <cstddef> 41: #if __has_include("../common/moe_distribute_base.h") 42 #include "../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_ep_dispatch/op_kernel/moe_ep_dispatch_base.h: 18 19: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 20 #include "version/asc_devkit_version.h" 35 36: #if __has_include("../common/mc2_moe_context.h") 37 #include "../common/mc2_moe_context.h" ~/ops-transformer/mc2/moe_ep_dispatch/op_kernel/moe_ep_dispatch_hybrid.h: 20 21: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 22 #include "version/asc_devkit_version.h" 41 #include "adv_api/reduce/sum.h" 42: #if __has_include("adv_api/hcomm/hcomm.h") 43 #include "adv_api/hcomm/hcomm.h" 47 48: #if __has_include("../common/moe_distribute_base.h") 49 #include "../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_ep_dispatch/op_kernel/moe_ep_dispatch.cpp: 15 16: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 17 #include "version/asc_devkit_version.h" ~/ops-transformer/mc2/moe_ep_dispatch/op_kernel/moe_ep_dispatch.h: 20 21: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 22 #include "version/asc_devkit_version.h" 41 #include "adv_api/reduce/sum.h" 42: #if __has_include("adv_api/hcomm/hcomm.h") 43 #include "adv_api/hcomm/hcomm.h" 47 48: #if __has_include("../common/moe_distribute_base.h") 49 #include "../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_ep_dispatch_epilogue/op_kernel/moe_ep_dispatch_epilogue.cpp: 10 11: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 12 #include "version/asc_devkit_version.h" ~/ops-transformer/mc2/moe_ep_dispatch_epilogue/op_kernel/moe_ep_dispatch_epilogue.h: 20 21: #if __has_include("version/asc_devkit_version.h") && __has_include("version/hcomm_version.h") 22 #include "version/asc_devkit_version.h" 40 41: #if __has_include("../common/moe_distribute_base.h") 42 #include "../common/moe_distribute_base.h" ~/ops-transformer/mc2/moe_update_expert/op_kernel/moe_update_expert.h: 26 #include "moe_update_expert_tiling.h" 27: #if __has_include("../common/mc2_kernel_utils.h") 28 #include "../common/mc2_kernel_utils.h" ~/ops-transformer/mc2/tools/bandwidth_test/op_api/aclnn_bandwidth_test.cpp: 20 21: #if __has_include("version/hcomm_version.h") 22 #include "version/hcomm_version.h"
/assign @gitcode_lijd
与Issue #4407类似,MC2目录中存在大量使用__has_include。当前路径问题已解决,不需要通过__has_include区分,只需include真实头文件路径即可,请参考PR_11037整改