Open CL vs CUDA performance

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

Yey007

  • Posts: 3
  • Joined: Sun Apr 21, 2019 9:00 pm
  • Real Name: Utku Melemetci

Open CL vs CUDA performance

PostThu Jul 25, 2019 6:28 pm

I ran some tests on my own and I want verify if my results are normal. Running on a i5 8300H and 1050 TI, rendering a 5 minute video with some fusion and color stuff took 10 minutes on CUDA and 30 minutes on Open CL. Is Open CL really that much worse?
Offline

Dermot Shane

  • Posts: 2923
  • Joined: Tue Nov 11, 2014 6:48 pm
  • Location: Vancouver, Canada

Re: Open CL vs CUDA performance

PostThu Jul 25, 2019 7:09 pm

and far worse if you have third party OFX in the mix
Offline

MishaEngel

  • Posts: 1432
  • Joined: Wed Aug 29, 2018 12:18 am
  • Real Name: Misha Engel

Re: Open CL vs CUDA performance

PostThu Jul 25, 2019 8:36 pm

Yey007 wrote:I ran some tests on my own and I want verify if my results are normal. Running on a i5 8300H and 1050 TI, rendering a 5 minute video with some fusion and color stuff took 10 minutes on CUDA and 30 minutes on Open CL. Is Open CL really that much worse?


Yes openCL is crippled by NVidia. For Davinci Resolve it doesn't matter if it's OpenCL, Cuda or Metal and leaves it up to the manufacturer (in this case NVidia) to cripple OpenCL in favor of CUDA.
Apple is trying to do the same thing with Metal vs. OpenCL, but has be less succesfull in crippling OpenCL in favor of Metal. It's also quite normal these days that NVidia cripples it's GPU via it's drivers when an AMD platform is detected(Zen, Zen+ and Zen2), they also don't react when questions are asked by review sites like Tomshardware.com.
Offline
User avatar

Uli Plank

  • Posts: 25448
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Open CL vs CUDA performance

PostSat Jul 27, 2019 6:28 am

And they still tell us that competition leads to improvement…
My disaster protection: export a .drp file to a physically separated storage regularly.
www.digitalproduction.com

Studio 19.1.3
MacOS 13.7.4, 2017 iMac, 32 GB, Radeon Pro 580 + eGPU
MacBook M1 Pro, 16 GPU cores, 32 GB RAM, MacOS 14.7.2
SE, USM G3
Offline
User avatar

Rakesh Malik

  • Posts: 3384
  • Joined: Fri Dec 07, 2012 1:01 am
  • Location: Vancouver, BC

Re: Open CL vs CUDA performance

PostSat Jul 27, 2019 6:59 am

The problem is that nVidia hasn't had any legitimate competition for a long time, so it's been neglecting its OpenCL drivers because it doesn't need to care. Any clod can see how far ahead nVidia is right now... and the fact that several of AMD's GPU designers including the lead GPU architect have left isn't helping. (He's at Intel now.)

Of course, you'd think that the last thing that nVidia would want to do is encourage people to use Intel GPUs... the current ones aren't worth much, but Intel obviously is seeing the writing on the CPU wall...
Rakesh Malik
Cinematographer, VFX Artist, photographer, adventurer, martial artist
http://WinterLightStudios.ca
System:
Asus ProArt 16/64GB/12 core Zen5/nVidia RTX 4070 8GB
Nuke/Houdini/Resolve
Offline

MishaEngel

  • Posts: 1432
  • Joined: Wed Aug 29, 2018 12:18 am
  • Real Name: Misha Engel

Re: Open CL vs CUDA performance

PostSat Jul 27, 2019 11:58 am

Rakesh Malik wrote:The problem is that nVidia hasn't had any legitimate competition for a long time, so it's been neglecting its OpenCL drivers because it doesn't need to care. Any clod can see how far ahead nVidia is right now... and the fact that several of AMD's GPU designers including the lead GPU architect have left isn't helping. (He's at Intel now.)

Of course, you'd think that the last thing that nVidia would want to do is encourage people to use Intel GPUs... the current ones aren't worth much, but Intel obviously is seeing the writing on the CPU wall...


I think it helped a lot that the lead GPU architect left the building, some new fresh blood did good. NAVI is promissing, looking at the RX5700xt and it's cheap to produce (small die of only 251mm^2), for about the same price as the RTX 2060 super.
Scott Herckleman has a big grin on his face all day. Ray Tracing has a bright future, the big consols and Google are going to use AMD's solution. Haven't heard much of Jensen lately.

Let's hope intels solution will be as disruptive as they claim, we need more competition.
Offline
User avatar

Rakesh Malik

  • Posts: 3384
  • Joined: Fri Dec 07, 2012 1:01 am
  • Location: Vancouver, BC

Re: Open CL vs CUDA performance

PostSat Jul 27, 2019 12:34 pm

The architect wasn't the holdup.

Sent from my H1T1000 using Tapatalk
Rakesh Malik
Cinematographer, VFX Artist, photographer, adventurer, martial artist
http://WinterLightStudios.ca
System:
Asus ProArt 16/64GB/12 core Zen5/nVidia RTX 4070 8GB
Nuke/Houdini/Resolve
Offline

