В коде:
#include <immintrin.h>
#include <stdint.h>

void swap_line(const float *src, float *dst, unsigned n, const int order[4], float extra) {
    const unsigned CHANNELS_PER_PIXEL = 3;
    const unsigned VECTOR_SIZE = 16;
    const unsigned MAX_CHANNELS = 4;
    unsigned i;

    const unsigned dst_channels = (order[3] != -1) ? MAX_CHANNELS : 3;

    int permute_indices[16];
    for (int k = 0; k < dst_channels; ++k) {
        permute_indices[k] = order[k];
    }

    __m512 extra_v = _mm512_set1_ps(extra);

    for (i = 0; i < n; i += VECTOR_SIZE) {
        unsigned len = (n - i >= VECTOR_SIZE) ? VECTOR_SIZE : n - i;
        __mmask16 mask = (1U << len) - 1;

        // Load interleaved RGB data
        const float *pSrc = src + i * CHANNELS_PER_PIXEL;
        __m512i idx_base = _mm512_set_epi32(
                15*CHANNELS_PER_PIXEL, 14*CHANNELS_PER_PIXEL, 13*CHANNELS_PER_PIXEL, 12*CHANNELS_PER_PIXEL,
                11*CHANNELS_PER_PIXEL, 10*CHANNELS_PER_PIXEL, 9*CHANNELS_PER_PIXEL, 8*CHANNELS_PER_PIXEL,
                7*CHANNELS_PER_PIXEL, 6*CHANNELS_PER_PIXEL, 5*CHANNELS_PER_PIXEL, 4*CHANNELS_PER_PIXEL,
                3*CHANNELS_PER_PIXEL, 2*CHANNELS_PER_PIXEL, 1*CHANNELS_PER_PIXEL, 0*CHANNELS_PER_PIXEL
        );

        idx_base = _mm512_add_epi32(idx_base, _mm512_set1_epi32(i * CHANNELS_PER_PIXEL));

        // Load data into three vectors
        __m512 data0 = _mm512_mask_i32gather_ps(_mm512_setzero_ps(), mask, idx_base, pSrc, 4);
        __m512 data1 = _mm512_mask_i32gather_ps(_mm512_setzero_ps(), mask, _mm512_add_epi32(idx_base, _mm512_set1_epi32(1)), pSrc, 4);
        __m512 data2 = _mm512_mask_i32gather_ps(_mm512_setzero_ps(), mask, _mm512_add_epi32(idx_base, _mm512_set1_epi32(2)), pSrc, 4);

        __m512 channels[4];
        channels[0] = data0;
        channels[1] = data1;
        channels[2] = data2;
        channels[3] = extra_v;

        __m512i perm_idx;
        int perm_idx_array[16];
        for (int j = 0; j < 16; ++j) {
            int idx = (j % dst_channels);
            perm_idx_array[j] = permute_indices[idx];
        }
        perm_idx = _mm512_loadu_si512(perm_idx_array);

        __m512 result0 = _mm512_permutexvar_ps(perm_idx, _mm512_set_ps(
                channels[3][15], channels[2][15], channels[1][15], channels[0][15],
                channels[3][14], channels[2][14], channels[1][14], channels[0][14],
                channels[3][13], channels[2][13], channels[1][13], channels[0][13],
                channels[3][12], channels[2][12], channels[1][12], channels[0][12]
        ));

        __m512 result1 = _mm512_permutexvar_ps(perm_idx, _mm512_set_ps(
                channels[3][11], channels[2][11], channels[1][11], channels[0][11],
                channels[3][10], channels[2][10], channels[1][10], channels[0][10],
                channels[3][9],  channels[2][9],  channels[1][9],  channels[0][9],
                channels[3][8],  channels[2][8],  channels[1][8],  channels[0][8]
        ));

        __m512 result2 = _mm512_permutexvar_ps(perm_idx, _mm512_set_ps(
                channels[3][7], channels[2][7], channels[1][7], channels[0][7],
                channels[3][6], channels[2][6], channels[1][6], channels[0][6],
                channels[3][5], channels[2][5], channels[1][5], channels[0][5],
                channels[3][4], channels[2][4], channels[1][4], channels[0][4]
        ));

        __m512 result3 = _mm512_permutexvar_ps(perm_idx, _mm512_set_ps(
                channels[3][3], channels[2][3], channels[1][3], channels[0][3],
                channels[3][2], channels[2][2], channels[1][2], channels[0][2],
                channels[3][1], channels[2][1], channels[1][1], channels[0][1],
                channels[3][0], channels[2][0], channels[1][0], channels[0][0]
        ));

        float *pDst = dst + i * dst_channels;
        _mm512_mask_storeu_ps(pDst, mask, result3);
        _mm512_mask_storeu_ps(pDst + 16, mask, result2);
        _mm512_mask_storeu_ps(pDst + 32, mask, result1);
        _mm512_mask_storeu_ps(pDst + 48, mask, result0);
    }
}Исправь ошибки:
Войцев Александр Валерьевич [Group 236]: Report for run 5256
Info
Summary
Submissions
Standings
Submit clar
Clars
 
