From e9a34b5baaf6b705183e0a6ab91638444f71b933 Mon Sep 17 00:00:00 2001 From: Hari Seshadri Date: Fri, 23 Jan 2026 15:10:42 -0800 Subject: [PATCH] Avoid default param in MLAS functions --- onnxruntime/core/mlas/inc/mlas.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/onnxruntime/core/mlas/inc/mlas.h b/onnxruntime/core/mlas/inc/mlas.h index db7ec288001f9..1e708abcd8ad3 100644 --- a/onnxruntime/core/mlas/inc/mlas.h +++ b/onnxruntime/core/mlas/inc/mlas.h @@ -1243,7 +1243,7 @@ MlasNchwcConv( const MLAS_ACTIVATION* Activation, bool ZeroMode, MLAS_THREADPOOL* ThreadPool, - bool UseBf16 = false + bool UseBf16 ); void @@ -1837,7 +1837,7 @@ MlasHalfGemmBatch( const size_t K, const size_t BatchN, const MLAS_HALF_GEMM_DATA_PARAMS* DataParams, - MLAS_THREADPOOL* ThreadPool = nullptr + MLAS_THREADPOOL* ThreadPool ); /** @@ -1985,7 +1985,7 @@ struct MLAS_SBGEMM_DATA_PARAMS { * @return */ void MLASCALL -MlasSBGemmBatch(const size_t M, const size_t N, const size_t K, const size_t BatchN, const MLAS_SBGEMM_DATA_PARAMS* DataParams, MLAS_THREADPOOL* ThreadPool = nullptr); +MlasSBGemmBatch(const size_t M, const size_t N, const size_t K, const size_t BatchN, const MLAS_SBGEMM_DATA_PARAMS* DataParams, MLAS_THREADPOOL* ThreadPool); /** * @brief For bfloat16 precision GEMM, returns size of the