Domenico on September 15th, 2011

…what were we talking about? Last time, we coded a small OpenMP-style parallel construct using some macro directives and a class wrapping a vector of threads. This time we will add a replacement for 2 OpenMP library functions: omp_get_num_threads() and omp_get_thread_num(). These are among the most used (and useful) OpenMP functions. I’ll show you several […]

Continue reading about OpenMP-style constructs in C++11, part II

Domenico on September 12th, 2011

The new C++ standard, called C++11, is finally here. It enriches both the language and its standard library, bringing some features that many users awaited, like lamdas, the “auto” type, and so on. But I’m not going to talk about these, there are a lot of good references on the net. Some days ago, after […]

Continue reading about OpenMP-style constructs in C++11