fclCompileProgram Interface

public interface fclCompileProgram

Generic interface to compile an openCL program


Contents


Functions

public module function fclCompileProgram_1(ctx, source, options) result(prog)

Compile program source on context ctx

Arguments

Type IntentOptional Attributes Name
type(fclContext), intent(in), target :: ctx
character(len=*), intent(in) :: source

Program source code

character(len=*), intent(in), optional :: options

OpenCL compilation options

Return Value type(fclProgram)

Returns fclProgram object

public module function fclCompileProgram_2(source, options) result(prog)

Compile program source on fclDefaultContext

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: source

Program source code

character(len=*), intent(in), optional :: options

OpenCL compilation options

Return Value type(fclProgram)

Returns fclProgram object