1

On the Embarcadero website it says it supports this but I haven't seen no demos or examples that come with Delphi. So if this is a farce which it indeed looks like then I bet we will have to wait till XE9 for a proper CUDA/OpenCL support.

http://edn.embarcadero.com/article/41688

Q: Does FireMonkey allow for use of the GPU for high performance computing (e.g. CUDA or OpenCL)?

A: It can, yes.

So how to do basic CUDA/OpenCL computation with Firemonkey?

  • Further down: *Q: Does FireMonkey have a capability like OpenCL to use the GPU for math operations A: Not in this release.* isn't GPU programming orthogonal to FMX? Why does it have to be part of FMX? – David Heffernan Apr 28 '13 at 22:07
  • @DavidHeffernan It was planed for GLScene way back when.. before Firemonkey even existed.. –  Apr 28 '13 at 22:08
  • Hehe, well, I also "allow" you to use CUDA or OpenCL. – Wouter van Nifterick Apr 29 '13 at 01:04

1 Answers1

2

You are allowed to use CUDA or OpenCL with FireMonkey.

I mean, FireMonkey is not disabling OpenCL/CUDA when it uses DirectX/OpenGL for rendering.

This is the meaning of the FAQ.

Pure truth. No lie.

(I admit I went to a jesuit university) :)

So you need an OpenCL/CUDA library and compiler. I suspect you can use this open source project, or this one, or write an external CUDA dll with another compiler, more integrated to the CUDA/OpenCL programming. Some sample code here.

Arnaud Bouchez
  • 42,305
  • 3
  • 71
  • 159
  • Why -1, oh proud anonymous down-voter? Because of the reference to Jesuits? Even the current pope would have laugh on it. :) – Arnaud Bouchez May 03 '13 at 05:08