ATI released OpenCL SDK with hardware support

Discussions related to GPU Acceleration in LuxRender

Moderators: Dade, jromang, tomb, coordinators

Re: ATI released OpenCL SDK with hardware support

Postby Szaq » Tue Jan 05, 2010 8:01 am

Jens, I'm not sure if the Apple's OpenCL includes code form NVIDIA, it includes the CPU device support (not available from NVIDIA) so it could be a totally different code base. The link above is about people working under Windows.

GS 8400M + Win7
50%dual core = 100%single core on oclNBody.
User avatar
Szaq
 
Posts: 39
Joined: Wed Jan 30, 2008 6:25 pm
Location: Poland

Re: ATI released OpenCL SDK with hardware support

Postby mitchde » Tue Jan 05, 2010 8:24 am

HI smallgpu fans !
Ca someone teel me where i can download the lastest Source ?
I seen screenshoots (be jens) showing 1.50Beta on Mac OS X .
At the main Smallgpu site i see latest is 1.4.0 .

Thanks
mitchde
 
Posts: 256
Joined: Fri Dec 25, 2009 2:13 am

Re: ATI released OpenCL SDK with hardware support

Postby jensverwiebe » Tue Jan 05, 2010 8:30 am

@mitchde

Get my prepared 1.5.0beta3, adapted to OSX, diff inside and precompiled app too: http://www.jensverwiebe.de/LuxRender/smallluxGPU_OSX.zip

Would be very interesting to see results on OSX/ATI, pls report in any case.


Jens
User avatar
jensverwiebe
Developer
 
Posts: 3403
Joined: Wed Apr 02, 2008 4:34 pm

Re: ATI released OpenCL SDK with hardware support

Postby mitchde » Tue Jan 05, 2010 1:16 pm

Thanks !
With 1.4 i got that - only CPU version works.

Reading scene: scenes/simple.scn
Scene size: 5
OpenCL Platform 0: Apple
OpenCL Device 0: Type = TYPE_GPU
OpenCL Device 0: Name = GeForce 8800 GTX
OpenCL Device 0: Compute units = 16
OpenCL Device 0: Max. work group size = 512
Reading file 'preprocessed_rendering_kernel.cl' (size 15182 bytes)
OpenCL Device 0: kernel work group size = 192
Failed to read the OpenCL pixel buffer: -36

#define CL_INVALID_COMMAND_QUEUE -36 (found error info)
What excat is the commandline parameters ?
I always get some information line about them !
Without that two first 0 1 (CPU GPU) nothing happens.
Why should i give that two device-id , if i run the gpu version ?!

I will try the newer 10.5 version soon.
mitchde
 
Posts: 256
Joined: Fri Dec 25, 2009 2:13 am

Re: ATI released OpenCL SDK with hardware support

Postby jensverwiebe » Tue Jan 05, 2010 7:30 pm

@mitchde

Sorry, i fear i confused the version you wanted i posted the lux instad of pt, so here the right link:

smallptGPU-1.5_OSX_prepared: http://www.jensverwiebe.de/LuxRender/SmallptGPU-v1.5.zip

command is for gpu from inside smallptgpu-dir: ./smallptgpu 1 64 preprocessed__rendering_kernel.cl 640 480 scenes/simple.scn

where 1 stands for "use gpu ( 0 = cpu ), 64 is bruteforce workgroupsize, 640 480 the size of viewport rendered and ...scn the used scenfile

Jens
User avatar
jensverwiebe
Developer
 
Posts: 3403
Joined: Wed Apr 02, 2008 4:34 pm

Re: ATI released OpenCL SDK with hardware support

Postby pixie » Tue Jan 05, 2010 8:14 pm

Has anyone tried in win 7 64 bit+ nvidia? I can't get one version to work :(
pixie
 
Posts: 165
Joined: Sun Nov 11, 2007 10:30 am
Location: Neverland

Re: ATI released OpenCL SDK with hardware support

Postby jensverwiebe » Tue Jan 05, 2010 11:34 pm

@Dade

Got a bit further on OSX with smallGU.
The problem is somewhere in the eventmanagment, i did a bit trial and error ( oh well, my missing skills ) and got
one run with 6000k on my NV 8800GT before the system starts to hang. ( for 8800GT with G92gpu is comparable to ATI 4870 this makes sense )
http://www.barefeats.com/opencl.html
Modification was done for the enqueuereadbuffer where i always get an -36. Took it over from aobench found on lucille blog.
Perhaps we need the overtaking from GL buffer to CL buffers as possibe in OSX ?

Hmm......

Jens
User avatar
jensverwiebe
Developer
 
Posts: 3403
Joined: Wed Apr 02, 2008 4:34 pm

Re: ATI released OpenCL SDK with hardware support

Postby Szaq » Wed Jan 06, 2010 3:24 am

Just a quick peek on what I was doing lately:
Image
http://vimeo.com/8569400.
User avatar
Szaq
 
Posts: 39
Joined: Wed Jan 30, 2008 6:25 pm
Location: Poland

Re: ATI released OpenCL SDK with hardware support

Postby vildanovak » Wed Jan 06, 2010 3:55 am

Szaq, very nice stuff.
This is not openCL, but the results are pretty impressive(RT fire with a 200x domain!):
http://users.skynet.be/fquake/
but your domain resolution is very impressive too, regarding it's realtime :)
vildanovak
 
Posts: 53
Joined: Sat Dec 19, 2009 6:45 am

Re: ATI released OpenCL SDK with hardware support

Postby Dade » Wed Jan 06, 2010 4:04 am

jensverwiebe wrote:@Dade
Modification was done for the enqueuereadbuffer where i always get an -36. Took it over from aobench found on lucille blog.
Perhaps we need the overtaking from GL buffer to CL buffers as possibe in OSX ?

Hmm......


I have read something interesting (during the night :D) about how OpenCL memory objects really works. I'm going to put together a version that should work better, give me few mins.
User avatar
Dade
Developer
 
Posts: 8354
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

PreviousNext

Return to GPU Acceleration

Who is online

Users browsing this forum: No registered users and 3 guests