OpenCL Port for Thea Presto (wip)

Check out our technology advances and new features.
User avatar
giannis
Thea Developer
Thea Developer
Posts: 7986
Joined: Sun Jul 06, 2008 8:25 pm
Location: Athens, Greece
Has thanked: 11 times
Been thanked: 10 times

eph wrote: How would you say the current OpenCL port compares to CUDA speed? Does it have the potential to equal / surpass it in terms of performance?
Theoretically speaking, the expectation is that going with a more direct way (Presto CPU or proprietary CUDA) will give better performance compared to OpenCL. From there on, unless we have a stable build and tune it (i.e. optimizing it as much as we did with the other APIs) the comparison will not be fair, so it is only a qualitative index now.

Best wishes
Science may limit knowledge but should never limit imagination - Bertrand Russell
User avatar
Slinger
Licensed User v1.5
Licensed User v1.5
Posts: 99
Joined: Fri Nov 06, 2009 3:33 pm
Location: Long Beach, CA
Has thanked: 0
Been thanked: 0

That's amazing news.
User avatar
ivan.dedos
Licensed User v1.5
Licensed User v1.5
Posts: 320
Joined: Mon Aug 01, 2011 9:36 pm
Location: Guatemala
Has thanked: 20 times
Been thanked: 28 times
Contact:

great news! :clap:
• SketchUp 2019.1 • Spanish SketchUp Forumdedos.estudio • Windows 10 64bit • Core i7 4790 3.6 GHz • 32 GB RAM
User avatar
Javadevil
Licensed User v1.5
Licensed User v1.5
Posts: 3705
Joined: Mon May 18, 2009 2:19 am
Location: Noosa
Has thanked: 3 times
Been thanked: 3 times
Contact:

Wow thats one mean feat !! nice work !

I wonder how the new nvidia 980's will go with OpenCL ? From what I have scene the luxmark bench marks look impressive.

cheers
User avatar
giannis
Thea Developer
Thea Developer
Posts: 7986
Joined: Sun Jul 06, 2008 8:25 pm
Location: Athens, Greece
Has thanked: 11 times
Been thanked: 10 times

I can say already (after a few tests) that going with CUDA for NVidia produces faster results than going with OpenCL. Although, the OpenCL port is not as optimized yet, this is to be expected because OpenCL is one layer more abstract than CUDA (compilation goes through CUDA as far as I know).

Best wishes
Science may limit knowledge but should never limit imagination - Bertrand Russell
User avatar
GreenUser
Posts: 1131
Joined: Sat Apr 24, 2010 8:09 am
Location: California, USA
Has thanked: 0
Been thanked: 0

Great work! From what I heard about Open CL I thought it would be almost impossible to do. I would have thought it to be simpler to get Thea working with intel phi than Open CL from what I read.

It's exciting to know that when done we can compare Nvidia to AMD. Do you know yet if there will be a minimum AMD GPU we will need for it to work or will something old like a Radeon 8500 or 4770 work?
User avatar
PixelMango
Licensed User v1.5
Licensed User v1.5
Posts: 155
Joined: Sat Feb 01, 2014 9:18 pm
Has thanked: 0
Been thanked: 0

giannis wrote:I can say already (after a few tests) that going with CUDA for NVidia produces faster results than going with OpenCL. Although, the OpenCL port is not as optimized yet, this is to be expected because OpenCL is one layer more abstract than CUDA (compilation goes through CUDA as far as I know).

Best wishes
CUDA is faster (than OpenCL) when using VRay RT in GPU mode. CUDA is Nvidia's dedicated tech, so why wouldn't it be more efficient than an Open Standard.
User avatar
eph
Licensed User v1.5
Licensed User v1.5
Posts: 366
Joined: Sat May 16, 2009 9:27 am
Location: Europe
Has thanked: 0
Been thanked: 0

giannis wrote:I can say already (after a few tests) that going with CUDA for NVidia produces faster results than going with OpenCL. Although, the OpenCL port is not as optimized yet, this is to be expected because OpenCL is one layer more abstract than CUDA (compilation goes through CUDA as far as I know).
Very understandable. Plus they probably prefer optimising CUDA than OpenCL ;)

What about technical possibilities, would it be easier / more difficult to develop i.e. Displacement in OpenCL..?
Work: iMac Intel i7 3.4 GHz (8GB RAM), AMD Radeon HD 6970M (2GB RAM), OS X 10.9.5 (FR)
Home: Dell Intel i7 3.6 GHz (16GB RAM), GeForce GTX 750 Ti (4GB RAM), Windows 8.1 64bit (EN)
User avatar
giannis
Thea Developer
Thea Developer
Posts: 7986
Joined: Sun Jul 06, 2008 8:25 pm
Location: Athens, Greece
Has thanked: 11 times
Been thanked: 10 times

PixelMango wrote:
giannis wrote:I can say already (after a few tests) that going with CUDA for NVidia produces faster results than going with OpenCL. Although, the OpenCL port is not as optimized yet, this is to be expected because OpenCL is one layer more abstract than CUDA (compilation goes through CUDA as far as I know).

Best wishes
CUDA is faster (than OpenCL) when using VRay RT in GPU mode. CUDA is Nvidia's dedicated tech, so why wouldn't it be more efficient than an Open Standard.
Exactly! :thumbup:
Science may limit knowledge but should never limit imagination - Bertrand Russell
User avatar
giannis
Thea Developer
Thea Developer
Posts: 7986
Joined: Sun Jul 06, 2008 8:25 pm
Location: Athens, Greece
Has thanked: 11 times
Been thanked: 10 times

eph wrote:
giannis wrote:I can say already (after a few tests) that going with CUDA for NVidia produces faster results than going with OpenCL. Although, the OpenCL port is not as optimized yet, this is to be expected because OpenCL is one layer more abstract than CUDA (compilation goes through CUDA as far as I know).
Very understandable. Plus they probably prefer optimising CUDA than OpenCL ;)

What about technical possibilities, would it be easier / more difficult to develop i.e. Displacement in OpenCL..?
In Presto framework, it poses the same level of difficulty from the pure development side but if you add more things to the mix (like optimization, debugging tools and others), again a dedicated tech will make the whole job easier.

Best wishes
Science may limit knowledge but should never limit imagination - Bertrand Russell
Locked

Return to “Technology Preview”