Top "Openmp" questions

OpenMP is a cross-platform multi-threading API which allows fine-grained task parallelization and synchronization using special compiler directives.

OpenMP: are local variables automatically private?

#pragma omp parallel { int x; // private to each thread ? } #pragma omp parallel for for (int i = 0; i < 1000; ++i) { int …

c++ c parallel-processing openmp
Measure execution time in C++ OpenMP code

I am running a .cpp code (i) in sequential style and (ii) using OpenMP statements. I am trying to see …

c++ time parallel-processing openmp
openmp parallel for loop with two or more reductions

Hi just wondering if this is the right way to go going about having a regular for loop but with …

c++ c openmp
OMP For parallel thread ID hello world

I'm trying to get started with using basic OpenMP functionality in C. My basic understanding of 'omp parallel for' leads …

c multithreading for-loop openmp parallel-for
Using OpenMP with clang

I have problems compiling OpenMP code using clang (both 3.6 and 3.8 ToT). I followed this blog post http://blog.llvm.org/2015/05/…

c++ c clang openmp
OpenMp C++ algorithms for min, max, median, average

I was searching Google for a page offering some simple OpenMp algorithms. Probably there is an example to calculate min, …

c++ algorithm multithreading openmp
Difference between section and task openmp

What is the difference in OpenMP between : #pragma omp parallel sections { #pragma omp section { fct1(); } #pragma omp section { fct2(); } } and : #…

c parallel-processing openmp
OpenMp Coding: warning: ignoring #pragma omp parallel

I am getting this warning during compilation of a C code with OpenMP directives on Linux: warning: ignoring #pragma omp …

warnings openmp
Enable OpenMP support in clang in Mac OS X (sierra & Mojave)

I am using Mac OS X Sierra, and I found that clang (LLVM version 8.1.0 (clang-802.0.38)) does not support OpenMP: when …

macos clang llvm openmp
C++ Parallelization Libraries: OpenMP vs. Thread Building Blocks

I'm going to retrofit my custom graphics engine so that it takes advantage of multicore CPUs. More exactly, I am …

c++ multithreading multicore openmp tbb