文档
注册

中断运行

  1. host侧或device侧的算子运行程序卡顿时,用户可通过键盘输入“CTRL+C”,可手动中断算子运行程序并回显中断位置信息。
    若运行程序出现卡顿的现象,可以通过键盘输入“CTRL+C”中断运行程序 。运行卡顿的原因可能是以下情况:
    • 用户程序本身存在死循环,需要通过修复程序解决。
    • 算子使用了同步类指令。
    (msdebug) r
    Process 173221 launched: '/home/HwHiAiUser/projects/mix/matmul_leakyrelu.fatbin' (aarch64)
    [Launch of Kernel matmul_leakyrelu_custom on Device 1]
    //  键盘输入“CTRL+C”命令
    Process 173221 stopped
    [Switching to focus on Kernel matmul_leakyrelu_custom, CoreId 35, Type aiv]
    * thread #1, name = 'matmul_leakyrel', stop reason = signal SIGSTOP
        frame #0: 0x000000000000ef5c device_debugdata`_ZN17MatmulLeakyKernelIDhDhffE10CalcOffsetEiiRK11TCubeTilingRiS4_S4_S4__mix_aiv(this=<unavailable>, blockIdx=<unavailable>, usedCoreNum=<unavailable>, tiling=<unavailable>, offsetA=<unavailable>, offsetB=<unavailable>, offsetC=<unavailable>, offsetBias=<unavailable>) at matmul_leakyrelu_kernel.cpp:127:5
       124      auto mCoreIndx = blockIdx % mSingleBlocks;
       125      auto nCoreIndx = blockIdx / mSingleBlocks;
       126
    -> 127      while(true) {
       128      }
       129      offsetA = mCoreIndx * tiling.Ka * tiling.singleCoreM;
       130      offsetB = nCoreIndx * tiling.singleCoreN;
    (msdebug)
  2. 调试完以后,执行q命令并输入Y或y结束调试。
    (msdebug) q
    Quitting LLDB will kill one or more processes. Do you really want to proceed: [Y/n] y
搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词