A compute program See also: kernel Creates a null program object. cl_program bool true Creates a new program object for program. If retain is true (the default) the reference count for program will be incremented. const program& Creates a new program object as a copy of other. program && Move-constructs a new program object from other. const program& Copies the program from other. program && Transfers the ownership of the program from other. Destroys the program object. std::string Returns the source code for the program. T cl_program_info Returns information about the program. const std::string& std::string() void Builds the program with options. Converts the program object to a cl_program. program const std::string& const context& Creates a new program object with source in context. program const std::string& const context& Creates a new program object with file in context.