Sign in to follow this  
Xeee

Please test my app

Recommended Posts

Xeee    144
Hello, I wrote a program that sums a floating point texture using parallel reductions it uses GL_ARB_shading_language_100, GL_ARB_texture_rectangle, GL_EXT_framebuffer_object and GL_ARB_texture_float using GL_RGBA32F_ARB as internal format. The problem is it runs fine on my card a Geforce 6600 GT with the latest drivers but it gives incorrect results when i run it on an ATI Radeon 9550 so i need to know if it's my fault or not, those are all the cards that available for me so if you don't mind trying it on your card and reporting back the card model, the program results and hopefully the driver version i'ld really appreciate it. The program is a simple command line it uses glut and glew (included) all you have to do is run the batch file included and send me the out.txt file generated by the program. here is the app and thanks for your time.

Share this post


Link to post
Share on other sites
Centurion    100
On GeForce 7900GS

----
GPUParallelReduction.exe 1024 1024
----
glTexImage2D(): [PASS]
glTexImage2D(): [PASS]
glTexImage2D(): [PASS]
glFramebufferTexture2DEXT(): [PASS]
Input size : 1024x1024
Reduction step: 1024x1024 to 1024x512.
Reduction step: 1024x512 to 1024x256.
Reduction step: 1024x256 to 1024x128.
Reduction step: 1024x128 to 1024x64.
Reduction step: 1024x64 to 1024x32.
Reduction step: 1024x32 to 1024x16.
Reduction step: 1024x16 to 1024x8.
Reduction step: 1024x8 to 1024x4.
Reduction step: 1024x4 to 1024x2.
Reduction step: 1024x2 to 1024x1.
GPU result: 5681.722656,5926.568359,5914.507813,5691.398926
CPU result: 5681.729004,5926.569336,5914.506348,5691.407227
----
GPUParallelReduction.exe 200 300 3
----
glTexImage2D(): [PASS]
glTexImage2D(): [PASS]
glTexImage2D(): [PASS]
glFramebufferTexture2DEXT(): [PASS]
Input size : 200x300
Reduction step: 200x300 to 200x150.
Reduction step: 200x150 to 200x75.
Reduction step: 200x75 to 200x38.
Reduction step: 200x38 to 200x19.
Reduction step: 200x19 to 200x10.
Reduction step: 200x10 to 200x5.
Reduction step: 200x5 to 200x3.
Reduction step: 200x3 to 200x2.
Reduction step: 200x2 to 200x1.
GPU result: 180000.000000,180000.000000,180000.000000,180000.000000
CPU result: 180000.000000,180000.000000,180000.000000,180000.000000
----
GPUParallelReduction.exe
----
glTexImage2D(): [PASS]
glTexImage2D(): [PASS]
glTexImage2D(): [PASS]
glFramebufferTexture2DEXT(): [PASS]
Input size : 1024x1024
Reduction step: 1024x1024 to 1024x512.
Reduction step: 1024x512 to 1024x256.
Reduction step: 1024x256 to 1024x128.
Reduction step: 1024x128 to 1024x64.
Reduction step: 1024x64 to 1024x32.
Reduction step: 1024x32 to 1024x16.
Reduction step: 1024x16 to 1024x8.
Reduction step: 1024x8 to 1024x4.
Reduction step: 1024x4 to 1024x2.
Reduction step: 1024x2 to 1024x1.
GPU result: 5793.014160,5754.582520,5588.258301,6053.777344
CPU result: 5793.014160,5754.581055,5588.256836,6053.787109

Share this post


Link to post
Share on other sites
kburkhart84    3187
My card is an NVidia 7600 GO in my laptop. Here is the file. Also, I use Windows Vista with the latest drivers if I'm not mistaken.
----
GPUParallelReduction.exe 1024 1024
----
glTexImage2D(): [PASS]
glTexImage2D(): [PASS]
glTexImage2D(): [PASS]
glFramebufferTexture2DEXT(): [PASS]
(1) : warning C7531: global type sampler2DRect requires "#extension GL_ARB_texture_rectangle : enable" before use
(8) : warning C7531: global function texture2DRect requires "#extension GL_ARB_texture_rectangle : enable" before use

Input size : 1024x1024
Reduction step: 1024x1024 to 1024x512.
Reduction step: 1024x512 to 1024x256.
Reduction step: 1024x256 to 1024x128.
Reduction step: 1024x128 to 1024x64.
Reduction step: 1024x64 to 1024x32.
Reduction step: 1024x32 to 1024x16.
Reduction step: 1024x16 to 1024x8.
Reduction step: 1024x8 to 1024x4.
Reduction step: 1024x4 to 1024x2.
Reduction step: 1024x2 to 1024x1.
GPU result: 5796.439453,5779.257813,5799.216309,5799.458008
CPU result: 5796.437988,5779.265625,5799.217285,5799.461426
----
GPUParallelReduction.exe 200 300 3
----
glTexImage2D(): [PASS]
glTexImage2D(): [PASS]
glTexImage2D(): [PASS]
glFramebufferTexture2DEXT(): [PASS]
(1) : warning C7531: global type sampler2DRect requires "#extension GL_ARB_texture_rectangle : enable" before use
(8) : warning C7531: global function texture2DRect requires "#extension GL_ARB_texture_rectangle : enable" before use

Input size : 200x300
Reduction step: 200x300 to 200x150.
Reduction step: 200x150 to 200x75.
Reduction step: 200x75 to 200x38.
Reduction step: 200x38 to 200x19.
Reduction step: 200x19 to 200x10.
Reduction step: 200x10 to 200x5.
Reduction step: 200x5 to 200x3.
Reduction step: 200x3 to 200x2.
Reduction step: 200x2 to 200x1.
GPU result: 180000.000000,180000.000000,180000.000000,180000.000000
CPU result: 180000.000000,180000.000000,180000.000000,180000.000000
----
GPUParallelReduction.exe
----
glTexImage2D(): [PASS]
glTexImage2D(): [PASS]
glTexImage2D(): [PASS]
glFramebufferTexture2DEXT(): [PASS]
(1) : warning C7531: global type sampler2DRect requires "#extension GL_ARB_texture_rectangle : enable" before use
(8) : warning C7531: global function texture2DRect requires "#extension GL_ARB_texture_rectangle : enable" before use

Input size : 1024x1024
Reduction step: 1024x1024 to 1024x512.
Reduction step: 1024x512 to 1024x256.
Reduction step: 1024x256 to 1024x128.
Reduction step: 1024x128 to 1024x64.
Reduction step: 1024x64 to 1024x32.
Reduction step: 1024x32 to 1024x16.
Reduction step: 1024x16 to 1024x8.
Reduction step: 1024x8 to 1024x4.
Reduction step: 1024x4 to 1024x2.
Reduction step: 1024x2 to 1024x1.
GPU result: 5867.403809,5613.816895,5891.915527,5641.872559
CPU result: 5867.405762,5613.823242,5891.915527,5641.872559

I don't know why it complains about my extensions since I'm sure my card supports them, but hey, it's your program.

Share this post


Link to post
Share on other sites
Xeee    144
Thanks guys, you're really helping me out here, nobody with ATI cards here? i need some ATI tests (Radeon 9550 and up). Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this