Merge pull request #23656 from peters:patch-2

Build fix for AVX 256
pull/23672/head
Alexander Smorkalov 2 years ago committed by GitHub
commit 4a559bc2ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/dnn/src/layers/cpu_kernels/convolution.cpp

@ -445,7 +445,7 @@ static inline void packData8(char*& inpbuf, float*& inptrIn, int& in_w, int& x0,
{
int k1 = ofstab[k];
#if CV_SIMD256
vx_store(inpbufC_FP32 + k*CONV_NR, vx_load(inptrInC + k1));
vx_store(inpbufC_FP32 + k*CONV_NR_FP32, vx_load(inptrInC + k1));
#elif CV_SIMD128
v_float32x4 vv0 = v_load(inptrInC + k1);
v_float32x4 vv1 = v_load(inptrInC + k1 + 4);

Loading…
Cancel
Save