FIAS . Impressum . Privacy

Vc::currentImplementationSupported() fails

Kay F. Jahnke [please enable javascript to see the address]
Sun Apr 30 09:49:35 CEST 2017


Hi group!

I added a call to Vc::currentImplementationSupported() at the beginning 
of my main(), but it doesn't seem to detect when a compile for an 
unsupported implementation is run.

My system has AVX2, so I tried compiling (with g++ and clang++) with 
-mavx512f, and alternatively, with -march=knl. In both cases, I ended up 
with an 'illegal instruction-core dumped' instead of the graceful 'sorry 
not supported' message I was anticipating. Am I missing something or is 
there maybe a bug?

My build is from source with a checkout as per today.

With regards

Kay F. Jahnke



More information about the Vc mailing list
FIAS . Impressum . Privacy