已合并
add assert #8422
link164735创建于 8月7日
add assert #8422
已合并
link164735创建于 8月7日
6 个文件变更+7-7
@@ -7,7 +7,7 @@
7# INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.7# INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
8# See LICENSE in the root of the software repository for the full text of the License.8# See LICENSE in the root of the software repository for the full text of the License.
9# ----------------------------------------------------------------------------9# ----------------------------------------------------------------------------
10-set(OPTENSOR_TAG_ID 2d6338cebe02860001a94dea2bb56c2f40eae7ca)10+set(OPTENSOR_TAG_ID 1aa0f01b998cbb06be43dc346926a494b53594c4)
11 11 
12if(EXISTS "${PROJECT_SOURCE_DIR}/../ops-tensor")12if(EXISTS "${PROJECT_SOURCE_DIR}/../ops-tensor")
13 get_filename_component(OPTENSOR_SOURCE_PATH13 get_filename_component(OPTENSOR_SOURCE_PATH
@@ -50,7 +50,7 @@
50using namespace AscendC;50using namespace AscendC;
51using namespace matmul;51using namespace matmul;
52#ifndef DTYPE_BIAS52#ifndef DTYPE_BIAS
53-#define DTYPE_BIAS half53+#define DTYPE_BIAS DTYPE_X1
54#endif54#endif
55 55 
56#ifndef FORMAT_FRACTAL_NZ56#ifndef FORMAT_FRACTAL_NZ
@@ -47,7 +47,7 @@ using namespace Gemm;
47using namespace AscendC;47using namespace AscendC;
48 48 
49#ifndef DTYPE_BIAS49#ifndef DTYPE_BIAS
50-#define DTYPE_BIAS half50+#define DTYPE_BIAS DTYPE_X1
51#endif51#endif
52 52 
53#ifndef FORMAT_FRACTAL_NZ53#ifndef FORMAT_FRACTAL_NZ
@@ -15,10 +15,10 @@
15#pragma once15#pragma once
16 16 
17#ifndef DTYPE_Y17#ifndef DTYPE_Y
18-#define DTYPE_Y half18+#define DTYPE_Y DTYPE_X1
19#endif19#endif
20#ifndef DTYPE_BIAS20#ifndef DTYPE_BIAS
21-#define DTYPE_BIAS half21+#define DTYPE_BIAS DTYPE_X1
22#endif22#endif
23 23 
24#include "kernel_tiling/kernel_tiling.h"24#include "kernel_tiling/kernel_tiling.h"
@@ -53,7 +53,7 @@ using namespace Cmct::Gemm;
53using namespace AscendC;53using namespace AscendC;
54using namespace matmul;54using namespace matmul;
55#ifndef DTYPE_BIAS55#ifndef DTYPE_BIAS
56-#define DTYPE_BIAS half56+#define DTYPE_BIAS DTYPE_X1
57#endif57#endif
58 58 
59#ifndef FORMAT_FRACTAL_NZ59#ifndef FORMAT_FRACTAL_NZ
@@ -24,7 +24,7 @@ using namespace AscendC;
24using namespace matmul;24using namespace matmul;
25 25 
26#ifndef DTYPE_BIAS26#ifndef DTYPE_BIAS
27-#define DTYPE_BIAS half27+#define DTYPE_BIAS DTYPE_X1
28#endif28#endif
29 29 
30#ifndef FORMAT_FRACTAL_NZ30#ifndef FORMAT_FRACTAL_NZ