Skip to content

Commit

Permalink
a bug fixed
Browse files Browse the repository at this point in the history
A memory violation bug fixed.
  • Loading branch information
ShiqiYu committed Sep 24, 2019
1 parent 2a28111 commit 54b8e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/facedetectcnn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ bool maxpooling2x2S2(const CDataBlob<unsigned char> *inputData, CDataBlob<unsign
#if defined(_ENABLE_NEON)

#elif defined(_ENABLE_AVX2)
for (int ch = 0; ch < outputData->channels; ch += 8)
for (int ch = 0; ch < outputData->channels; ch += 32)
{
__m256i a;
__m256i maxval_uint8x32 = _mm256_load_si256((__m256i const *)(pIn + ch + inputMatOffsetsInElement[0]));
Expand Down

0 comments on commit 54b8e03

Please sign in to comment.