fclGetProgramKernel Interface

interface
public module function fclGetProgramKernel(prog, kernelName, global_work_size, local_work_size, work_dim, global_work_offset) result(kern)

Arguments

Type IntentOptional Attributes Name
type(fclProgram), intent(in) :: prog

Compiled program object containing kernel

character(len=*), intent(in) :: kernelName

Name of kernel to extract for execution

integer, intent(in), optional :: global_work_size(:)

Global work group dimensions, default unset (must set prior to launching)

integer, intent(in), optional :: local_work_size(:)

Local work group dimensions, default zeros (decided by OpenCL runtime)

integer, intent(in), optional :: work_dim

Number of dimensions for kernel work group, default 1

integer, intent(in), optional :: global_work_offset(:)

Global work group offsets, default zeros

Return Value type(fclKernel)

Returns fclKernel object for execution

Description

Extract a kernel object for execution from a compiled program object