Posts Tagged ‘OpenMP’

Finally OpenMP is coming to LLVM!!!

LLVM Project Blog => LLVM Project News and Details from the Trenches
Tuesday, October 8, 2013
OpenMP* project

 
OpenMP®/Clang
An implementation of the OpenMP C/C++ language extensions in Clang/LLVM compiler

Advertisements

DreamWorks Animation makes thread-safe code a dream (via SoftTalk – multicore and parallel programming)

If you’re a movie buff or have children in the family, the company DreamWorks Animation needs no introduction. It’s behind Shrek, Kung Fu Panda, Madagascar and Monsters Vs Aliens. It also partnered with Aardman to make the Wallace and Gromit and Chicken Run films. It’s well known for the quality of its animation, and for creating characters and stories that children and adults can enjoy together. You might have heard of “Shrek’s Law”, which Dream … Read More

via SoftTalk – multicore and parallel programming

OpenMP and GCC/LLVM-GCC/LLVM on Mac OS X

With GCC/LLVM-GCC/LLVM, don’t call omp_get_num_threads() and omp_get_max_threads() in a thread method. It will crash.
I confirmed this just a minutes ago.

I think this is a bug. At least GraphicsMagick and ImageMagick were written considering that they didn’t cause crash, or they thought that Magick::Image class is always created and accessed in a single thread function.

Magick::Image class uses omp_get_max_threads() in its constructor and its read() method.

%d bloggers like this: