POV-Ray : Newsgroups : povray.off-topic : 99 lines of C++ for an unbiased ray tracer : Re: 99 lines of C++ for an unbiased ray tracer Server Time
4 Sep 2024 23:18:24 EDT (-0400)
  Re: 99 lines of C++ for an unbiased ray tracer  
From: Vincent Le Chevalier
Date: 14 Jan 2010 14:07:41
Message: <4b4f6b7d$1@news.povray.org>
Darren New wrote:
>> Line 79 means each row of pixels is computed in parallel, right?
> 
> Got me. It looks like someone is asking the compiler to do that if it can.
> 

It's using the OpenMP directives 
(http://en.wikipedia.org/wiki/OpenMP)... I discovered that last year, 
can be pretty useful and makes it quite easy to take advantage of 
multiple cores when the algorithms are already mostly suited to being 
run in parallel.

-- 
Vincent


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.