C++ Team Blog

C++ tutorials, C and C++ news, and information about Visual Studio, Visual Studio Code, and Vcpkg from the Microsoft C++ team.

OpenMP Updates and Fixes for C++ in Visual Studio 2019 version 16.10

In our previous blog post about improved OpenMP support in Visual Studio, we announced the addition of the -openmp:llvm switch in Visual Studio 2019 version 16.9 to enable compiled programs to target LLVM’s OpenMP runtime library for the x64 architecture. This switch supports all the OpenMP 2.0 directives that -openmp supports, as well as ...

Improved OpenMP Support for C++ in Visual Studio

In Visual Studio 2019 version 16.9 we shipped the first stage in our plan to support newer versions of the OpenMP standard in C++ under the -openmp:llvm flag. This flag currently enables several correctness fixes and the use of unsigned integers in parallel for loops.

SIMD Extension to C++ OpenMP in Visual Studio

In the era of ubiquitous AI applications there is an emerging demand of the compiler accelerating computation-intensive machine-learning code for existing hardware. Such code usually does mathematical computation like matrix transformation and manipulation and it is usually in the form of loops. The SIMD extension of OpenMP provides users an ...

Parallel STL – Democratizing Parallelism in C++

Only a few years ago, writing parallel code in C++ was a domain of the experts. Nowadays, this field is becoming more and more accessible to regular developers thanks to the advances in libraries, such as the PPL and C++ AMP from Microsoft, Intel's Threading Building Blocks, OpenMP or OpenACC if you prefer a pragma-style approach, OpenCL for ...