![]() |
PIP 5.6.1
Platform-Independent Primitives
|
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. | |
Compiled OpenCL program that owns discovered kernels.