Using DLL-functions in a Kernel?

Hello, I’m really new to this board.

I want to write a program which includes functions from a DLL-file.
My question is, if it is possible to use those DLL-functions in the kernel.

My question is, if it is possible to use those DLL-functions in the kernel.

No, it is not possible. Kernels need to be compiled by the OpenCL driver in order to run on an OpenCL device (such as a GPU).

Thank you for this information.