Scalable solving of boundary element methods utilizing the Green cross approximation method and GPUs
This project is maintained by Bennet Carstensen
Additional functions and fixes for the opencl module of the H2Lib. More...
Functions | |
HEADER_PREFIX void | setup_kernels_fix (const uint n, const char **src_strs, const uint num_kernels, const char **kernel_names, cl_kernel **kernels) |
Reads the source code specified by (multiple) strings src_strs and compiles all OpenCL kernels given by the array kernel_names into OpenCL kernels kernels . More... | |
Additional functions and fixes for the opencl module of the H2Lib.
HEADER_PREFIX void setup_kernels_fix | ( | const uint | n, |
const char ** | src_strs, | ||
const uint | num_kernels, | ||
const char ** | kernel_names, | ||
cl_kernel ** | kernels | ||
) |
Reads the source code specified by (multiple) strings src_strs
and compiles all OpenCL kernels given by the array kernel_names
into OpenCL kernels kernels
.
n | Number of source code strings. |
src_strs | Source code strings. |
num_kernels | Number of kernels that should be compiled given by kernel_names . |
kernel_names | Array of function names that should be compiled as OpenCL kernels. |
kernels | Resulting array of OpenCL kernels. |