cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

notyou
Adept III

Learning OpenCL

Hi everyone,

I am a university level programmer working on a project comparing different ways of programming (primarily working with data level parallelism) and I was wondering if anyone here has any suggestions for how to start programming in OpenCL.

I've already gotten the provided programs to compile and run. It just seems that there's so much information in each file that I'm not sure what is necessary and what is fluff (eg. printing output).

Does anyone here have any references or suggestions that could help me begin to learn OpenCL? Thanks.

-Matt

0 Likes
3 Replies
Illusio
Journeyman III

If you're familiar with both C and programming with vectorized primitives, I'd just head over to Khronos and grab the quick reference card and the spec.

http://www.khronos.org/opencl/

The spec has a decent introduction to the general programming paradigm. After you're up to speed on that, the quick reference should cover most of your needs.

Of course, you could always watch the tutorial videos linked in the sticky "Technical Overview Video Series" thread on this page.

0 Likes

Originally posted by: Illusio If you're familiar with both C and programming with vectorized primitives, I'd just head over to Khronos and grab the quick reference card and the spec.

 

http://www.khronos.org/opencl/

 

The spec has a decent introduction to the general programming paradigm. After you're up to speed on that, the quick reference should cover most of your needs.

 

Of course, you could always watch the tutorial videos linked in the sticky "Technical Overview Video Series" thread on this page.

 

There are also very nice tutorials here:

http://www.macresearch.org/opencl_episode1

http://www.macresearch.org/opencl_episode2

http://www.macresearch.org/opencl_episode3

http://www.macresearch.org/opencl_episode4

http://www.macresearch.org/opencl_episode5

http://www.macresearch.org/opencl_episode6

0 Likes

Thanks for the references. I'm slowly starting to piece together some test programs of my own. I'll post back if I have any issues... so I'm sure I'll be talking to you again soon.

0 Likes