Making OpenCL? Simple with Haskell - AMD Developer Central
Making OpenCL? Simple with Haskell - AMD Developer Central
Making OpenCL? Simple with Haskell - AMD Developer Central
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
HELLO WORLD OPENCL C SOURCE<br />
__constant char hw[] = "Hello World\n";<br />
__kernel void hello(__global char * out) {<br />
size_t tid = get_global_id(0);<br />
out[tid] = hw[tid];<br />
}<br />
6 | <strong>Making</strong> <strong>OpenCL</strong> <strong>Simple</strong> | January, 2011 | Public