Settings
 
Logout [avvoitsev]
 logo
03:04:38 / RUNNING
Resubmit
Coding style violation
Clang-format returned error(s):

--- 7bbfce1074355ac8.c	(original)
+++ 7bbfce1074355ac8.c	(reformatted)
@@ -1,7 +1,8 @@
 #include <immintrin.h>
 #include <stdint.h>
 
-void swap_line(const float *src, float *dst, unsigned n, const int order[4], float extra) {
+void swap_line(const float *src, float *dst, unsigned n, const int order[4],
+               float extra) {
     const unsigned CHANNELS_PER_PIXEL = 3;
     const unsigned VECTOR_SIZE = 16;
     const unsigned MAX_CHANNELS = 4;
@@ -22,19 +23,28 @@
 
         // Load interleaved RGB data
         const float *pSrc = src + i * CHANNELS_PER_PIXEL;
-        __m512i idx_base = _mm512_set_epi32(
-                15*CHANNELS_PER_PIXEL, 14*CHANNELS_PER_PIXEL, 13*CHANNELS_PER_PIXEL, 12*CHANNELS_PER_PIXEL,
-                11*CHANNELS_PER_PIXEL, 10*CHANNELS_PER_PIXEL, 9*CHANNELS_PER_PIXEL, 8*CHANNELS_PER_PIXEL,
-                7*CHANNELS_PER_PIXEL, 6*CHANNELS_PER_PIXEL, 5*CHANNELS_PER_PIXEL, 4*CHANNELS_PER_PIXEL,
-                3*CHANNELS_PER_PIXEL, 2*CHANNELS_PER_PIXEL, 1*CHANNELS_PER_PIXEL, 0*CHANNELS_PER_PIXEL
-        );
+        __m512i idx_base =
+            _mm512_set_epi32(15 * CHANNELS_PER_PIXEL, 14 * CHANNELS_PER_PIXEL,
+                             13 * CHANNELS_PER_PIXEL, 12 * CHANNELS_PER_PIXEL,
+                             11 * CHANNELS_PER_PIXEL, 10 * CHANNELS_PER_PIXEL,
+                             9 * CHANNELS_PER_PIXEL, 8 * CHANNELS_PER_PIXEL,
+                             7 * CHANNELS_PER_PIXEL, 6 * CHANNELS_PER_PIXEL,
+                             5 * CHANNELS_PER_PIXEL, 4 * CHANNELS_PER_PIXEL,
+                             3 * CHANNELS_PER_PIXEL, 2 * CHANNELS_PER_PIXEL,
+                             1 * CHANNELS_PER_PIXEL, 0 * CHANNELS_PER_PIXEL);
 
-        idx_base = _mm512_add_epi32(idx_base, _mm512_set1_epi32(i * CHANNELS_PER_PIXEL));
+        idx_base = _mm512_add_epi32(idx_base,
+                                    _mm512_set1_epi32(i * CHANNELS_PER_PIXEL));
 
         // Load data into three vectors
-        __m512 data0 = _mm512_mask_i32gather_ps(_mm512_setzero_ps(), mask, idx_base, pSrc, 4);
-        __m512 data1 = _mm512_mask_i32gather_ps(_mm512_setzero_ps(), mask, _mm512_add_epi32(idx_base, _mm512_set1_epi32(1)), pSrc, 4);
-        __m512 data2 = _mm512_mask_i32gather_ps(_mm512_setzero_ps(), mask, _mm512_add_epi32(idx_base, _mm512_set1_epi32(2)), pSrc, 4);
+        __m512 data0 = _mm512_mask_i32gather_ps(_mm512_setzero_ps(), mask,
+                                                idx_base, pSrc, 4);
+        __m512 data1 = _mm512_mask_i32gather_ps(
+            _mm512_setzero_ps(), mask,
+            _mm512_add_epi32(idx_base, _mm512_set1_epi32(1)), pSrc, 4);
+        __m512 data2 = _mm512_mask_i32gather_ps(
+            _mm512_setzero_ps(), mask,
+            _mm512_add_epi32(idx_base, _mm512_set1_epi32(2)), pSrc, 4);
 
         __m512 channels[4];
         channels[0] = data0;
@@ -50,33 +60,41 @@
         }
         perm_idx = _mm512_loadu_si512(perm_idx_array);
 
-        __m512 result0 = _mm512_permutexvar_ps(perm_idx, _mm512_set_ps(
-                channels[3][15], channels[2][15], channels[1][15], channels[0][15],
-                channels[3][14], channels[2][14], channels[1][14], channels[0][14],
-                channels[3][13], channels[2][13], channels[1][13], channels[0][13],
-                channels[3][12], channels[2][12], channels[1][12], channels[0][12]
-        ));
+        __m512 result0 = _mm512_permutexvar_ps(
+            perm_idx,
+            _mm512_set_ps(channels[3][15], channels[2][15], channels[1][15],
+                          channels[0][15], channels[3][14], channels[2][14],
+                          channels[1][14], channels[0][14], channels[3][13],
+                          channels[2][13], channels[1][13], channels[0][13],
+                          channels[3][12], channels[2][12], channels[1][12],
+                          channels[0][12]));
 
-        __m512 result1 = _mm512_permutexvar_ps(perm_idx, _mm512_set_ps(
-                channels[3][11], channels[2][11], channels[1][11], channels[0][11],
-                channels[3][10], channels[2][10], channels[1][10], channels[0][10],
-                channels[3][9],  channels[2][9],  channels[1][9],  channels[0][9],
-                channels[3][8],  channels[2][8],  channels[1][8],  channels[0][8]
-        ));
+        __m512 result1 = _mm512_permutexvar_ps(
+            perm_idx,
+            _mm512_set_ps(channels[3][11], channels[2][11], channels[1][11],
+                          channels[0][11], channels[3][10], channels[2][10],
+                          channels[1][10], channels[0][10], channels[3][9],
+                          channels[2][9], channels[1][9], channels[0][9],
+                          channels[3][8], channels[2][8], channels[1][8],
+                          channels[0][8]));
 
-        __m512 result2 = _mm512_permutexvar_ps(perm_idx, _mm512_set_ps(
-                channels[3][7], channels[2][7], channels[1][7], channels[0][7],
-                channels[3][6], channels[2][6], channels[1][6], channels[0][6],
-                channels[3][5], channels[2][5], channels[1][5], channels[0][5],
-                channels[3][4], channels[2][4], channels[1][4], channels[0][4]
-        ));
+        __m512 result2 = _mm512_permutexvar_ps(
+            perm_idx,
+            _mm512_set_ps(channels[3][7], channels[2][7], channels[1][7],
+                          channels[0][7], channels[3][6], channels[2][6],
+                          channels[1][6], channels[0][6], channels[3][5],
+                          channels[2][5], channels[1][5], channels[0][5],
+                          channels[3][4], channels[2][4], channels[1][4],
+                          channels[0][4]));
 
-        __m512 result3 = _mm512_permutexvar_ps(perm_idx, _mm512_set_ps(
-                channels[3][3], channels[2][3], channels[1][3], channels[0][3],
-                channels[3][2], channels[2][2], channels[1][2], channels[0][2],
-                channels[3][1], channels[2][1], channels[1][1], channels[0][1],
-                channels[3][0], channels[2][0], channels[1][0], channels[0][0]
-        ));
+        __m512 result3 = _mm512_permutexvar_ps(
+            perm_idx,
+            _mm512_set_ps(channels[3][3], channels[2][3], channels[1][3],
+                          channels[0][3], channels[3][2], channels[2][2],
+                          channels[1][2], channels[0][2], channels[3][1],
+                          channels[2][1], channels[1][1], channels[0][1],
+                          channels[3][0], channels[2][0], channels[1][0],
+                          channels[0][0]));
 
         float *pDst = dst + i * dst_channels;
         _mm512_mask_storeu_ps(pDst, mask, result3);

Clang-tidy returned error(s):
20817 warnings generated.
Suppressed 20752 warnings (20752 in non-user code).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
65 warnings treated as errors

/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:6:34: error: 'const' in C is not a compile-time constant; consider using an enum for integer constants [caos-magic-numbers,-warnings-as-errors]
    const unsigned VECTOR_SIZE = 16;
                                 ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:10:20: error: invalid case style for constant 'dst_channels' [caos-identifier-naming,-warnings-as-errors]
    const unsigned dst_channels = (order[3] != -1) ? MAX_CHANNELS : 3;
                   ^~~~~~~~~~~~
                   DST_CHANNELS
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:12:25: error: 16 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
    int permute_indices[16];
                        ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:24:22: error: invalid case style for variable 'pSrc' [caos-identifier-naming,-warnings-as-errors]
        const float *pSrc = src + i * CHANNELS_PER_PIXEL;
                     ^~~~
                     p_src
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:26:17: error: 15 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                15*CHANNELS_PER_PIXEL, 14*CHANNELS_PER_PIXEL, 13*CHANNELS_PER_PIXEL, 12*CHANNELS_PER_PIXEL,
                ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:26:40: error: 14 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                15*CHANNELS_PER_PIXEL, 14*CHANNELS_PER_PIXEL, 13*CHANNELS_PER_PIXEL, 12*CHANNELS_PER_PIXEL,
                                       ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:26:63: error: 13 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                15*CHANNELS_PER_PIXEL, 14*CHANNELS_PER_PIXEL, 13*CHANNELS_PER_PIXEL, 12*CHANNELS_PER_PIXEL,
                                                              ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:26:86: error: 12 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                15*CHANNELS_PER_PIXEL, 14*CHANNELS_PER_PIXEL, 13*CHANNELS_PER_PIXEL, 12*CHANNELS_PER_PIXEL,
                                                                                     ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:27:17: error: 11 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                11*CHANNELS_PER_PIXEL, 10*CHANNELS_PER_PIXEL, 9*CHANNELS_PER_PIXEL, 8*CHANNELS_PER_PIXEL,
                ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:27:40: error: 10 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                11*CHANNELS_PER_PIXEL, 10*CHANNELS_PER_PIXEL, 9*CHANNELS_PER_PIXEL, 8*CHANNELS_PER_PIXEL,
                                       ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:27:63: error: 9 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                11*CHANNELS_PER_PIXEL, 10*CHANNELS_PER_PIXEL, 9*CHANNELS_PER_PIXEL, 8*CHANNELS_PER_PIXEL,
                                                              ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:27:85: error: 8 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                11*CHANNELS_PER_PIXEL, 10*CHANNELS_PER_PIXEL, 9*CHANNELS_PER_PIXEL, 8*CHANNELS_PER_PIXEL,
                                                                                    ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:28:17: error: 7 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                7*CHANNELS_PER_PIXEL, 6*CHANNELS_PER_PIXEL, 5*CHANNELS_PER_PIXEL, 4*CHANNELS_PER_PIXEL,
                ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:28:39: error: 6 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                7*CHANNELS_PER_PIXEL, 6*CHANNELS_PER_PIXEL, 5*CHANNELS_PER_PIXEL, 4*CHANNELS_PER_PIXEL,
                                      ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:28:61: error: 5 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                7*CHANNELS_PER_PIXEL, 6*CHANNELS_PER_PIXEL, 5*CHANNELS_PER_PIXEL, 4*CHANNELS_PER_PIXEL,
                                                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:46:28: error: 16 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
        int perm_idx_array[16];
                           ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:47:29: error: 16 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
        for (int j = 0; j < 16; ++j) {
                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:54:29: error: 15 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][15], channels[2][15], channels[1][15], channels[0][15],
                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:54:46: error: 15 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][15], channels[2][15], channels[1][15], channels[0][15],
                                             ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:54:63: error: 15 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][15], channels[2][15], channels[1][15], channels[0][15],
                                                              ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:54:80: error: 15 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][15], channels[2][15], channels[1][15], channels[0][15],
                                                                               ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:55:29: error: 14 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][14], channels[2][14], channels[1][14], channels[0][14],
                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:55:46: error: 14 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][14], channels[2][14], channels[1][14], channels[0][14],
                                             ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:55:63: error: 14 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][14], channels[2][14], channels[1][14], channels[0][14],
                                                              ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:55:80: error: 14 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][14], channels[2][14], channels[1][14], channels[0][14],
                                                                               ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:56:29: error: 13 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][13], channels[2][13], channels[1][13], channels[0][13],
                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:56:46: error: 13 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][13], channels[2][13], channels[1][13], channels[0][13],
                                             ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:56:63: error: 13 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][13], channels[2][13], channels[1][13], channels[0][13],
                                                              ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:56:80: error: 13 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][13], channels[2][13], channels[1][13], channels[0][13],
                                                                               ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:57:29: error: 12 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][12], channels[2][12], channels[1][12], channels[0][12]
                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:57:46: error: 12 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][12], channels[2][12], channels[1][12], channels[0][12]
                                             ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:57:63: error: 12 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][12], channels[2][12], channels[1][12], channels[0][12]
                                                              ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:57:80: error: 12 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][12], channels[2][12], channels[1][12], channels[0][12]
                                                                               ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:61:29: error: 11 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][11], channels[2][11], channels[1][11], channels[0][11],
                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:61:46: error: 11 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][11], channels[2][11], channels[1][11], channels[0][11],
                                             ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:61:63: error: 11 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][11], channels[2][11], channels[1][11], channels[0][11],
                                                              ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:61:80: error: 11 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][11], channels[2][11], channels[1][11], channels[0][11],
                                                                               ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:62:29: error: 10 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][10], channels[2][10], channels[1][10], channels[0][10],
                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:62:46: error: 10 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][10], channels[2][10], channels[1][10], channels[0][10],
                                             ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:62:63: error: 10 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][10], channels[2][10], channels[1][10], channels[0][10],
                                                              ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:62:80: error: 10 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][10], channels[2][10], channels[1][10], channels[0][10],
                                                                               ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:63:29: error: 9 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][9],  channels[2][9],  channels[1][9],  channels[0][9],
                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:63:46: error: 9 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][9],  channels[2][9],  channels[1][9],  channels[0][9],
                                             ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:63:63: error: 9 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][9],  channels[2][9],  channels[1][9],  channels[0][9],
                                                              ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:63:80: error: 9 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][9],  channels[2][9],  channels[1][9],  channels[0][9],
                                                                               ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:64:29: error: 8 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][8],  channels[2][8],  channels[1][8],  channels[0][8]
                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:64:46: error: 8 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][8],  channels[2][8],  channels[1][8],  channels[0][8]
                                             ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:64:63: error: 8 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][8],  channels[2][8],  channels[1][8],  channels[0][8]
                                                              ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:64:80: error: 8 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][8],  channels[2][8],  channels[1][8],  channels[0][8]
                                                                               ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:68:29: error: 7 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][7], channels[2][7], channels[1][7], channels[0][7],
                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:68:45: error: 7 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][7], channels[2][7], channels[1][7], channels[0][7],
                                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:68:61: error: 7 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][7], channels[2][7], channels[1][7], channels[0][7],
                                                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:68:77: error: 7 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][7], channels[2][7], channels[1][7], channels[0][7],
                                                                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:69:29: error: 6 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][6], channels[2][6], channels[1][6], channels[0][6],
                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:69:45: error: 6 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][6], channels[2][6], channels[1][6], channels[0][6],
                                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:69:61: error: 6 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][6], channels[2][6], channels[1][6], channels[0][6],
                                                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:69:77: error: 6 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][6], channels[2][6], channels[1][6], channels[0][6],
                                                                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:70:29: error: 5 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][5], channels[2][5], channels[1][5], channels[0][5],
                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:70:45: error: 5 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][5], channels[2][5], channels[1][5], channels[0][5],
                                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:70:61: error: 5 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][5], channels[2][5], channels[1][5], channels[0][5],
                                                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:70:77: error: 5 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
                channels[3][5], channels[2][5], channels[1][5], channels[0][5],
                                                                            ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:81:16: error: invalid case style for variable 'pDst' [caos-identifier-naming,-warnings-as-errors]
        float *pDst = dst + i * dst_channels;
               ^~~~
               p_dst
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:83:38: error: 16 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
        _mm512_mask_storeu_ps(pDst + 16, mask, result2);
                                     ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:84:38: error: 32 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
        _mm512_mask_storeu_ps(pDst + 32, mask, result1);
                                     ^
/var/lib/ejudge/compile/work/7bbfce1074355ac8.c:85:38: error: 48 is a magic number; consider replacing it with a named constant [caos-magic-numbers,-warnings-as-errors]
        _mm512_mask_storeu_ps(pDst + 48, mask, result0);