|
Neko 1.99.9
A portable framework for high-order spectral element flow simulations
|
#include <CL/cl.h>#include <device/device_config.h>#include <device/opencl/check.h>#include <device/opencl/jit.h>#include <device/opencl/prgm_lib.h>#include "dynamic_smagorinsky_nut_kernel.cl.h"
Go to the source code of this file.
JIT compile the dynamic Smagorinsky program on first use
Definition at line 49 of file dynamic_smagorinsky_nut.c.


Enqueue a one-dimensional kernel over n points
Definition at line 57 of file dynamic_smagorinsky_nut.c.


| void opencl_lij_compute_part1 | ( | void * | l11, |
| void * | l22, | ||
| void * | l33, | ||
| void * | l12, | ||
| void * | l13, | ||
| void * | l23, | ||
| void * | u, | ||
| void * | v, | ||
| void * | w, | ||
| void * | fu, | ||
| void * | fv, | ||
| void * | fw, | ||
| void * | fuu, | ||
| void * | fvv, | ||
| void * | fww, | ||
| void * | fuv, | ||
| void * | fuw, | ||
| void * | fvw, | ||
| int * | n | ||
| ) |
Fortran wrapper for the OpenCL Leonard stress kernel, part 1
Definition at line 95 of file dynamic_smagorinsky_nut.c.


| void opencl_lij_compute_part2 | ( | void * | l11, |
| void * | l22, | ||
| void * | l33, | ||
| void * | l12, | ||
| void * | l13, | ||
| void * | l23, | ||
| void * | fuu, | ||
| void * | fvv, | ||
| void * | fww, | ||
| void * | fuv, | ||
| void * | fuw, | ||
| void * | fvw, | ||
| int * | n | ||
| ) |
Fortran wrapper for the OpenCL Leonard stress kernel, part 2
Definition at line 133 of file dynamic_smagorinsky_nut.c.


| void opencl_mij_compute_part1 | ( | void * | m11, |
| void * | m22, | ||
| void * | m33, | ||
| void * | m12, | ||
| void * | m13, | ||
| void * | m23, | ||
| void * | s_abs, | ||
| void * | s11, | ||
| void * | s22, | ||
| void * | s33, | ||
| void * | s12, | ||
| void * | s13, | ||
| void * | s23, | ||
| void * | fs_abs, | ||
| void * | fs11, | ||
| void * | fs22, | ||
| void * | fs33, | ||
| void * | fs12, | ||
| void * | fs13, | ||
| void * | fs23, | ||
| void * | fsabss11, | ||
| void * | fsabss22, | ||
| void * | fsabss33, | ||
| void * | fsabss12, | ||
| void * | fsabss13, | ||
| void * | fsabss23, | ||
| real * | delta_ratio2, | ||
| int * | n | ||
| ) |
Fortran wrapper for the OpenCL model tensor kernel, part 1
Definition at line 163 of file dynamic_smagorinsky_nut.c.


| void opencl_mij_nut_compute_part2 | ( | void * | m11, |
| void * | m22, | ||
| void * | m33, | ||
| void * | m12, | ||
| void * | m13, | ||
| void * | m23, | ||
| void * | l11, | ||
| void * | l22, | ||
| void * | l33, | ||
| void * | l12, | ||
| void * | l13, | ||
| void * | l23, | ||
| void * | fsabss11, | ||
| void * | fsabss22, | ||
| void * | fsabss33, | ||
| void * | fsabss12, | ||
| void * | fsabss13, | ||
| void * | fsabss23, | ||
| void * | num, | ||
| void * | den, | ||
| void * | c_dyn, | ||
| void * | delta, | ||
| void * | s_abs, | ||
| void * | nut, | ||
| real * | alpha, | ||
| int * | n | ||
| ) |
Fortran wrapper for the OpenCL model tensor and eddy viscosity kernel
Definition at line 213 of file dynamic_smagorinsky_nut.c.


| void opencl_s_abs_compute | ( | void * | s_abs, |
| void * | s11, | ||
| void * | s22, | ||
| void * | s33, | ||
| void * | s12, | ||
| void * | s13, | ||
| void * | s23, | ||
| int * | n | ||
| ) |
Fortran wrapper for the OpenCL strain rate magnitude kernel
Definition at line 72 of file dynamic_smagorinsky_nut.c.

