From d2cf9b837c847cb2ebc91e2736dea2ccc618ef6a Mon Sep 17 00:00:00 2001 From: hehongan Date: Thu, 10 Jul 2025 12:23:48 +0800 Subject: [PATCH 1/3] matmul_leakyrelu_custom comments ASCEND310P --- .../MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp | 2 +- .../MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/operator/ascendc/0_introduction/13_matmulleakyrelu_kernellaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp b/operator/ascendc/0_introduction/13_matmulleakyrelu_kernellaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp index 3b78451b5..bbeb5a87b 100644 --- a/operator/ascendc/0_introduction/13_matmulleakyrelu_kernellaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp +++ b/operator/ascendc/0_introduction/13_matmulleakyrelu_kernellaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp @@ -102,7 +102,7 @@ __aicore__ inline void MatmulLeakyKernel::Process uint32_t computeRound = 0; #ifdef CUSTOM_ASCEND310P - // Set temp UB space when on SCEND310P . + // Set temp UB space when on ASCEND310P . AscendC::TBuf<> tmpMMFormatUb; AscendC::LocalTensor mmformatUb; pipe->InitBuffer(tmpMMFormatUb, tiling.baseM * tiling.baseN * sizeof(cType)); diff --git a/operator/ascendc/tutorials/MatmulLeakyReluCustomSample/KernelLaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp b/operator/ascendc/tutorials/MatmulLeakyReluCustomSample/KernelLaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp index 4a291ae6f..b3156bf8b 100644 --- a/operator/ascendc/tutorials/MatmulLeakyReluCustomSample/KernelLaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp +++ b/operator/ascendc/tutorials/MatmulLeakyReluCustomSample/KernelLaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp @@ -102,7 +102,7 @@ __aicore__ inline void MatmulLeakyKernel::Process uint32_t computeRound = 0; #ifdef CUSTOM_ASCEND310P - // Set temp UB space when on SCEND310P . + // Set temp UB space when on ASCEND310P . AscendC::TBuf<> tmpMMFormatUb; AscendC::LocalTensor mmformatUb; pipe->InitBuffer(tmpMMFormatUb, tiling.baseM * tiling.baseN * sizeof(cType)); -- Gitee From 282cf5868a0f20d3cf98f3ded5e7d056b048392a Mon Sep 17 00:00:00 2001 From: hehongan Date: Thu, 10 Jul 2025 16:29:05 +0800 Subject: [PATCH 2/3] matmul_leakyrelu_custom delete points --- .../MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operator/ascendc/tutorials/MatmulLeakyReluCustomSample/KernelLaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp b/operator/ascendc/tutorials/MatmulLeakyReluCustomSample/KernelLaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp index b3156bf8b..62f9f3668 100644 --- a/operator/ascendc/tutorials/MatmulLeakyReluCustomSample/KernelLaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp +++ b/operator/ascendc/tutorials/MatmulLeakyReluCustomSample/KernelLaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp @@ -102,7 +102,7 @@ __aicore__ inline void MatmulLeakyKernel::Process uint32_t computeRound = 0; #ifdef CUSTOM_ASCEND310P - // Set temp UB space when on ASCEND310P . + // Set temp UB space when on ASCEND310P AscendC::TBuf<> tmpMMFormatUb; AscendC::LocalTensor mmformatUb; pipe->InitBuffer(tmpMMFormatUb, tiling.baseM * tiling.baseN * sizeof(cType)); -- Gitee From 42e71a2cbcad91b4dd688956d39d83873de527f4 Mon Sep 17 00:00:00 2001 From: hehongan Date: Thu, 10 Jul 2025 16:39:56 +0800 Subject: [PATCH 3/3] matmul_leakyrelu_custom delete a point --- .../MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operator/ascendc/0_introduction/13_matmulleakyrelu_kernellaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp b/operator/ascendc/0_introduction/13_matmulleakyrelu_kernellaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp index bbeb5a87b..a65b6e230 100644 --- a/operator/ascendc/0_introduction/13_matmulleakyrelu_kernellaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp +++ b/operator/ascendc/0_introduction/13_matmulleakyrelu_kernellaunch/MatmulLeakyReluInvocation/matmul_leakyrelu_custom.cpp @@ -102,7 +102,7 @@ __aicore__ inline void MatmulLeakyKernel::Process uint32_t computeRound = 0; #ifdef CUSTOM_ASCEND310P - // Set temp UB space when on ASCEND310P . + // Set temp UB space when on ASCEND310P AscendC::TBuf<> tmpMMFormatUb; AscendC::LocalTensor mmformatUb; pipe->InitBuffer(tmpMMFormatUb, tiling.baseM * tiling.baseN * sizeof(cType)); -- Gitee