libBind closely integrates libCL with OpenCL Studio, allowing you to leverage the editor in the development process of your own parallel algorithms and visualizations. OpenCL Studio provides an interactive scripting language and source code editors for Lua, OpenCL and GLSL, as well as 2D/3D visualization constructs and user interface widgets. The download of OpenCL Studio includes a number of sample applications that already build upon the current version of libCL. The following three steps are required to integrate your own extensions to libCL:
1. Download and install OpenCL Studio, which also includes the source code and Visual Studio projects for libCL and libBind. Bindings for all of the algorithms in libCL already exist in this distribution of libBind.
2. Open the libBind.sln Visual Studio project in the the workspace\bindings\luabind directory. It is best to create a new workspace through OpenCL Studio first before making any changes to libCL. Every workspace contains its own copy of libCL and libBind.
3. Add your own classes to libCL and libBind, and recompile the project to update libBind.dll. The next time you start OpenCL Studio, it will automatically load your version of libCL, allowing you to use your own algorithms in conjunction with the other features of the IDE.
The source code already available in libBind provides several examples of how to integrate additions to libCL with OpenCL Studio. For a more comprehensive tutorial refer to the instructional video. If you encounter any problems, please send us a message at firstname.lastname@example.org.