Parallel Ray Tracer in C/C++

OpenMP

With OpenMP there is a dependence between the number of threads and the number of tasks.

POSIX Threads (pthreads)

The following example uses the pthreads library. The film on the left is on an Intel Core 2 Duo with 2.2 MHz and the film on the right with an Intel Core i7 with 2.67 MHz.

 

Copyright © 2007-2012 Jörn Dinkla. All rights reserved.

Valid XHTML 1.0 Strict Valid CSS! Firebug - Web Development Evolved
Last modified: