1

I'm using OpenCL on Mali GPUs. Official doc states there is no support for double types. Is there a workaround to use double ? Does ARM intends to support it in the next releases of its OpenCL implementation ?

GaTTaCa
  • 459
  • 6
  • 18
  • A "workaround" would be to implement double precision in software, however that would be a lot of work and probably not have good performance. As for what ARM intends to do, you'd have to ask them :) Hopefully one of the devs sees your question. – user703016 Oct 08 '14 at 15:34
  • You are probably interested in the double-single precision arithmetic functions defined in [http://crd-legacy.lbl.gov/~dhbailey/mpdist/](http://crd-legacy.lbl.gov/~dhbailey/mpdist/). They are written in Fortran but should be easy enough to port to OpenCL C. Unfortunately, just adding two numbers is already about 4 times as many operations vs. native single precision. More complex operations are even slower! – chippies Oct 08 '14 at 18:23

1 Answers1

2

ARM supports this extension in recent releases of the OpenCL Mali drivers. It is not yet publicly documented anywhere, but it is included in the binary drivers available at malideveloper.arm.com.

Jan-Harald
  • 383
  • 1
  • 4