Browse Source

Fixed compile warnings for ios clang cpu 32bit. [-Wunused-variable] (#2223)

tags/20201208
Evgeny Proydakov GitHub 5 years ago
parent
commit
2cfec9032b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 9 deletions
  1. +1
    -1
      src/layer/arm/convolution_1x1_pack4.h
  2. +1
    -1
      src/layer/arm/convolution_1x1_pack4_bf16s.h
  3. +2
    -2
      src/layer/arm/convolution_3x3_pack1to4.h
  4. +2
    -2
      src/layer/arm/convolution_3x3_pack1to4_bf16s.h
  5. +1
    -1
      src/layer/arm/convolution_3x3_pack4.h
  6. +1
    -1
      src/layer/arm/convolution_3x3_pack4_bf16s.h
  7. +1
    -1
      src/layer/arm/convolution_3x3_pack4to1.h

+ 1
- 1
src/layer/arm/convolution_1x1_pack4.h View File

@@ -403,10 +403,10 @@ static void conv1x1s1_sgemm_pack4_neon(const Mat& bottom_blob, Mat& top_blob, co
}
}

int nn_outch = 0;
int remain_outch_start = 0;

#if __ARM_NEON && __aarch64__
int nn_outch = 0;
nn_outch = outch >> 1;
remain_outch_start = nn_outch << 1;



+ 1
- 1
src/layer/arm/convolution_1x1_pack4_bf16s.h View File

@@ -400,10 +400,10 @@ static void conv1x1s1_sgemm_pack4_bf16s_neon(const Mat& bottom_blob, Mat& top_bl
}
}

int nn_outch = 0;
int remain_outch_start = 0;

#if __ARM_NEON && __aarch64__
int nn_outch = 0;
nn_outch = outch >> 1;
remain_outch_start = nn_outch << 1;



+ 2
- 2
src/layer/arm/convolution_3x3_pack1to4.h View File

@@ -21,10 +21,10 @@ static void conv3x3s1_pack1to4_neon(const Mat& bottom_blob, Mat& top_blob, const

const float* bias = _bias;

int nn_outch = 0;
int remain_outch_start = 0;

#if __ARM_NEON && __aarch64__
int nn_outch = 0;
nn_outch = outch >> 1;
remain_outch_start = nn_outch << 1;

@@ -907,10 +907,10 @@ static void conv3x3s2_pack1to4_neon(const Mat& bottom_blob, Mat& top_blob, const

const float* bias = _bias;

int nn_outch = 0;
int remain_outch_start = 0;

#if __ARM_NEON && __aarch64__
int nn_outch = 0;
nn_outch = outch >> 1;
remain_outch_start = nn_outch << 1;



+ 2
- 2
src/layer/arm/convolution_3x3_pack1to4_bf16s.h View File

@@ -27,10 +27,10 @@ static void conv3x3s1_pack1to4_bf16s_neon(const Mat& bottom_blob, Mat& top_blob,

const float* bias = _bias;

int nn_outch = 0;
int remain_outch_start = 0;

#if __ARM_NEON && __aarch64__
int nn_outch = 0;
nn_outch = outch >> 1;
remain_outch_start = nn_outch << 1;

@@ -1970,10 +1970,10 @@ static void conv3x3s2_pack1to4_bf16s_neon(const Mat& bottom_blob, Mat& top_blob,

const float* bias = _bias;

int nn_outch = 0;
int remain_outch_start = 0;

#if __ARM_NEON && __aarch64__
int nn_outch = 0;
nn_outch = outch >> 1;
remain_outch_start = nn_outch << 1;



+ 1
- 1
src/layer/arm/convolution_3x3_pack4.h View File

@@ -735,10 +735,10 @@ static void conv3x3s1_winograd64_pack4_neon(const Mat& bottom_blob, Mat& top_blo

top_blob_tm.create(tiles, 64, outch, elemsize, elempack, opt.workspace_allocator);

int nn_outch = 0;
int remain_outch_start = 0;

#if __ARM_NEON && __aarch64__
int nn_outch = 0;
nn_outch = outch >> 1;
remain_outch_start = nn_outch << 1;



+ 1
- 1
src/layer/arm/convolution_3x3_pack4_bf16s.h View File

@@ -504,10 +504,10 @@ static void conv3x3s1_winograd64_pack4_bf16s_neon(const Mat& bottom_blob, Mat& t

top_blob_tm.create(tiles, 64, outch, 4u * elempack, elempack, opt.workspace_allocator);

int nn_outch = 0;
int remain_outch_start = 0;

#if __ARM_NEON && __aarch64__
int nn_outch = 0;
nn_outch = outch >> 1;
remain_outch_start = nn_outch << 1;



+ 1
- 1
src/layer/arm/convolution_3x3_pack4to1.h View File

@@ -2303,10 +2303,10 @@ static void conv3x3s1_pack4to1_neon(const Mat& bottom_blob, Mat& top_blob, const

const float* bias = _bias;

int nn_outch = 0;
int remain_outch_start = 0;

#if __ARM_NEON && __aarch64__
int nn_outch = 0;
nn_outch = outch >> 1;
remain_outch_start = nn_outch << 1;



Loading…
Cancel
Save