diff --git a/src/layer/x86/gridsample_bilinear_apply_interpolation.h b/src/layer/x86/gridsample_bilinear_apply_interpolation.h index 0af661b6ca0e..56f2767e587b 100644 --- a/src/layer/x86/gridsample_bilinear_apply_interpolation.h +++ b/src/layer/x86/gridsample_bilinear_apply_interpolation.h @@ -284,9 +284,6 @@ static void gridsample_3d_bilinear_apply_interpolation_p4(const Mat& src, Mat& d } } } -#pragma fenv_access(off) - -#pragma float_control(precise, off) #endif // __SSE2__ static void gridsample_2d_bilinear_apply_interpolation_p1(const Mat& src, Mat& dst, const Mat& offset_value, const Option& opt) @@ -370,4 +367,4 @@ static void gridsample_3d_bilinear_apply_interpolation_p1(const Mat& src, Mat& d offset_value_ptr += 11; } } -} \ No newline at end of file +} diff --git a/src/layer/x86/gridsample_compute_blob.h b/src/layer/x86/gridsample_compute_blob.h index 4fb41f2cc247..1fc903664cce 100644 --- a/src/layer/x86/gridsample_compute_blob.h +++ b/src/layer/x86/gridsample_compute_blob.h @@ -51,12 +51,12 @@ template struct compute_coord { #if __AVX__ - __m256 operator()(__m256 length, __m256 coord) + __m256 operator()(__m256 /*length*/, __m256 coord) { return coord; } #endif // __AVX__ - float operator()(int length, float coord) + float operator()(int /*length*/, float coord) { return coord; } @@ -142,4 +142,4 @@ struct compute_coord #include "gridsample_bilinear_compute_blob.h" #include "gridsample_bicubic_compute_blob.h" -#include "gridsample_nearest_compute_blob.h" \ No newline at end of file +#include "gridsample_nearest_compute_blob.h"