[−][src]Trait open_cl_low_level::program::ProgramPtr
ProgramPtr is the trait to access a cl_program for wrappers of that cl_program.
Safety
Direct interaction with any OpenCL pointer is unsafe so this trait is unsafe.
Required methods
unsafe fn program_ptr(&self) -> cl_program
program_ptr is the trait to access a cl_program for wrappers of that cl_program.
Safety
Direct interaction with any OpenCL pointer is unsafe so this trait is unsafe.
Provided methods
fn reference_count(&self) -> Output<u32>
The OpenCL reference count of the cl_program.
fn num_devices(&self) -> Output<usize>
The number of devices that this cl_program is built on.
fn source(&self) -> Output<String>
The source code String of this OpenCL program.
fn binary_sizes(&self) -> Output<Vec<usize>>
The size of the binaries for this OpenCL program.
fn binaries(&self) -> Output<Vec<u8>>
The executable binaries for this OpenCL program.
fn num_kernels(&self) -> Output<usize>
The number of kernels (defined functions) in this OpenCL program.
fn kernel_names(&self) -> Output<Vec<String>>
The names of the kernels (defined functions) in this OpenCL program.