fclGetKernelResource Interface

interface
public module subroutine fclGetKernelResource(kernelString)

Arguments

Type IntentOptional Attributes Name
character(len=:), intent(out), allocatable :: kernelString

Kernel source as fortran character string

Description

Retrieve kernel source linked as a binary resource. Use linker ld to include kernel source with: ld -r -b binary -o fclKernels.o fclKernels.cl (Object file MUST be called fclKernels.o, with no path) Then link resulting object file as normal