ViennaCL - The Vienna Computing Library
1.2.0
|
#include <program.hpp>
Public Member Functions | |
program () | |
program (viennacl::ocl::handle< cl_program > const &h, std::string const &prog_name=std::string()) | |
program (program const &other) | |
viennacl::ocl::program & | operator= (const program &other) |
std::string const & | name () const |
viennacl::ocl::kernel & | add_kernel (std::string const &kernel_name) |
Adds a kernel to the program. | |
viennacl::ocl::kernel & | get_kernel (std::string const &name) |
Returns the kernel with the provided name. |
Friends | |
class | kernel |
|
inline |
|
inline |
|
inline |
Adds a kernel to the program.
|
inline |
Returns the kernel with the provided name.
|
inline |
|
inline |
|
friend |