torch / distro

Torch installation in a self-contained folder
BSD 3-Clause "New" or "Revised" License
555 stars 481 forks source link

install-deps fails when compiling OpenBLAS in Ubuntu 16.04 Docker container #265

Open pjreed opened 5 years ago

pjreed commented 5 years ago

I'm trying to install Torch inside a Docker container. Here's my Dockerfile, which so far is pretty simple:

FROM nvidia/cuda:9.2-cudnn7-devel-ubuntu16.04

RUN apt-get update && apt-get install -y --no-install-recommends \
        libsnappy-dev libgraphicsmagick1-dev git openssh-client sudo && \
    rm -rf /var/lib/apt/lists/*

RUN git clone https://github.com/torch/distro.git /torch --recursive

WORKDIR /torch

RUN bash install-deps

RUN ./install.sh

RUN source install/bin/torch-activate && \
    luarocks install graphicsmagick && \
    luarocks install lua-csnappy && \
    luarocks install md5 && \
    luarocks install uuid && \
    luarocks install csvigo && \
    luarocks install cudnn

When it runs the install-deps step, it fails when compiling OpenBLAS. The log file is very long, but here's all of the output after the last successful step:

cc -c -O2 -DMAX_STACK_ALLOC=2048 -fopenmp -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DNO_AVX512 -DSMP_SERVER -DUSE_OPENMP -DNO_WARMUP -DMAX_CPU_NUMBER=16 -DMAX_PARALLEL_NUMBER=1 -DASMNAME=dtrmm_iutncopy -DASMFNAME=dtrmm_iutncopy_ -DNAME=dtrmm_iutncopy_ -DCNAME=dtrmm_iutncopy -DCHAR_NAME=\"dtrmm_iutncopy_\" -DCHAR_CNAME=\"dtrmm_iutncopy\" -DNO_AFFINITY -I.. -DDOUBLE  -UCOMPLEX -Wno-uninitialized -DDOUBLE -UCOMPLEX -UOUTER -ULOWER -UUNIT generic/trmm_utcopy_4.c -o dtrmm_iutncopy.o
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c: In function 'dgemm_kernel':
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:48:7: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  ymm4 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1307:4: note: in expansion of macro 'INIT4x8'
    INIT4x8()
    ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:736:7: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
  zmm4 = _mm512_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1565:4: note: in expansion of macro 'INIT8x1'
    INIT8x1()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:55:8: error: called from here
  ymm11 = _mm256_setzero_pd();  \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1307:4: note: in expansion of macro 'INIT4x8'
    INIT4x8()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:54:8: error: called from here
  ymm10 = _mm256_setzero_pd();  \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1307:4: note: in expansion of macro 'INIT4x8'
    INIT4x8()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:53:7: error: called from here
  ymm9 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1307:4: note: in expansion of macro 'INIT4x8'
    INIT4x8()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:52:7: error: called from here
  ymm8 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1307:4: note: in expansion of macro 'INIT4x8'
    INIT4x8()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:51:7: error: called from here
  ymm7 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1307:4: note: in expansion of macro 'INIT4x8'
    INIT4x8()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:50:7: error: called from here
  ymm6 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1307:4: note: in expansion of macro 'INIT4x8'
    INIT4x8()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:49:7: error: called from here
  ymm5 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1307:4: note: in expansion of macro 'INIT4x8'
    INIT4x8()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:48:7: error: called from here
  ymm4 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1307:4: note: in expansion of macro 'INIT4x8'
    INIT4x8()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:85:8: error: called from here
  ymm0  = _mm256_permute4x64_pd(ymm0, 0xb1); \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1310:5: note: in expansion of macro 'KERNEL4x8_SUB'
     KERNEL4x8_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:78:8: error: called from here
  ymm0  = _mm256_permute4x64_pd(ymm0, 0x1b); \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1310:5: note: in expansion of macro 'KERNEL4x8_SUB'
     KERNEL4x8_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:71:8: error: called from here
  ymm0  = _mm256_permute4x64_pd(ymm0, 0xb1); \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1310:5: note: in expansion of macro 'KERNEL4x8_SUB'
     KERNEL4x8_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:62:8: error: called from here
  ymm2  = _mm256_loadu_pd(BO - 8); \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1310:5: note: in expansion of macro 'KERNEL4x8_SUB'
     KERNEL4x8_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:61:8: error: called from here
  ymm1  = _mm256_loadu_pd(BO - 12); \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1310:5: note: in expansion of macro 'KERNEL4x8_SUB'
     KERNEL4x8_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:59:8: error: called from here
  ymm0  = _mm256_loadu_pd(AO - 16); \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1310:5: note: in expansion of macro 'KERNEL4x8_SUB'
     KERNEL4x8_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:182:2: error: called from here
  _mm256_storeu_pd(CO1 + (7 * ldc), ymm7); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:181:2: error: called from here
  _mm256_storeu_pd(CO1 + (6 * ldc), ymm6); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:180:2: error: called from here
  _mm256_storeu_pd(CO1 + (5 * ldc), ymm5); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:179:2: error: called from here
  _mm256_storeu_pd(CO1 + (4 * ldc), ymm4); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:178:10: error: called from here
  ymm7 += _mm256_loadu_pd(CO1 + (7 * ldc)); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:177:10: error: called from here
  ymm6 += _mm256_loadu_pd(CO1 + (6 * ldc)); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:176:10: error: called from here
  ymm5 += _mm256_loadu_pd(CO1 + (5 * ldc)); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:175:10: error: called from here
  ymm4 += _mm256_loadu_pd(CO1 + (4 * ldc)); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:173:7: error: called from here
  ymm7 = _mm256_blend_pd(ymm1, ymm3, 0x03); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:172:7: error: called from here
  ymm6 = _mm256_blend_pd(ymm0, ymm2, 0x03); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:171:7: error: called from here
  ymm5 = _mm256_blend_pd(ymm3, ymm1, 0x03); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:170:7: error: called from here
  ymm4 = _mm256_blend_pd(ymm2, ymm0, 0x03); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:168:7: error: called from here
  ymm3 = _mm256_permute4x64_pd(ymm3, 0xb1); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:167:7: error: called from here
  ymm2 = _mm256_permute4x64_pd(ymm2, 0xb1); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:166:7: error: called from here
  ymm3 = _mm256_permute4x64_pd(ymm3, 0x1b); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:165:7: error: called from here
  ymm2 = _mm256_permute4x64_pd(ymm2, 0x1b); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:163:7: error: called from here
  ymm3 = _mm256_blend_pd(ymm10, ymm11, 0x05); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:162:7: error: called from here
  ymm2 = _mm256_blend_pd(ymm10, ymm11, 0x0a); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:161:7: error: called from here
  ymm1 = _mm256_blend_pd(ymm8, ymm9, 0x05); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:160:7: error: called from here
  ymm0 = _mm256_blend_pd(ymm8, ymm9, 0x0a); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:158:8: error: called from here
  ymm11 = _mm256_permute4x64_pd(ymm11, 0xb1); \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:157:7: error: called from here
  ymm9 = _mm256_permute4x64_pd(ymm9, 0xb1); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:155:2: error: called from here
  _mm256_storeu_pd(CO1 + (3 * ldc), ymm7); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:154:2: error: called from here
  _mm256_storeu_pd(CO1 + (2 * ldc), ymm6); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:153:2: error: called from here
  _mm256_storeu_pd(CO1 + (1 * ldc), ymm5); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:152:2: error: called from here
  _mm256_storeu_pd(CO1 + (0 * ldc), ymm4); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:151:10: error: called from here
  ymm7 += _mm256_loadu_pd(CO1 + (3 * ldc)); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:150:10: error: called from here
  ymm6 += _mm256_loadu_pd(CO1 + (2 * ldc)); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:149:10: error: called from here
  ymm5 += _mm256_loadu_pd(CO1 + (1 * ldc)); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:148:10: error: called from here
  ymm4 += _mm256_loadu_pd(CO1 + (0 * ldc)); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:144:7: error: called from here
  ymm7 = _mm256_blend_pd(ymm1, ymm3, 0x03); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:143:7: error: called from here
  ymm6 = _mm256_blend_pd(ymm0, ymm2, 0x03); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:140:7: error: called from here
  ymm5 = _mm256_blend_pd(ymm3, ymm1, 0x03); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:139:7: error: called from here
  ymm4 = _mm256_blend_pd(ymm2, ymm0, 0x03); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:135:7: error: called from here
  ymm3 = _mm256_permute4x64_pd(ymm3, 0xb1); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:134:7: error: called from here
  ymm2 = _mm256_permute4x64_pd(ymm2, 0xb1); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:131:7: error: called from here
  ymm3 = _mm256_permute4x64_pd(ymm3, 0x1b); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:130:7: error: called from here
  ymm2 = _mm256_permute4x64_pd(ymm2, 0x1b); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:126:7: error: called from here
  ymm3 = _mm256_blend_pd(ymm6, ymm7, 0x05); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:125:7: error: called from here
  ymm2 = _mm256_blend_pd(ymm6, ymm7, 0x0a); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:122:7: error: called from here
  ymm1 = _mm256_blend_pd(ymm4, ymm5, 0x05); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:121:7: error: called from here
  ymm0 = _mm256_blend_pd(ymm4, ymm5, 0x0a); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:118:7: error: called from here
  ymm7 = _mm256_permute4x64_pd(ymm7, 0xb1); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:116:7: error: called from here
  ymm5 = _mm256_permute4x64_pd(ymm5, 0xb1); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1278:1: error: inlining failed in call to always_inline '_mm256_set1_pd': target specific option mismatch
 _mm256_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:96:7: error: called from here
  ymm0 = _mm256_set1_pd(ALPHA);   \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1313:4: note: in expansion of macro 'SAVE4x8'
    SAVE4x8(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:489:8: error: called from here
  ymm17 = _mm256_setzero_pd();   \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1377:4: note: in expansion of macro 'INIT8x4'
    INIT8x4()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:488:8: error: called from here
  ymm16 = _mm256_setzero_pd();   \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1377:4: note: in expansion of macro 'INIT8x4'
    INIT8x4()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:487:8: error: called from here
  ymm15 = _mm256_setzero_pd();   \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1377:4: note: in expansion of macro 'INIT8x4'
    INIT8x4()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:486:8: error: called from here
  ymm14 = _mm256_setzero_pd();   \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1377:4: note: in expansion of macro 'INIT8x4'
    INIT8x4()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:485:8: error: called from here
  ymm13 = _mm256_setzero_pd();   \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1377:4: note: in expansion of macro 'INIT8x4'
    INIT8x4()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:484:8: error: called from here
  ymm12 = _mm256_setzero_pd();   \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1377:4: note: in expansion of macro 'INIT8x4'
    INIT8x4()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:483:8: error: called from here
  ymm11 = _mm256_setzero_pd();   \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1377:4: note: in expansion of macro 'INIT8x4'
    INIT8x4()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:482:8: error: called from here
  ymm10 = _mm256_setzero_pd();   \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1377:4: note: in expansion of macro 'INIT8x4'
    INIT8x4()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1278:1: error: inlining failed in call to always_inline '_mm256_set1_pd': target specific option mismatch
 _mm256_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:498:7: error: called from here
  ymm5 = _mm256_set1_pd(*(BO - 9)); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1381:5: note: in expansion of macro 'KERNEL8x4_SUB'
     KERNEL8x4_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1278:1: error: inlining failed in call to always_inline '_mm256_set1_pd': target specific option mismatch
 _mm256_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:497:7: error: called from here
  ymm4 = _mm256_set1_pd(*(BO - 10)); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1381:5: note: in expansion of macro 'KERNEL8x4_SUB'
     KERNEL8x4_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1278:1: error: inlining failed in call to always_inline '_mm256_set1_pd': target specific option mismatch
 _mm256_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:496:7: error: called from here
  ymm3 = _mm256_set1_pd(*(BO - 11)); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1381:5: note: in expansion of macro 'KERNEL8x4_SUB'
     KERNEL8x4_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1278:1: error: inlining failed in call to always_inline '_mm256_set1_pd': target specific option mismatch
 _mm256_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:495:7: error: called from here
  ymm2 = _mm256_set1_pd(*(BO - 12)); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1381:5: note: in expansion of macro 'KERNEL8x4_SUB'
     KERNEL8x4_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:494:7: error: called from here
  ymm1 = _mm256_loadu_pd(AO - 12); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1381:5: note: in expansion of macro 'KERNEL8x4_SUB'
     KERNEL8x4_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:493:7: error: called from here
  ymm0 = _mm256_loadu_pd(AO - 16); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1381:5: note: in expansion of macro 'KERNEL8x4_SUB'
     KERNEL8x4_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:539:2: error: called from here
  _mm256_storeu_pd(CO1 + ldc*3 + 4, ymm17); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:538:2: error: called from here
  _mm256_storeu_pd(CO1 + ldc*3, ymm16);  \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:537:2: error: called from here
  _mm256_storeu_pd(CO1 + ldc*2 + 4, ymm15); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:536:2: error: called from here
  _mm256_storeu_pd(CO1 + ldc*2, ymm14);  \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:535:2: error: called from here
  _mm256_storeu_pd(CO1 + ldc + 4, ymm13);  \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:534:2: error: called from here
  _mm256_storeu_pd(CO1 + ldc, ymm12);  \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:533:2: error: called from here
  _mm256_storeu_pd(CO1 + 4, ymm11);  \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:532:2: error: called from here
  _mm256_storeu_pd(CO1, ymm10);   \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:530:11: error: called from here
  ymm17 += _mm256_loadu_pd(CO1 + (ldc*3) + 4); \
           ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:529:11: error: called from here
  ymm16 += _mm256_loadu_pd(CO1 + (ldc*3)); \
           ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:528:11: error: called from here
  ymm15 += _mm256_loadu_pd(CO1 + (ldc*2) + 4); \
           ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:527:11: error: called from here
  ymm14 += _mm256_loadu_pd(CO1 + (ldc*2)); \
           ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:526:11: error: called from here
  ymm13 += _mm256_loadu_pd(CO1 + (ldc) + 4); \
           ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:525:11: error: called from here
  ymm12 += _mm256_loadu_pd(CO1 + (ldc));  \
           ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:524:11: error: called from here
  ymm11 += _mm256_loadu_pd(CO1 + 4);  \
           ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:523:11: error: called from here
  ymm10 += _mm256_loadu_pd(CO1);   \
           ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1278:1: error: inlining failed in call to always_inline '_mm256_set1_pd': target specific option mismatch
 _mm256_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:513:7: error: called from here
  ymm0 = _mm256_set1_pd(ALPHA);   \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1385:4: note: in expansion of macro 'SAVE8x4'
    SAVE8x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:331:7: error: called from here
  ymm7 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1396:4: note: in expansion of macro 'INIT4x4'
    INIT4x4()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:330:7: error: called from here
  ymm6 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1396:4: note: in expansion of macro 'INIT4x4'
    INIT4x4()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:329:7: error: called from here
  ymm5 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1396:4: note: in expansion of macro 'INIT4x4'
    INIT4x4()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:328:7: error: called from here
  ymm4 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1396:4: note: in expansion of macro 'INIT4x4'
    INIT4x4()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:346:8: error: called from here
  ymm0  = _mm256_permute4x64_pd(ymm0, 0xb1); \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1400:5: note: in expansion of macro 'KERNEL4x4_SUB'
     KERNEL4x4_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:343:8: error: called from here
  ymm0  = _mm256_permute4x64_pd(ymm0, 0x1b); \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1400:5: note: in expansion of macro 'KERNEL4x4_SUB'
     KERNEL4x4_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:340:8: error: called from here
  ymm0  = _mm256_permute4x64_pd(ymm0, 0xb1); \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1400:5: note: in expansion of macro 'KERNEL4x4_SUB'
     KERNEL4x4_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:336:8: error: called from here
  ymm1  = _mm256_loadu_pd(BO - 12);  \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1400:5: note: in expansion of macro 'KERNEL4x4_SUB'
     KERNEL4x4_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:335:8: error: called from here
  ymm0  = _mm256_loadu_pd(AO - 16);  \
        ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1400:5: note: in expansion of macro 'KERNEL4x4_SUB'
     KERNEL4x4_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:384:2: error: called from here
  _mm256_storeu_pd(CO1 + (3 * ldc), ymm7); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:383:2: error: called from here
  _mm256_storeu_pd(CO1 + (2 * ldc), ymm6); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:382:2: error: called from here
  _mm256_storeu_pd(CO1 + (1 * ldc), ymm5); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:381:2: error: called from here
  _mm256_storeu_pd(CO1 + (0 * ldc), ymm4); \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:380:10: error: called from here
  ymm7 += _mm256_loadu_pd(CO1 + (3 * ldc)); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:379:10: error: called from here
  ymm6 += _mm256_loadu_pd(CO1 + (2 * ldc)); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:378:10: error: called from here
  ymm5 += _mm256_loadu_pd(CO1 + (1 * ldc)); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:377:10: error: called from here
  ymm4 += _mm256_loadu_pd(CO1 + (0 * ldc)); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:375:7: error: called from here
  ymm7 = _mm256_blend_pd(ymm1, ymm3, 0x03); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:374:7: error: called from here
  ymm6 = _mm256_blend_pd(ymm0, ymm2, 0x03); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:373:7: error: called from here
  ymm5 = _mm256_blend_pd(ymm3, ymm1, 0x03); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:372:7: error: called from here
  ymm4 = _mm256_blend_pd(ymm2, ymm0, 0x03); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:370:7: error: called from here
  ymm3 = _mm256_permute4x64_pd(ymm3, 0xb1); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:369:7: error: called from here
  ymm2 = _mm256_permute4x64_pd(ymm2, 0xb1); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:368:7: error: called from here
  ymm3 = _mm256_permute4x64_pd(ymm3, 0x1b); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:367:7: error: called from here
  ymm2 = _mm256_permute4x64_pd(ymm2, 0x1b); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:365:7: error: called from here
  ymm3 = _mm256_blend_pd(ymm6, ymm7, 0x05); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:364:7: error: called from here
  ymm2 = _mm256_blend_pd(ymm6, ymm7, 0x0a); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:363:7: error: called from here
  ymm1 = _mm256_blend_pd(ymm4, ymm5, 0x05); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:182:1: error: inlining failed in call to always_inline '_mm256_blend_pd': target specific option mismatch
 _mm256_blend_pd (__m256d __X, __m256d __Y, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:362:7: error: called from here
  ymm0 = _mm256_blend_pd(ymm4, ymm5, 0x0a); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:360:7: error: called from here
  ymm7 = _mm256_permute4x64_pd(ymm7, 0xb1); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
 _mm256_permute4x64_pd (__m256d __X, const int __M)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:359:7: error: called from here
  ymm5 = _mm256_permute4x64_pd(ymm5, 0xb1); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1278:1: error: inlining failed in call to always_inline '_mm256_set1_pd': target specific option mismatch
 _mm256_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:353:7: error: called from here
  ymm0 = _mm256_set1_pd(ALPHA);   \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1404:4: note: in expansion of macro 'SAVE4x4'
    SAVE4x4(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:550:7: error: called from here
  ymm7 = _mm256_setzero_pd();   \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1470:4: note: in expansion of macro 'INIT8x2'
    INIT8x2()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:549:7: error: called from here
  ymm6 = _mm256_setzero_pd();   \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1470:4: note: in expansion of macro 'INIT8x2'
    INIT8x2()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:548:7: error: called from here
  ymm5 = _mm256_setzero_pd();   \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1470:4: note: in expansion of macro 'INIT8x2'
    INIT8x2()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:547:7: error: called from here
  ymm4 = _mm256_setzero_pd();   \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1470:4: note: in expansion of macro 'INIT8x2'
    INIT8x2()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1278:1: error: inlining failed in call to always_inline '_mm256_set1_pd': target specific option mismatch
 _mm256_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:557:7: error: called from here
  ymm3 = _mm256_set1_pd(*(BO - 11)); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1475:5: note: in expansion of macro 'KERNEL8x2_SUB'
     KERNEL8x2_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1278:1: error: inlining failed in call to always_inline '_mm256_set1_pd': target specific option mismatch
 _mm256_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:556:7: error: called from here
  ymm2 = _mm256_set1_pd(*(BO - 12)); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1475:5: note: in expansion of macro 'KERNEL8x2_SUB'
     KERNEL8x2_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:555:7: error: called from here
  ymm1 = _mm256_loadu_pd(AO - 12); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1475:5: note: in expansion of macro 'KERNEL8x2_SUB'
     KERNEL8x2_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:554:7: error: called from here
  ymm0 = _mm256_loadu_pd(AO - 16); \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1475:5: note: in expansion of macro 'KERNEL8x2_SUB'
     KERNEL8x2_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:582:2: error: called from here
  _mm256_storeu_pd(CO1 + ldc + 4, ymm7);  \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1479:4: note: in expansion of macro 'SAVE8x2'
    SAVE8x2(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:581:2: error: called from here
  _mm256_storeu_pd(CO1 + ldc, ymm6);  \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1479:4: note: in expansion of macro 'SAVE8x2'
    SAVE8x2(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:580:2: error: called from here
  _mm256_storeu_pd(CO1 + 4, ymm5);  \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1479:4: note: in expansion of macro 'SAVE8x2'
    SAVE8x2(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:579:2: error: called from here
  _mm256_storeu_pd(CO1, ymm4);   \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1479:4: note: in expansion of macro 'SAVE8x2'
    SAVE8x2(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:577:10: error: called from here
  ymm7 += _mm256_loadu_pd(CO1 + (ldc) + 4); \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1479:4: note: in expansion of macro 'SAVE8x2'
    SAVE8x2(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:576:10: error: called from here
  ymm6 += _mm256_loadu_pd(CO1 + (ldc));  \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1479:4: note: in expansion of macro 'SAVE8x2'
    SAVE8x2(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:575:10: error: called from here
  ymm5 += _mm256_loadu_pd(CO1 + 4);  \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1479:4: note: in expansion of macro 'SAVE8x2'
    SAVE8x2(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:574:10: error: called from here
  ymm4 += _mm256_loadu_pd(CO1);   \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1479:4: note: in expansion of macro 'SAVE8x2'
    SAVE8x2(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1278:1: error: inlining failed in call to always_inline '_mm256_set1_pd': target specific option mismatch
 _mm256_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:568:7: error: called from here
  ymm0 = _mm256_set1_pd(ALPHA);   \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1479:4: note: in expansion of macro 'SAVE8x2'
    SAVE8x2(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:45:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h:245:1: error: inlining failed in call to always_inline '_mm512_setzero_pd': target specific option mismatch
 _mm512_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:736:7: error: called from here
  zmm4 = _mm512_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1565:4: note: in expansion of macro 'INIT8x1'
    INIT8x1()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:45:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h:5672:1: error: inlining failed in call to always_inline '_mm512_loadu_pd': target specific option mismatch
 _mm512_loadu_pd (void const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:741:7: error: called from here
  zmm0 = _mm512_loadu_pd(AO - 16);   \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1569:5: note: in expansion of macro 'KERNEL8x1_SUB'
     KERNEL8x1_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:45:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h:167:1: error: inlining failed in call to always_inline '_mm512_set1_pd': target specific option mismatch
 _mm512_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:740:7: error: called from here
  zmm2 = _mm512_set1_pd(*(BO - 12));   \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1569:5: note: in expansion of macro 'KERNEL8x1_SUB'
     KERNEL8x1_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:45:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h:5701:1: error: inlining failed in call to always_inline '_mm512_storeu_pd': target specific option mismatch
 _mm512_storeu_pd (void *__P, __m512d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:752:2: error: called from here
  _mm512_storeu_pd(CO1, zmm4);    \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1573:4: note: in expansion of macro 'SAVE8x1'
    SAVE8x1(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:45:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h:5672:1: error: inlining failed in call to always_inline '_mm512_loadu_pd': target specific option mismatch
 _mm512_loadu_pd (void const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:751:10: error: called from here
  zmm4 += _mm512_loadu_pd(CO1);    \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1573:4: note: in expansion of macro 'SAVE8x1'
    SAVE8x1(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:45:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h:167:1: error: inlining failed in call to always_inline '_mm512_set1_pd': target specific option mismatch
 _mm512_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:748:7: error: called from here
  zmm0 = _mm512_set1_pd(ALPHA);    \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1573:4: note: in expansion of macro 'SAVE8x1'
    SAVE8x1(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:705:7: error: called from here
  ymm7 = _mm256_setzero_pd();  
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1584:4: note: in expansion of macro 'INIT4x1'
    INIT4x1()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:704:7: error: called from here
  ymm6 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1584:4: note: in expansion of macro 'INIT4x1'
    INIT4x1()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:703:7: error: called from here
  ymm5 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1584:4: note: in expansion of macro 'INIT4x1'
    INIT4x1()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
 _mm256_setzero_pd (void)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:702:7: error: called from here
  ymm4 = _mm256_setzero_pd();  \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1584:4: note: in expansion of macro 'INIT4x1'
    INIT4x1()
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:757:7: error: called from here
  ymm0 = _mm256_loadu_pd(AO - 16);   \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1588:5: note: in expansion of macro 'KERNEL4x1_SUB'
     KERNEL4x1_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1278:1: error: inlining failed in call to always_inline '_mm256_set1_pd': target specific option mismatch
 _mm256_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:756:7: error: called from here
  ymm2 = _mm256_set1_pd(*(BO - 12));   \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1588:5: note: in expansion of macro 'KERNEL4x1_SUB'
     KERNEL4x1_SUB()
     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:864:1: error: inlining failed in call to always_inline '_mm256_storeu_pd': target specific option mismatch
 _mm256_storeu_pd (double *__P, __m256d __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:771:2: error: called from here
  _mm256_storeu_pd(CO1, ymm4);    \
  ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1592:4: note: in expansion of macro 'SAVE4x1'
    SAVE4x1(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:858:1: error: inlining failed in call to always_inline '_mm256_loadu_pd': target specific option mismatch
 _mm256_loadu_pd (double const *__P)
 ^
cc -c -O2 -DMAX_STACK_ALLOC=2048 -fopenmp -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DNO_AVX512 -DSMP_SERVER -DUSE_OPENMP -DNO_WARMUP -DMAX_CPU_NUMBER=16 -DMAX_PARALLEL_NUMBER=1 -DASMNAME=dtrmm_iltucopy -DASMFNAME=dtrmm_iltucopy_ -DNAME=dtrmm_iltucopy_ -DCNAME=dtrmm_iltucopy -DCHAR_NAME=\"dtrmm_iltucopy_\" -DCHAR_CNAME=\"dtrmm_iltucopy\" -DNO_AFFINITY -I.. -DDOUBLE  -UCOMPLEX -Wno-uninitialized -DDOUBLE -UCOMPLEX -UOUTER -DLOWER -DUNIT generic/trmm_ltcopy_4.c -o dtrmm_iltucopy.o
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:770:10: error: called from here
  ymm4 += _mm256_loadu_pd(CO1);    \
          ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1592:4: note: in expansion of macro 'SAVE4x1'
    SAVE4x1(alpha)
    ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from ../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:1278:1: error: inlining failed in call to always_inline '_mm256_set1_pd': target specific option mismatch
 _mm256_set1_pd (double __A)
 ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:764:7: error: called from here
  ymm0 = _mm256_set1_pd(ALPHA);    \
       ^
../kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1592:4: note: in expansion of macro 'SAVE4x1'
    SAVE4x1(alpha)
    ^
cc -c -O2 -DMAX_STACK_ALLOC=2048 -fopenmp -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DNO_AVX512 -DSMP_SERVER -DUSE_OPENMP -DNO_WARMUP -DMAX_CPU_NUMBER=16 -DMAX_PARALLEL_NUMBER=1 -DASMNAME=dtrmm_iltncopy -DASMFNAME=dtrmm_iltncopy_ -DNAME=dtrmm_iltncopy_ -DCNAME=dtrmm_iltncopy -DCHAR_NAME=\"dtrmm_iltncopy_\" -DCHAR_CNAME=\"dtrmm_iltncopy\" -DNO_AFFINITY -I.. -DDOUBLE  -UCOMPLEX -Wno-uninitialized -DDOUBLE -UCOMPLEX -UOUTER -DLOWER -UUNIT generic/trmm_ltcopy_4.c -o dtrmm_iltncopy.o
Makefile.L3:535: recipe for target 'dgemm_kernel.o' failed
make[1]: *** [dgemm_kernel.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/tmp.gnoJd43B9c/OpenBLAS/kernel'
make: *** [libs] Error 1
Makefile:145: recipe for target 'libs' failed
Error. OpenBLAS could not be compiled
The command '/bin/sh -c bash install-deps' returned a non-zero code: 2
AlexanderMelde commented 5 years ago

Hi @pjreed,

i have the same error message in my "cuda:9-0-base" container. Have you already been able to solve this issue?

Kind Regards Alexander

pjreed commented 5 years ago

I haven't had any luck getting install-deps to compile OpenBLAS, but I have worked around the issue by manually installing ATLAS (libatlas3-base and libatlas-dev) beforehand, and Torch will happily use that instead.

AlexanderMelde commented 5 years ago

Thank you very much, i will try your solution.

AlexanderMelde commented 5 years ago

your solution worked, thank you. For any future readers: you also need to remove the function calls to "install-openblas" inside of the install-deps file.

jainal09 commented 4 years ago

Thank me later! Use this docker file for torch installation! https://github.com/runwayml/alpha_models/blob/master/densecap/Dockerfile

jainal09 commented 4 years ago

Hey, Check this docker image I created for running dense cap in gpu! This has torch, nn, image, lua-cjson, torch-rnn-scm-1.rockspec, cutorch, cunn, cudnn pre installed in it! https://hub.docker.com/r/jainal09/densecap_gpu