From 267cea2196ff6d1fdf08ff0d885e8ae004f3c7a1 Mon Sep 17 00:00:00 2001 From: anzoola Date: Thu, 3 Apr 2025 09:34:41 +0000 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E8=A7=86=E6=84=8F=E8=A7=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- impl/quantization/quant/ascend_quant_pre_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impl/quantization/quant/ascend_quant_pre_impl.h b/impl/quantization/quant/ascend_quant_pre_impl.h index da30f402..323669d7 100644 --- a/impl/quantization/quant/ascend_quant_pre_impl.h +++ b/impl/quantization/quant/ascend_quant_pre_impl.h @@ -85,7 +85,6 @@ __aicore__ inline void IsQuantConfigValid(const LocalTensor& srcTensor, }); } -#if __CCE_AICORE__ >= 200 // per channel intrinsics __aicore__ inline void AscendQuantPerChannelIntrinsicsImpl(const LocalTensor& dstTensor, const LocalTensor& srcTensor, const LocalTensor& stackTensor, const LocalTensor& scaleTensor, @@ -299,6 +298,7 @@ __aicore__ inline void AscendQuantImplStatic(const LocalTensor& dstTenso } } +#if __CCE_AICORE__ == 200 || __CCE_AICORE__ == 220 // per tensor intrinsics __aicore__ inline void AscendQuantIntrinsicsImpl(const LocalTensor& dstTensor, const LocalTensor& srcTensor, const LocalTensor& stackBuffer, half scale, half offset) -- Gitee