POV-Ray : Newsgroups : povray.off-topic : OpenCL : Re: OpenCL Server Time
29 Jul 2024 14:14:56 EDT (-0400)
  Re: OpenCL  
From: Ive
Date: 22 Aug 2011 03:12:31
Message: <4e52015f@news.povray.org>
Am 18.08.2011 11:53, schrieb clipka:

>
> CPU with 8 threads
> fps 6.82527
>
> OpenCL GPU with 30 worker units
> GeForce GTX 285
> fps 26.41509
> ---------------------------
> (CPU is an Intel i7 QuadCore)
>

Thats what I'd have guessed and for anything with more *logic* involved 
there is less speedup to be expected.
You can also install the Intel OpenCL driver from

http://software.intel.com/en-us/articles/download-intel-opencl-sdk

only the runtime at the bottom is needed. Intel's JIT compiler does a 
pretty good job in optimizing. It uses SSE4 instructions when available 
and is good for a speedup of about 15% compared to 'native' CPU threads.

And people with an AMD CPU but with a NVidea graphics card can download 
and install the AMD Stream-SDK to add OpenCL support for the CPU. 
Currently without support for double precession floats but this is 
announced to change with the next release. No need to do this when also 
a AMD graphics card is used as OpenCL is part of the Catalyst driver.


> OpenCL information:
> ---------------------------
> Platform 0
> OpenCL 1.0 CUDA 4.0.1
> NVIDIA CUDA
> NVIDIA Corporation
>
> Device 0 - GPU 30 computing units active
> JIT compiler installed
> Data types with preferred and native vector width
> 8bit integer: 1, 0
> 16bit integer: 1, 0
> 32bit integer: 1, 0
> 64bit integer: 1, 0
> 16bit float: not supported
> 32bit float: 1, 0
> 64bit float: 1, 0
> ---------------------------

This isn't the latest NVidea driver or is it?

Anyway related to POV-Ray: OpenCL for 3.7 does IMHO not make any sense 
as it would require major changes within the multi-threading framework.

On the other hand it looks quite straightforward to implement for MCPov
and as MCPov is currently just single-threaded a 10x speedup when 
running on the GPU seems realistic. Well, most likely I do not see some 
pitfalls there but as time permits I will give it a try.

-Ive


Post a reply to this message

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