Tom Gall has posted the latest updates to his work on using OpenCL to accelerate SQLite on ARM Mali. In the article Tom details the code used and shows that early benchmarking appears to show a 2.56x to 20.54x performance improvement when using OpenCL for queries compared to the standard C API. He also comments on performance tuning for Mali, including;

  • Avoiding array indexing arithmetic
  • How you create memory Buffers is important and has a performance impact
  • How many Kernel work units to use is not always straight forward

Tom’s outline for the article: “I’ve done some more tuning over the past couple of days. I’ve also done some reading about how to make OpenCL perform better on ARM Mali.  In this post I’m going to retrace some of my steps, share what my tests looks like, share what some of my OpenCL looks like, share current performance numbers and last discuss next steps.”  Read the full article.

Tom Gall works for Linaro as a member of the Graphics Working Group.