A man by the name of Michal Pohanka put together a nice OpenCL test using Delphi 7. I decided to explore it a little bit. OpenCL is a nice little library that allows you to take advantage of your GPU for scientific computations, sometimes giving you 1000/1 speed boosts for complex operations.
I’m sure I’m not the only person out there that checked out his demo. and the 32-bit version compiled and ran on Delphi Xe6 without error, despite the fact that he wrote it for Delphi 7.
However it took a couple of little modifications to get it to work under 64-bit. I figure I’ll just tell you what I did to make it work. It is pretty simple once you know the magic sauce. Continue reading “How to get OpenCL 1.2 to work with 64-bit Delphi”