POV-Ray : Newsgroups : povray.pov4.discussion.general : GPU usage : Re: GPU usage Server Time
23 Feb 2024 14:09:34 EST (-0500)
  Re: GPU usage  
From: clipka
Date: 31 Dec 2008 18:50:00
Message: <web.495c0405dc9638ab30acaf600@news.povray.org>
"Doom" <mar### [at] gmailcom> wrote:
> I was curious, with the OpenCL 1.0 spec, and also with ATI/AMD releasing
> open-source code now for utilizing the GPU processing power, could it be
> possible to utilize GPU acceleration within POV-Ray?  I know a lot of POV-Ray
> is CPU intensive and utilizing the threads in the GPU would drastically speed
> up render times.

There has already been some mention in the FAQ.

The first question will be: Does OpenCL support double-precision floats? If not,
then forget it, because that's the precision POV needs. I wouldn't be surprised
if games could do fine with single-precision.

The next question would be: How to distribute the workload? Just running another
POV render thread in the GPU will hardly work.

I guess it wouldn't be worth the pain. With SSE2, the compiler will help you to
make some use of it. With OpenCL, the compiler probably cannot, so a lot of
manual changes to the code would be needed, and designing them for portability
(so that the program can still run on non-OpenCL systems) could be quite a

Post a reply to this message

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