OpenCL Displacement Benchmark - ATI + Nvidia... OpenCL is one of the major new function included in Snow Leopard. A GPU which can use OpenCL - ATI 48xx, NV8xxx/9xxx(M) - can use it to compute C++ like code on it. The code is compiled at runtime of the OpenCL Application so it is (in theory! ;) ) universal and not vendor specific like CUDA(NV) or ATI STEAM
The faster the GPU and slower the CPU the more benefit you are getting when using an OpenCL Application. An Highend MacPro 2009 with lowend GPU isnt really useful for OpenCL, because their great new CPU´s reach near lowend GPU
What's New
Version 2.0:
Apple updated OpenCL API usage
ATI 48xx should work
Requirements
Intel
Mac OS X 10.6
OpenCL GPUs:
ATI 48xx
Nivida 8xxx(M)/9xxx(M)
Be the first to recommend a similar software title.
Modellnamn: Mac Pro
Modellidentifierare: MacPro3,1
Processornamn: Quad-Core Intel Xeon
Processorhastighet: 3 GHz
Antal processorer: 2
Totalt antal kärnor: 8
L2-cache (per processor): 12 MB
Minne: 20 GB
Busshastighet: 1,6 GHz
2*8800GT
Tops out at 185fps in both scenes. Didn't see it reach 186 or over at any time. The longer it runs the slower it gets but levels out after a few minutes at appx. 130fps. Graphics looks liek it should.
from dev:
no files found that the terminal app needs !
first change the directory to the folder of the displacement app !!!
1. start terminal
2. type cd SPACE drag&drop the folder of displacement in the terminal ENTER
3. drag&drop the displacement in the terminal ENTER
2 sets the working directory to the bench content (needed!!)
3 starts the benchmark
comment by uploader:
ATi devs (AMD Inc.) tried the demo only on ATI 4850 (iMac).
So ATI 4870 will fail also with that demo - at least only 1/3 of starts the demo runs without graphic errors, an other user tild be.
This ATi 4870 user got around 80 FPS on both shader szenes with his ATI 4870 (2/3 of runs gave graphics errors).
ATI users must wait for 10.6.1. ATI devs are working to fix that major problems in OpenCL of 10.6.0.
Please login or create a new MacUpdate Member account to use this feature
Watch Lists are available to MacUpdate Desktop Members Upgrade Now
Download and auto-install
using MacUpdate Desktop. Save
time moving folders and cleaning-up.
OpenCL Displacement Benchmark - ATI + Nvidia... OpenCL is one of the major new function included in Snow Leopard. A GPU which can use OpenCL - ATI 48xx, NV8xxx/9xxx(M) - can use it to compute C++ like code on it. The code is compiled at runtime of the OpenCL Application so it is (in theory! ;) ) universal and not vendor specific like CUDA(NV) or ATI STEAM
The faster the GPU and slower the CPU the more benefit you are getting when using an OpenCL Application. An Highend MacPro 2009 with lowend GPU isnt really useful for OpenCL, because their great new CPU´s reach near lowend GPU OpenCL speed.
But on an Core2Duo even an ATI 4850 or 8800GS GPU may give an useful benefit by using OpenCL.
An GT120 used in an MacPro 2009 is much undersized for OpenCL performance !
GeForce GTX285 Mac is up to 4 times faster in the same CPU environment.
This Bench should also work on ATI 4850M and ATI 4870 - all other OpenCL Apple Demos(Benches) not working on ATI!! - will be fixed by ATI with 10.6.2+ update
Submit results / Question&Answers at forum:
http://www.insanelymac.com/forum/index.php?showtopic=183237
Modellidentifierare: MacPro3,1
Processornamn: Quad-Core Intel Xeon
Processorhastighet: 3 GHz
Antal processorer: 2
Totalt antal kärnor: 8
L2-cache (per processor): 12 MB
Minne: 20 GB
Busshastighet: 1,6 GHz
2*8800GT
Tops out at 185fps in both scenes. Didn't see it reach 186 or over at any time. The longer it runs the slower it gets but levels out after a few minutes at appx. 130fps. Graphics looks liek it should.
+35
zws-mac-pro:~ zw$ /Users/zw/Downloads/Displacement V2/displacement ; exit;
----------------------------------------------------------------------
Setting up Graphics...
----------------------------------------------------------------------
Creating Shadow FrameBuffer...
Creating Jitter Texture...
Loading Light Probe "stpeters_probe.pfm"
Error opening file stpeters_probe.pfm
Creating Light Probe Texture (0 x 0)....
displacement(25317,0xa010e500) malloc: *** error for object 0xbffffa20: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
----------------------------------------------------------------------
Filling Sphere 1040384 bytes 65024 elements (127 x 512) => (127 x 512)
Loading Shader Program "fresnel.vert"...
Error opening file fresnel.vert
Loading Shader Program "phong.vert"...
Error opening file phong.vert
Loading Shader Program "skybox.vert"...
Error opening file skybox.vert
----------------------------------------------------------------------
Setting up Compute...
----------------------------------------------------------------------
Using active OpenGL context...
----------------------------------------------------------------------
Connecting to AMD Radeon HD 4870...
----------------------------------------------------------------------
Allocating buffers on compute device...
----------------------------------------------------------------------
Loading kernel source from file 'displacement_kernel.cl'...
Error opening file displacement_kernel.cl
Failed to setup OpenCL state! Error -8
logout
[Process completed]
+73
no files found that the terminal app needs !
first change the directory to the folder of the displacement app !!!
1. start terminal
2. type cd SPACE drag&drop the folder of displacement in the terminal ENTER
3. drag&drop the displacement in the terminal ENTER
2 sets the working directory to the bench content (needed!!)
3 starts the benchmark
+35
Anyway, it loads now but doesn't function properly. Seems that we are at the mercy of Apple/ATI for a while longer.
+187
+1
+73
ATi devs (AMD Inc.) tried the demo only on ATI 4850 (iMac).
So ATI 4870 will fail also with that demo - at least only 1/3 of starts the demo runs without graphic errors, an other user tild be.
This ATi 4870 user got around 80 FPS on both shader szenes with his ATI 4870 (2/3 of runs gave graphics errors).
ATI users must wait for 10.6.1. ATI devs are working to fix that major problems in OpenCL of 10.6.0.
+1
+282
+1
+73
Dont run the displacement.cl, run the displacement, which is an terminal application!
Displacement.cl is the source code which your gpu will compute after OpenCL Framework compiled it at run of the displacement .
+73
Nvidia 9600 GT "Mac":
80 FPS in shader scene 1 (white background, showed body)
100 FPS in shader scene 2 (textured background , sceenshoot shown)
GTX 285 Mac:
230 FPS in szene 2