News for hackers. Stuff that matters.
Re:Metal – Apple’s new graphics API by foxhill on Tuesday June 03, 2014 @02:31PM (#7841946)
> Performance

largely myth

> legacy code

using OpenCL is not like OpenMP, you don't just add a few pragmas and you're set. C code needs to be rewritten for OpenCL. this is largely copy and paste, due to the syntax being so similar, assuming you have mathsy things in your kernels, but the same is true for fortran. replace array access brackets with square brackets, replace power operators with the built-in power functions, etc.

porting legacy (usually fortran) codes to OpenCL/CUDA is actually what i do for a living.

There are no comments on this comment yet.