msprof op simulator失败
收藏回复举报
msprof op simulator失败
t('forum.solved') 已解决
发表于2025-08-04 10:01:43
0 查看
ywc_8.2@node06:~/myLib/catlass$ msprof op simulator --soc-version=Ascend910B2 --output=./msprof_out_simulator ./build/bin/00_basic_matmul 512 512 512 

2025-08-04 09:52:13 [INFO]  Op profiling analysis start. 

2025-08-04 09:52:13 [INFO]  Running simulation task: Binary Simulation Running, use simulator Ascend910B2 by --soc-version 

I am in Run, g_coreType is : 0 

basic_matmul.cpp:82 aclError:507033 

basic_matmul.cpp:83 aclError:107002 

basic_matmul.cpp:110 aclError:107002 

basic_matmul.cpp:111 aclError:100000 

basic_matmul.cpp:114 aclError:107002 

basic_matmul.cpp:115 aclError:100000 

basic_matmul.cpp:118 aclError:107002 

basic_matmul.cpp:178 aclError:107002 

this one 

[ERROR] <GetPcStartAddr> call rtKernelGetAddrAndPrefCntOrigin with stub func failed 

[WARN] <AddLaunchEvent> get pc start addr by stub func failed. pc start addr will fallback to 0 

[INFO] <ProfInit> Start profiling on kernel: _ZN7Catlass13KernelAdapterINS_4Gemm6Kernel11BasicMatmulINS1_5Block9BlockMmadINS1_19MmadAtlasA2PingpongILb1EEENS_9GemmShapeILj32ELj256ELj256EEENS8_ILj32ELj256ELj64EEENS1_8GemmTypeIDhNS_6layout8RowMajorELN7AscendC9TPositionE0EEESG_SG_vNS1_4Tile8TileCopyINS_4Arch7AtlasA2ESG_SG_SG_vEENSH_8TileMmadISK_SG_SG_vEEEEvNS4_24GemmIdentityBlockSwizzleILj3ELj0EEEEEEEvNT_6ParamsE_mix_aic 

[ERROR] <GetPcStartAddr> call rtKernelGetAddrAndPrefCntOrigin with stub func failed 

basic_matmul.cpp:181 aclError:107002 

2025-08-04 09:52:18 [ERROR] Child process exited with status 139 

2025-08-04 09:52:19 [WARN]  Profiling running finished. task failed. 

2025-08-04 09:52:19 [WARN]  Running task failed, data parsing start 

2025-08-04 09:52:19 [INFO]  Start parse dump file 

2025-08-04 09:52:19 [WARN]  Failed to get any available dump file to parse, please check 

2025-08-04 09:52:19 [ERROR] Parse kernel data failed, kernel name is _ZN7Catlass13KernelAdapterINS_4Gemm6Kernel11BasicMatmulINS1_5Block9Block_8620475483856761830, the order is 0 

2025-08-04 09:52:19 [INFO]  Profiling results saved in /home/ywc_8.2/myLib/catlass/msprof_out_simulator/OPPROF_20250804095213_JLDVYDAXIJORXKQC 

2025-08-04 09:52:19 [WARN]  Profiling kernels result is: 0 success, 1 failed. Please check 

2025-08-04 09:52:19 [ERROR] Profiling data parse failed. Please check 

2025-08-04 09:52:19 [INFO]  Op profiling finish. Welcome to next use.

msprof op simulator运行失败



这是核函数启动方式:
                Catlass::KernelAdapter<GemmKernel><<<blockDim, nullptr, stream>>>(params_, flag1, flag2);
。。。

    template <class Operator>

    CATLASS_GLOBAL void KernelAdapter(typename Operator::Params params)

    {

        Operator op;

        op(params);

    }

贴上了环境

本帖最后由 匿名用户2025/08/04 11:07:37 编辑

我要发帖子