|
Neko 1.99.11
A portable framework for high-order spectral element flow simulations
|
#include <CL/cl.h>#include <stdio.h>#include <stdlib.h>#include <math.h>#include <device/device_config.h>#include <device/opencl/jit.h>#include <device/opencl/prgm_lib.h>#include <device/opencl/buffer.h>#include <device/opencl/check.h>#include "math_kernel.cl.h"
Go to the source code of this file.
Functions | |
| void | opencl_copy (void *a, void *b, int *n, cl_command_queue cmd_queue) |
| void | opencl_masked_copy_0 (void *a, void *b, void *mask, int *n, int *m, cl_command_queue cmd_queue) |
| void | opencl_masked_copy_aligned (void *a, void *b, void *mask, int *n, int *m, cl_command_queue cmd_queue) |
| void | opencl_masked_gather_copy (void *a, void *b, void *mask, int *n, int *m, cl_command_queue cmd_queue) |
| void | opencl_masked_gather_copy_aligned (void *a, void *b, void *mask, int *n, int *m, cl_command_queue cmd_queue) |
| void | opencl_face_masked_gather_copy (void *a, void *b, void *mask, void *facet, int *n1, int *n2, int *lx, int *ly, int *lz, int *m, cl_command_queue cmd_queue) |
| void | opencl_masked_scatter_copy (void *a, void *b, void *mask, int *n, int *m, cl_command_queue cmd_queue) |
| void | opencl_masked_scatter_copy_aligned (void *a, void *b, void *mask, int *n, int *m, cl_command_queue cmd_queue) |
| void | opencl_cfill_mask (void *a, void *c, int *size, void *mask, int *mask_size, cl_command_queue cmd_queue) |
| void | opencl_rzero (void *a, int *n, cl_command_queue cmd_queue) |
| void | opencl_rone (void *a, int *n, cl_command_queue cmd_queue) |
| void | opencl_cmult (void *a, real *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_cmult2 (void *a, void *b, real *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_cdiv (void *a, real *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_cdiv2 (void *a, void *b, real *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_radd (void *a, real *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_cadd2 (void *a, void *b, real *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_cwrap (void *a, real *min_val, real *max_val, int *n, cl_command_queue cmd_queue) |
| void | opencl_sqrt_inplace (void *a, int *n, cl_command_queue cmd_queue) |
| void | opencl_power (void *ap, void *a, real *p, int *n, cl_command_queue cmd_queue) |
| void | opencl_cfill (void *a, real *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_add2 (void *a, void *b, int *n, cl_command_queue cmd_queue) |
| void | opencl_add3 (void *a, void *b, void *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_add4 (void *a, void *b, void *c, void *d, int *n, cl_command_queue cmd_queue) |
| void | opencl_add2s1 (void *a, void *b, real *c1, int *n, cl_command_queue cmd_queue) |
| void | opencl_add2s2 (void *a, void *b, real *c1, int *n, cl_command_queue cmd_queue) |
| void | opencl_add2s2_many (void *x, void *p, void *alpha, int *j, int *n, cl_command_queue cmd_queue) |
| void | opencl_addsqr2s2 (void *a, void *b, real *c1, int *n, cl_command_queue cmd_queue) |
| void | opencl_add3s2 (void *a, void *b, void *c, real *c1, real *c2, int *n, cl_command_queue cmd_queue) |
| void | opencl_add4s3 (void *a, void *b, void *c, void *d, real *c1, real *c2, real *c3, int *n, cl_command_queue cmd_queue) |
| void | opencl_add5s4 (void *a, void *b, void *c, void *d, void *e, real *c1, real *c2, real *c3, real *c4, int *n, cl_command_queue cmd_queue) |
| void | opencl_invcol1 (void *a, int *n, cl_command_queue cmd_queue) |
| void | opencl_invcol2 (void *a, void *b, int *n, cl_command_queue cmd_queue) |
| void | opencl_invcol3 (void *a, void *b, void *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_col2 (void *a, void *b, int *n, cl_command_queue cmd_queue) |
| void | opencl_col3 (void *a, void *b, void *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_subcol3 (void *a, void *b, void *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_sub2 (void *a, void *b, int *n, cl_command_queue cmd_queue) |
| void | opencl_sub3 (void *a, void *b, void *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_addcol3 (void *a, void *b, void *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_addcol4 (void *a, void *b, void *c, void *d, int *n, cl_command_queue cmd_queue) |
| void | opencl_addcol3s2 (void *a, void *b, void *c, real *s, int *n, cl_command_queue cmd_queue) |
| void | opencl_vdot3 (void *dot, void *u1, void *u2, void *u3, void *v1, void *v2, void *v3, int *n, cl_command_queue cmd_queue) |
| void | opencl_vcross (void *u1, void *u2, void *u3, void *v1, void *v2, void *v3, void *w1, void *w2, void *w3, int *n, cl_command_queue cmd_queue) |
| real_xp | opencl_glsc3 (void *a, void *b, void *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_glsc3_many (real_xp *h, void *w, void *v, void *mult, int *j, int *n, cl_command_queue cmd_queue) |
| real_xp | opencl_glsc2 (void *a, void *b, int *n, cl_command_queue cmd_queue) |
| real_xp | opencl_glsubnorm2 (void *a, void *b, int *n, cl_command_queue cmd_queue) |
| real_xp | opencl_glsum (void *a, int *n, cl_command_queue cmd_queue) |
| real | opencl_glmax (void *a, int *n, cl_command_queue cmd_queue) |
| real | opencl_glamax (void *a, int *n, cl_command_queue cmd_queue) |
| real | opencl_glmin (void *a, int *n, cl_command_queue cmd_queue) |
| void | opencl_absval (void *a, int *n, cl_command_queue cmd_queue) |
| void | opencl_iadd (void *a, int *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_pwmax_vec2 (void *a, void *b, int *n, cl_command_queue cmd_queue) |
| void | opencl_pwmax_vec3 (void *a, void *b, void *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_pwmax_sca2 (void *a, real *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_pwmax_sca3 (void *a, void *b, real *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_pwmin_vec2 (void *a, void *b, int *n, cl_command_queue cmd_queue) |
| void | opencl_pwmin_vec3 (void *a, void *b, void *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_pwmin_sca2 (void *a, real *c, int *n, cl_command_queue cmd_queue) |
| void | opencl_pwmin_sca3 (void *a, void *b, real *c, int *n, cl_command_queue cmd_queue) |
Variables | |
| opencl_buffer_t | redbuf_xp = OPENCL_BUFFER_INIT |
| void opencl_absval | ( | void * | a, |
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_add2 | ( | void * | a, |
| void * | b, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_add2s1 | ( | void * | a, |
| void * | b, | ||
| real * | c1, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_add2s2 | ( | void * | a, |
| void * | b, | ||
| real * | c1, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_add2s2_many | ( | void * | x, |
| void * | p, | ||
| void * | alpha, | ||
| int * | j, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_add3 | ( | void * | a, |
| void * | b, | ||
| void * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_add4 | ( | void * | a, |
| void * | b, | ||
| void * | c, | ||
| void * | d, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_addcol3 | ( | void * | a, |
| void * | b, | ||
| void * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_addcol3s2 | ( | void * | a, |
| void * | b, | ||
| void * | c, | ||
| real * | s, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_addcol4 | ( | void * | a, |
| void * | b, | ||
| void * | c, | ||
| void * | d, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_addsqr2s2 | ( | void * | a, |
| void * | b, | ||
| real * | c1, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_cadd2 | ( | void * | a, |
| void * | b, | ||
| real * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_cdiv | ( | void * | a, |
| real * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_cdiv2 | ( | void * | a, |
| void * | b, | ||
| real * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_cfill | ( | void * | a, |
| real * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_cfill_mask | ( | void * | a, |
| void * | c, | ||
| int * | size, | ||
| void * | mask, | ||
| int * | mask_size, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_cmult | ( | void * | a, |
| real * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_cmult2 | ( | void * | a, |
| void * | b, | ||
| real * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_col2 | ( | void * | a, |
| void * | b, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_col3 | ( | void * | a, |
| void * | b, | ||
| void * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_copy | ( | void * | a, |
| void * | b, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_face_masked_gather_copy | ( | void * | a, |
| void * | b, | ||
| void * | mask, | ||
| void * | facet, | ||
| int * | n1, | ||
| int * | n2, | ||
| int * | lx, | ||
| int * | ly, | ||
| int * | lz, | ||
| int * | m, | ||
| cl_command_queue | cmd_queue ) |
| real opencl_glamax | ( | void * | a, |
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| real opencl_glmax | ( | void * | a, |
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| real opencl_glmin | ( | void * | a, |
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| real_xp opencl_glsc2 | ( | void * | a, |
| void * | b, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| real_xp opencl_glsc3 | ( | void * | a, |
| void * | b, | ||
| void * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_glsc3_many | ( | real_xp * | h, |
| void * | w, | ||
| void * | v, | ||
| void * | mult, | ||
| int * | j, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| real_xp opencl_glsubnorm2 | ( | void * | a, |
| void * | b, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| real_xp opencl_glsum | ( | void * | a, |
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_iadd | ( | void * | a, |
| int * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_invcol1 | ( | void * | a, |
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_invcol2 | ( | void * | a, |
| void * | b, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_invcol3 | ( | void * | a, |
| void * | b, | ||
| void * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_masked_copy_0 | ( | void * | a, |
| void * | b, | ||
| void * | mask, | ||
| int * | n, | ||
| int * | m, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_masked_copy_aligned | ( | void * | a, |
| void * | b, | ||
| void * | mask, | ||
| int * | n, | ||
| int * | m, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_masked_gather_copy | ( | void * | a, |
| void * | b, | ||
| void * | mask, | ||
| int * | n, | ||
| int * | m, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_masked_gather_copy_aligned | ( | void * | a, |
| void * | b, | ||
| void * | mask, | ||
| int * | n, | ||
| int * | m, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_masked_scatter_copy | ( | void * | a, |
| void * | b, | ||
| void * | mask, | ||
| int * | n, | ||
| int * | m, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_masked_scatter_copy_aligned | ( | void * | a, |
| void * | b, | ||
| void * | mask, | ||
| int * | n, | ||
| int * | m, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_power | ( | void * | ap, |
| void * | a, | ||
| real * | p, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_pwmax_sca2 | ( | void * | a, |
| real * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_pwmax_sca3 | ( | void * | a, |
| void * | b, | ||
| real * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_pwmax_vec2 | ( | void * | a, |
| void * | b, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_pwmax_vec3 | ( | void * | a, |
| void * | b, | ||
| void * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_pwmin_sca2 | ( | void * | a, |
| real * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_pwmin_sca3 | ( | void * | a, |
| void * | b, | ||
| real * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_pwmin_vec2 | ( | void * | a, |
| void * | b, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_pwmin_vec3 | ( | void * | a, |
| void * | b, | ||
| void * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_radd | ( | void * | a, |
| real * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_rone | ( | void * | a, |
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_rzero | ( | void * | a, |
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_sqrt_inplace | ( | void * | a, |
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_sub2 | ( | void * | a, |
| void * | b, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_sub3 | ( | void * | a, |
| void * | b, | ||
| void * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_subcol3 | ( | void * | a, |
| void * | b, | ||
| void * | c, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_vcross | ( | void * | u1, |
| void * | u2, | ||
| void * | u3, | ||
| void * | v1, | ||
| void * | v2, | ||
| void * | v3, | ||
| void * | w1, | ||
| void * | w2, | ||
| void * | w3, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| void opencl_vdot3 | ( | void * | dot, |
| void * | u1, | ||
| void * | u2, | ||
| void * | u3, | ||
| void * | v1, | ||
| void * | v2, | ||
| void * | v3, | ||
| int * | n, | ||
| cl_command_queue | cmd_queue ) |
| opencl_buffer_t redbuf_xp = OPENCL_BUFFER_INIT |