Module opencl3::kernel[][src]

Structs

ExecuteKernel

A struct that implements the builder pattern to simplify setting up Kernel arguments and the NDRange when enqueueing a Kernel on a CommandQueue.

Kernel

An OpenCL kernel object.
Implements the Drop trait to call release_kernel when the object is dropped.

Enums

KernelArgInfo
KernelInfo
KernelSubGroupInfo
KernelWorkGroupInfo

Constants

CL_KERNEL_ARG_ACCESS_NONE
CL_KERNEL_ARG_ACCESS_READ_ONLY
CL_KERNEL_ARG_ACCESS_READ_WRITE
CL_KERNEL_ARG_ACCESS_WRITE_ONLY
CL_KERNEL_ARG_ADDRESS_CONSTANT
CL_KERNEL_ARG_ADDRESS_GLOBAL
CL_KERNEL_ARG_ADDRESS_LOCAL
CL_KERNEL_ARG_ADDRESS_PRIVATE
CL_KERNEL_ARG_TYPE_CONST
CL_KERNEL_ARG_TYPE_NONE
CL_KERNEL_ARG_TYPE_PIPE
CL_KERNEL_ARG_TYPE_RESTRICT
CL_KERNEL_ARG_TYPE_VOLATILE
CL_KERNEL_EXEC_INFO_SVM_FINE_GRAIN_SYSTEM
CL_KERNEL_EXEC_INFO_SVM_PTRS

Functions

create_kernel

Create an OpenCL kernel object for a program with a successfully built executable.
Calls clCreateKernel to create an OpenCL kernel object.

create_kernels_in_program

Create OpenCL kernel objects for all kernel functions in a program.
Calls clCreateKernelsInProgram to create OpenCL kernel objects.

create_program_kernels

Create OpenCL Kernel objects for all the kernel functions in a program.

get_kernel_arg_data

Get data about arguments of an OpenCL kernel. Calls clGetKernelArgInfo to get the desired data about arguments of the kernel.

get_kernel_arg_info

Get specific information about arguments of an OpenCL kernel.
Calls clGetKernelArgInfo to get the desired information about the kernel.

get_kernel_data

Get data about an OpenCL kernel. Calls clGetKernelInfo to get the desired data about the kernel.

get_kernel_info

Get specific information about an OpenCL kernel.
Calls clGetKernelInfo to get the desired information about the kernel.

get_kernel_work_group_data

Get data about work groups of an OpenCL kernel. Calls clGetKernelArgInfo to get the desired data about work groups of the kernel.

get_kernel_work_group_info

Get specific information about work groups of an OpenCL kernel.
Calls clGetKernelWorkGroupInfo to get the desired information about the kernel.

release_kernel

Release an OpenCL kernel.
Calls clReleaseKernel to decrement the kernel reference count.

retain_kernel

Retain an OpenCL kernel.
Calls clRetainKernel to increment the kernel reference count.

set_kernel_arg

Set the argument value for a specific argument of a kernel.
Calls clSetKernelArg.

set_kernel_arg_svm_pointer

Set set a SVM pointer as the argument value for a specific argument of a kernel.
Calls clSetKernelArgSVMPointer.

set_kernel_exec_info

Pass additional information other than argument values to a kernel.
Calls clSetKernelExecInfo.