diff --git a/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddMultiCoreWithTiling/add_custom.cpp b/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddMultiCoreWithTiling/add_custom.cpp index 8e9dc83f0737f3251aa1d5a9e53849acef4d7f34..8b267ea1dc19f5343411241612ac007bad56799f 100644 --- a/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddMultiCoreWithTiling/add_custom.cpp +++ b/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddMultiCoreWithTiling/add_custom.cpp @@ -125,11 +125,11 @@ private: private: AscendC::TPipe pipe; - AscendC::TQue inQueueX; - AscendC::TQue inQueueY; - AscendC::TQue outQueueZ; - AscendC::TBuf tmpBuf0; - AscendC::TBuf tmpBuf1; + AscendC::TQue inQueueX; + AscendC::TQue inQueueY; + AscendC::TQue outQueueZ; + AscendC::TBuf tmpBuf0; + AscendC::TBuf tmpBuf1; AscendC::GlobalTensor xGm; AscendC::GlobalTensor yGm; @@ -244,11 +244,11 @@ private: private: AscendC::TPipe pipe; - AscendC::TQue inQueueX; - AscendC::TQue inQueueY; - AscendC::TQue outQueueZ; - AscendC::TBuf tmpBuf0; - AscendC::TBuf tmpBuf1; + AscendC::TQue inQueueX; + AscendC::TQue inQueueY; + AscendC::TQue outQueueZ; + AscendC::TBuf tmpBuf0; + AscendC::TBuf tmpBuf1; AscendC::GlobalTensor xGm; AscendC::GlobalTensor yGm; @@ -353,9 +353,9 @@ private: private: AscendC::TPipe pipe; - AscendC::TQue inQueueX; - AscendC::TQue inQueueY; - AscendC::TQue outQueueZ; + AscendC::TQue inQueueX; + AscendC::TQue inQueueY; + AscendC::TQue outQueueZ; AscendC::GlobalTensor xGm; AscendC::GlobalTensor yGm; diff --git a/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddMultiCoreWithTilingBroadcast/add_custom.cpp b/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddMultiCoreWithTilingBroadcast/add_custom.cpp index 029e3e098bd1ab976cfba02aa75f9b8d4dd18762..733e162c36b9d80f95bb6a30f8c919324415cde7 100644 --- a/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddMultiCoreWithTilingBroadcast/add_custom.cpp +++ b/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddMultiCoreWithTilingBroadcast/add_custom.cpp @@ -134,12 +134,12 @@ private: private: AscendC::TPipe pipe; - AscendC::TQue inQueueX; - AscendC::TQue inQueueY; - AscendC::TQue outQueueZ; + AscendC::TQue inQueueX; + AscendC::TQue inQueueY; + AscendC::TQue outQueueZ; - AscendC::TBuf tmpBuf0; - AscendC::TBuf tmpBuf1; + AscendC::TBuf tmpBuf0; + AscendC::TBuf tmpBuf1; AscendC::GlobalTensor xGm; AscendC::GlobalTensor yGm; @@ -260,12 +260,12 @@ private: private: AscendC::TPipe pipe; - AscendC::TQue inQueueX; - AscendC::TQue inQueueY; - AscendC::TQue outQueueZ; + AscendC::TQue inQueueX; + AscendC::TQue inQueueY; + AscendC::TQue outQueueZ; - AscendC::TBuf tmpBuf0; - AscendC::TBuf tmpBuf1; + AscendC::TBuf tmpBuf0; + AscendC::TBuf tmpBuf1; AscendC::GlobalTensor xGm; AscendC::GlobalTensor yGm; @@ -375,9 +375,9 @@ private: private: AscendC::TPipe pipe; - AscendC::TQue inQueueX; - AscendC::TQue inQueueY; - AscendC::TQue outQueueZ; + AscendC::TQue inQueueX; + AscendC::TQue inQueueY; + AscendC::TQue outQueueZ; AscendC::GlobalTensor xGm; AscendC::GlobalTensor yGm; @@ -514,13 +514,13 @@ private: private: AscendC::TPipe pipe; - AscendC::TQue inQueueX; - AscendC::TQue inQueueY; - AscendC::TQue outQueueZ; + AscendC::TQue inQueueX; + AscendC::TQue inQueueY; + AscendC::TQue outQueueZ; - AscendC::TBuf tmpBuf0; - AscendC::TBuf tmpBuf1; - AscendC::TBuf tmpBuf2; + AscendC::TBuf tmpBuf0; + AscendC::TBuf tmpBuf1; + AscendC::TBuf tmpBuf2; AscendC::GlobalTensor xGm; AscendC::GlobalTensor yGm; @@ -656,13 +656,13 @@ private: private: AscendC::TPipe pipe; - AscendC::TQue inQueueX; - AscendC::TQue inQueueY; - AscendC::TQue outQueueZ; + AscendC::TQue inQueueX; + AscendC::TQue inQueueY; + AscendC::TQue outQueueZ; - AscendC::TBuf tmpBuf0; - AscendC::TBuf tmpBuf1; - AscendC::TBuf tmpBuf2; + AscendC::TBuf tmpBuf0; + AscendC::TBuf tmpBuf1; + AscendC::TBuf tmpBuf2; AscendC::GlobalTensor xGm; AscendC::GlobalTensor yGm; @@ -788,11 +788,11 @@ private: private: AscendC::TPipe pipe; - AscendC::TQue inQueueX; - AscendC::TQue inQueueY; - AscendC::TQue outQueueZ; + AscendC::TQue inQueueX; + AscendC::TQue inQueueY; + AscendC::TQue outQueueZ; - AscendC::TBuf tmpBuf2; + AscendC::TBuf tmpBuf2; AscendC::GlobalTensor xGm; AscendC::GlobalTensor yGm; diff --git a/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddSingleCore/add_custom.cpp b/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddSingleCore/add_custom.cpp index 968a4dc16bf8ff25c13b83df31c3fb5cb15f683f..cb71c8290be89083eca0bb4d28adbd2e057b4af4 100644 --- a/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddSingleCore/add_custom.cpp +++ b/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddSingleCore/add_custom.cpp @@ -64,9 +64,9 @@ private: private: AscendC::TPipe pipe; - AscendC::TQue inQueueX; - AscendC::TQue inQueueY; - AscendC::TQue outQueueZ; + AscendC::TQue inQueueX; + AscendC::TQue inQueueY; + AscendC::TQue outQueueZ; AscendC::GlobalTensor xGm; AscendC::GlobalTensor yGm; diff --git a/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddSingleCoreWithTmpbuf/add_custom.cpp b/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddSingleCoreWithTmpbuf/add_custom.cpp index 948da72bce57250832dc76ab03bd69f05f51902d..2791114fab38722d918e64abf16cda0bc01ac228 100644 --- a/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddSingleCoreWithTmpbuf/add_custom.cpp +++ b/operator/ascendc/0_introduction/21_vectoradd_kernellaunch/VectorAddSingleCoreWithTmpbuf/add_custom.cpp @@ -75,12 +75,12 @@ private: private: AscendC::TPipe pipe; - AscendC::TQue inQueueX; - AscendC::TQue inQueueY; - AscendC::TQue outQueueZ; + AscendC::TQue inQueueX; + AscendC::TQue inQueueY; + AscendC::TQue outQueueZ; - AscendC::TBuf tmpBuf0; - AscendC::TBuf tmpBuf1; + AscendC::TBuf tmpBuf0; + AscendC::TBuf tmpBuf1; AscendC::GlobalTensor xGm; AscendC::GlobalTensor yGm;