2.5.7. My application does not run as fast as I think it could

There are a few runtime options you can tweak in order to get better results.

  • Compile in performance mode (do not use –instrument or –debug).
  • Adjust your program parameters (such as problem size, block size, etc.). Watch out for too fine grain tasks.
  • Disable thread sleep, or reduce/increase sleep time.
  • Reduce or increase the spin time. If you increase it, this might put more stress on the tasks queue(s).