Skip to content

Commit

Permalink
fix for x86 32bit
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Nov 28, 2024
1 parent aa727e4 commit 2143260
Show file tree
Hide file tree
Showing 2 changed files with 415 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/layer/gemm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static void gemm_transB_int8(const Mat& A_int8, const Mat& BT_int8, const Mat& A

// NCNN_LOGE("naive ds %f %f", A_int8_scales[0], BT_int8_scale);

// #pragma omp parallel for num_threads(opt.num_threads)
#pragma omp parallel for num_threads(opt.num_threads)
for (int i = 0; i < M; i++)
{
const int out_hstep = top_blob.dims == 3 ? (int)top_blob.cstep : top_blob.w;
Expand Down
Loading

0 comments on commit 2143260

Please sign in to comment.