PIP 6.1.0
Platform-Independent Primitives
Loading...
Searching...
No Matches
PIOpenCL::Program Class Reference

Compiled OpenCL program that owns discovered kernels. More...

#include <piopencl.h>

Public Member Functions

 ~Program ()
 Destroys the program and its kernels.
Context * context () const
 Returns the context that created the program.
const PIString & sourceCode () const
 Returns the original source code used for compilation.
Kernel * kernel (int index=0) const
 Returns the kernel at the given index.
const PIVector< Kernel * > & kernels () const
 Returns all kernels created from the program.

Detailed Description

Compiled OpenCL program that owns discovered kernels.