JayBeams  0.1
Another project to have fun coding.
Namespaces | Functions
build_simple_kernel.hpp File Reference
#include <boost/compute/context.hpp>
#include <boost/compute/device.hpp>
#include <boost/compute/kernel.hpp>
#include <boost/compute/program.hpp>
#include <iosfwd>

Go to the source code of this file.

Namespaces

 jb
 The top-level namespace for the JayBeams library.
 
 jb::opencl
 Wrappers for the OpenCL library.
 

Functions

boost::compute::kernel jb::opencl::build_simple_kernel (boost::compute::context context, boost::compute::device device, char const *code, char const *kernel_name)
 Build a simple program (one where everything is in a single string) and get a kernel from it. More...
 
boost::compute::kernel jb::opencl::build_simple_kernel (boost::compute::context context, boost::compute::device device, std::istream &code, char const *kernel_name)
 Build a simple program from an iostream and get a kernel from the result. More...
 
boost::compute::program jb::opencl::build_simple_program (boost::compute::context context, boost::compute::device device, char const *code)
 Convenience function to build a simple program and return it. More...
 
boost::compute::program jb::opencl::build_simple_program (boost::compute::context context, boost::compute::device device, std::istream &code)
 Convenience function to build a simple program and return it. More...