std::async from C++11 does not work

2016-03-15 Thread Ilya Razenshteyn
Hi all, I'm trying to compile and run the below code. As a result, only one copy of "f" is being executed at a time, that is, no new threads are spawned. Does anyone know what's going on? cygwin 2.4.1, gcc 5.3.0, compilation options are "g++ test.cpp -o test -O3 -Wall -std=c++11 -lpthread".

Re: short C code that uses AVX and fails under Cygwin

2016-01-14 Thread Ilya Razenshteyn
Looks like this is indeed what happens! Thanks a lot! Ilya On 1/14/2016 11:49 PM, Ismail Donmez wrote: Hi, On Thu, Jan 14, 2016 at 10:20 PM, Ilya Razenshteyn wrote: Hi all, the below C code fails under Cygwin. More specifically, the environment is: Windows 8.1, Cygwin 2.3.1, GCC 4.9.3

short C code that uses AVX and fails under Cygwin

2016-01-14 Thread Ilya Razenshteyn
Hi all, the below C code fails under Cygwin. More specifically, the environment is: Windows 8.1, Cygwin 2.3.1, GCC 4.9.3, CPU 'Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz', compilation options are '-O0 -mavx'. Is it indeed a bug in Cygwin or I don't understand something? Cheers, Ilya #include