You probably did not enable OpenMP in VS settings. Without enabling it, you are only using one thread