|
OpenCL Toys => SmallptGPU MandelCPU vs MandelGPU
MandelGPU is a small and simple demo written in OpenCL in order to test the performance of this new standard Vs. MandelCPU. It has been written using the ATI OpenCL SDK beta4 on Linux but it should work on any platform/implementation (i.e. NVIDIA). Some discussion about this little toy can be found at Luxrender's forum A video of Mandel GPU is available here (sorry for the low quality): http://vimeo.com/7876686 The following test has been done at 1024x768 while using a quite insane amount of iterations: 10000 History
MandelCPU This is just a simple mono-thread CPU implementation (no OpenCL involved). Result: Rendering time: 9.630000 secs (Sample/sec 81665 Max. Iterations 10000) MandelGPU on CPU device This is the OpenCL implementation using only the CPU device. Result: For test only: Expires on Sun Feb 28 00:00:00 2010 It uses the 4 cores but it has the same performance of mandelCPU (with only one core). I guess CPU devices are useful only for developing purpose (i.e. when you don't have a fast GPU available). MandelGPU (on GPU) This is the OpenCL implementation using only the GPU device. Result: For test only: Expires on Sun Feb 28 00:00:00 2010 MandelGPU (on GPU with float4) This is the OpenCL implementation using only the GPU device and vector type float4. Result:
For test only: Expires on Sun Feb 28 00:00:00 2010 How to compile Just edit the Makefile and use an appropriate value for ATISTREAMSDKROOT. Key bindings
Download: mandelgpu-v1.3.tgz (includes sources, Linux 64bit binaries and Windows 32bit binaries) |
|