Monday, May 25, 2015

Welcome to the seventy-third issue of LLVM Weekly, a weekly newsletter
(published every Monday) covering developments in LLVM, Clang, and related
projects. LLVM Weekly is brought to you by Alex
Bradbury. Subscribe to future issues at
http://llvmweekly.org and pass it on to anyone else you think may be
interested. Please send any tips or feedback to asb@asbradbury.org, or @llvmweekly or @asbradbury on Twitter.

Friday, May 22, 2015

OpenMP
support in Clang compiler is completed! Every pragma and clause from 3.1 version of the standard is supported in full, including combined directives (like ‘#pragma omp parallel
for’ and ‘#pragma omp parallel sections’). In addition,
some elements of OpenMP 4.0 are supported as well. This includes “almost
complete” support for
‘#pragma omp simd” and full support for ‘#pragma omp atomic’ (combined pragmas and a couple of clauses are still missing).

OpenMP
enables Clang users to harness full power of modern multi-core processors with
vector units. Pragmas from OpenMP 3.1 provide an industry standard way to
employ task parallelism, while ‘#pragma omp simd’ is a simple yet flexible
way to enable data parallelism (aka vectorization).

You will
see more than one “Hello” line with different thread numbers (note that the
lines may be mixed together). If you see only one line, try setting the
environment variable OMP_NUM_THREADS to some number (say 4) and try again.

Hopefully,
you will enjoy using OpenMP and witness dramatic boosts of your applications’
performance!

Monday, May 18, 2015

Welcome to the seventy-second issue of LLVM Weekly, a weekly newsletter
(published every Monday) covering developments in LLVM, Clang, and related
projects. LLVM Weekly is brought to you by Alex
Bradbury. Subscribe to future issues at
http://llvmweekly.org and pass it on to anyone else you think may be
interested. Please send any tips or feedback to asb@asbradbury.org, or @llvmweekly or @asbradbury on Twitter.

Monday, May 11, 2015

Welcome to the seventy-first issue of LLVM Weekly, a weekly newsletter
(published every Monday) covering developments in LLVM, Clang, and related
projects. LLVM Weekly is brought to you by Alex
Bradbury. Subscribe to future issues at
http://llvmweekly.org and pass it on to anyone else you think may be
interested. Please send any tips or feedback to asb@asbradbury.org, or @llvmweekly or @asbradbury on Twitter.

Monday, May 4, 2015

Welcome to the seventieth issue of LLVM Weekly, a weekly newsletter (published
every Monday) covering developments in LLVM, Clang, and related projects.
LLVM Weekly is brought to you by Alex Bradbury.
Subscribe to future issues at http://llvmweekly.org and pass it on to anyone
else you think may be
interested. Please send any tips or feedback to asb@asbradbury.org, or @llvmweekly or @asbradbury on Twitter.