SOCL: A Simple OpenCL Wrapper

I introduced the SOCL wrapper library in a blog post here. While the intent was to get the code out without a lot of fuss and bother, it is clear that a little more documentation might make SOCL more useful. This is a work in progress.


The blog entry: “Small Brick, Big ‘N’”

Download the kit socl_v0r0_kit.tgz.


Example Programs


The SOCL Library

  1. Frequently Used Functions

  2. SOCL_CreateContext

  3. SOCL_CreateContextAndLoadProgram

  4. SOCL_GetKernel

  5. SOCL_CallKernel

  6. SOCL_CreateBuffer

  7. SOCL_CreateNamedBuffer

  8. SOCL_WriteBuffer

  9. SOCL_ReadBuffer

  10. SOCL_Close

  11. Not So Frequently Used Functions

  12. Key Data Structures