View Full Version : Is possible to porting opencl to other systems by myself

09-24-2009, 06:42 AM
I am a student,I want research the OpenCL runtime library in the virtual platform to analyse the proformance for my paper.is't possible to porting OpenCL to other CPU and OS,Like...ARM,DSP..and ucOS-II..


09-24-2009, 08:22 AM
Absolutely, everything you need to know to implement OpenCL is contained in the standard, which is freely available. There are one or two areas where things are a touch ambiguous or unclear, but overall it's well documented.

I'd strongly recommend making sure you're familiar with the memory model used by OpenCL before you go any further. For reference probably the hardest part to implement is the compiler...

09-25-2009, 01:15 AM
The compiler is the trickest part. The actual runtime management is not so bad, but if you want to target accelerators (e.g., GPUs) you'll have to have vendor support at the driver level. If the vendors are using open source compilers, it would probably be good to wait until they have contributed their changes back (if they do) so you don't duplicate a lot of their work.