viennacl::ocl::program & get_program(std::string const &name)
Returns the program with the provided name.
void delete_program(std::string const &name)
Delete the program with the provided name.
Manages an OpenCL context and provides the respective convenience functions for creating buffers...
viennacl::ocl::program & add_program(cl_program p, std::string const &prog_name)
Adds a program to the context.
Represents an OpenCL context within ViennaCL.
bool has_program(std::string const &name)
Returns whether the program with the provided name exists or not.