Yey007

  • Posts: 3
  • Joined: Sun Apr 21, 2019 9:00 pm
  • Real Name: Utku Melemetci

Re: Open CL vs CUDA performance

PostMon Aug 05, 2019 10:46 pm

Alright, thanks a bunch mate!
Offline

Trensharo

  • Posts: 450
  • Joined: Mon Jul 23, 2018 1:20 pm
  • Real Name: Nate Doucette

Re: Open CL vs CUDA performance

PostTue Aug 06, 2019 3:02 am

MishaEngel wrote:
Yey007 wrote:I ran some tests on my own and I want verify if my results are normal. Running on a i5 8300H and 1050 TI, rendering a 5 minute video with some fusion and color stuff took 10 minutes on CUDA and 30 minutes on Open CL. Is Open CL really that much worse?


Yes openCL is crippled by NVidia. For Davinci Resolve it doesn't matter if it's OpenCL, Cuda or Metal and leaves it up to the manufacturer (in this case NVidia) to cripple OpenCL in favor of CUDA.
Apple is trying to do the same thing with Metal vs. OpenCL, but has be less succesfull in crippling OpenCL in favor of Metal. It's also quite normal these days that NVidia cripples it's GPU via it's drivers when an AMD platform is detected(Zen, Zen+ and Zen2), they also don't react when questions are asked by review sites like Tomshardware.com.

This has been proven to be false. Don't spread this FUD. Benchmarks have proven that the performance basically doesn't change when you run those cards on AMD or Intel hardware. They're identical or within margin of error (due to different CPUs, etc.). No different than running AMD on different platforms.

They probably don't respond because the questions are ridiculous (as that would mean they are basically asking for a class action lawsuit that they would lose de facto)...
Offline

Kobi Ohanna

  • Posts: 62
  • Joined: Thu Apr 03, 2014 12:31 pm
  • Location: China

Re: Open CL vs CUDA performance

PostTue Aug 06, 2019 8:56 am

Just changed my GPU from GTX1070Ti to Radeon 7 using Metal and my renders are much faster, also the timeline is very responsive.
Can reach 30-40FPS now and before was around 10-15...depending on the timeline / export

Any test (s) i can do to see if i am using the full potentiate of the GPU?
I'm on hackintosh running flowless system
Offline

Trensharo

  • Posts: 450
  • Joined: Mon Jul 23, 2018 1:20 pm
  • Real Name: Nate Doucette

Re: Open CL vs CUDA performance

PostTue Aug 06, 2019 10:16 am

Metal is optimal on macOS. OpenCL is deprecated and Nvidia driver support is lackluster. So, it's always better to go AMD & Metal on that platform.

You'd probably get better performance with the 1070 Ti if you ran Resolve on the Windows platform on that machine.
Offline

MishaEngel

  • Posts: 1432
  • Joined: Wed Aug 29, 2018 12:18 am
  • Real Name: Misha Engel

Re: Open CL vs CUDA performance

PostTue Aug 06, 2019 11:33 am

Trensharo wrote:Metal is optimal on macOS. OpenCL is deprecated and Nvidia driver support is lackluster. So, it's always better to go AMD & Metal on that platform.

You'd probably get better performance with the 1070 Ti if you ran Resolve on the Windows platform on that machine.


The 1070ti is no match for the Radeon VII in Resolve.
Since Resolve is hardware agnostic the only things that really matter are: fp32 performance, memory bandwidth and the amount of memory.

1070ti: 8.186 Tflops fp32 peak, 256 GByte/s and 8 GByte.
Radeon VII: 13.44 Tflops fp32 peak, 1,024 Gbyte/s and 16 GByte.
Offline

Kobi Ohanna

  • Posts: 62
  • Joined: Thu Apr 03, 2014 12:31 pm
  • Location: China

Re: Open CL vs CUDA performance

PostTue Aug 06, 2019 11:46 am

MishaEngel wrote:
Trensharo wrote:Metal is optimal on macOS. OpenCL is deprecated and Nvidia driver support is lackluster. So, it's always better to go AMD & Metal on that platform.

You'd probably get better performance with the 1070 Ti if you ran Resolve on the Windows platform on that machine.


The 1070ti is no match for the Radeon VII in Resolve.
Since Resolve is hardware agnostic the only things that really matter are: fp32 performance, memory bandwidth and the amount of memory.

1070ti: 8.186 Tflops fp32 peak, 256 GByte/s and 8 GByte.
Radeon VII: 13.44 Tflops fp32 peak, 1,024 Gbyte/s and 16 GByte.



Thanks for this info :)
I used the GTX 1070 Ti in Windows , i got the same performance as in OS X...
Offline

Trensharo

  • Posts: 450
  • Joined: Mon Jul 23, 2018 1:20 pm
  • Real Name: Nate Doucette

Re: Open CL vs CUDA performance

PostTue Aug 06, 2019 1:35 pm

For the record when I said better performance I meant better than in macOS. Not better than the Radeon.

Sent from my SM-N960U using Tapatalk

Return to DaVinci Resolve

Who is online

Users browsing this forum: AndrewTheGreat, Bing [Bot], drake5000, Gabi Bucataru, John Richard, KrunoSmithy, NonGamerPlays and 373 guests