Jump to content

OpenCL: Difference between revisions

217 bytes added ,  31 October 2019
Line 8: Line 8:


==Getting Started==
==Getting Started==
===Compiling===
OpenCL kernels are compiled at runtime. All you have to do is link OpenCL when compiling your program and include your kernels in your program. For <code>gcc</code> just add flag <code>-lOpenCL</code>
===C===
===C===
See https://www.eriksmistad.no/getting-started-with-opencl-and-gpu-computing/
See https://www.eriksmistad.no/getting-started-with-opencl-and-gpu-computing/