From 6dff15da43e25fe9f17570398af7fec59399a43c Mon Sep 17 00:00:00 2001 From: nihui Date: Fri, 17 Jan 2025 02:34:05 +0000 Subject: [PATCH] w --- src/layer/x86/convolution_im2col_gemm_int8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layer/x86/convolution_im2col_gemm_int8.h b/src/layer/x86/convolution_im2col_gemm_int8.h index cc8e22cd9e7..0a3ae0ec6ee 100644 --- a/src/layer/x86/convolution_im2col_gemm_int8.h +++ b/src/layer/x86/convolution_im2col_gemm_int8.h @@ -79,7 +79,7 @@ static void convolution_gemm_transB_packed_tile_int8(const Mat& AT_tile, const M static NCNN_FORCEINLINE void convolution_im2col_gemm_get_optimal_tile_mnk_int8(int M, int N, int K, int& TILE_M, int& TILE_N, int& TILE_K, int nT) { // resolve optimal tile size from cache size - const size_t l2_cache_size_int8 = (int)(get_cpu_level2_cache_size() / sizeof(signed char)); + const int l2_cache_size_int8 = (int)(get_cpu_level2_cache_size() / sizeof(signed char)); if (nT == 0) nT = get_physical_big_cpu_count();