Author Topic: OpenCL - when to use it? (help and benchmark oppose each other!)  (Read 27305 times)

ektorbarajas

  • Jr. Member
  • **
  • Posts: 45
    • View Profile
    • DJ ektorbarajas
Re: OpenCL - when to use it? (help and benchmark oppose each other!)
« Reply #105 on: November 04, 2013, 14:41:00 »
Great!!!

Kind regards

soylentgreen

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: OpenCL - when to use it? (help and benchmark oppose each other!)
« Reply #106 on: April 22, 2014, 14:42:23 »
Which would be better in this situation:

Work size= 64
CPU= 600ms
GPU= 74ms

Work size= 512
CPU= 700ms
GPU= 150ms

The 512 GPU is still much faster than CPU. So would 512 be faster than 64 in this case?

Admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 664
    • View Profile
    • https://www.smilarityapp.com
Re: OpenCL - when to use it? (help and benchmark oppose each other!)
« Reply #107 on: April 22, 2014, 18:16:00 »
lower values is better.
use work size 64, work size is how much separate "threads/processes" run simultaneously, it doesn't directly related to performance, different devices have different optimum value. 512 doesn't mean better 64.