My master thesis

Scalable solving of boundary element methods utilizing the Green cross approximation method and GPUs

This project is maintained by Bennet Carstensen

Documentation

ocl_system

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...
 

Detailed Description

Additional functions and fixes for the opencl module of the H2Lib.

Function Documentation

◆ setup_kernels_fix()

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.

Parameters
nNumber of source code strings.
src_strsSource code strings.
num_kernelsNumber of kernels that should be compiled given by kernel_names.
kernel_namesArray of function names that should be compiled as OpenCL kernels.
kernelsResulting array of OpenCL kernels.