Neko
0.9.0
A portable framework for high-order spectral element flow simulations
|
#include <CL/cl.h>
#include <stdio.h>
#include <stdlib.h>
#include <device/device_config.h>
#include <device/opencl/jit.h>
#include <device/opencl/prgm_lib.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) |
void | opencl_masked_copy (void *a, void *b, void *mask, int *n, int *m) |
void | opencl_cfill_mask (void *a, void *c, int *size, void *mask, int *mask_size) |
void | opencl_rzero (void *a, int *n) |
void | opencl_rone (void *a, int *n) |
void | opencl_cmult2 (void *a, void *b, real *c, int *n) |
void | opencl_cmult (void *a, real *c, int *n) |
void | opencl_cadd (void *a, real *c, int *n) |
void | opencl_cadd2 (void *a, void *b, real *c, int *n) |
void | opencl_cfill (void *a, real *c, int *n) |
void | opencl_add2 (void *a, void *b, int *n) |
void | opencl_add3 (void *a, void *b, void *c, int *n) |
void | opencl_add4 (void *a, void *b, void *c, void *d, int *n) |
void | opencl_add2s1 (void *a, void *b, real *c1, int *n) |
void | opencl_add2s2 (void *a, void *b, real *c1, int *n) |
void | opencl_add2s2_many (void *x, void *p, void *alpha, int *j, int *n) |
void | opencl_addsqr2s2 (void *a, void *b, real *c1, int *n) |
void | opencl_add3s2 (void *a, void *b, void *c, real *c1, real *c2, int *n) |
void | opencl_invcol1 (void *a, int *n) |
void | opencl_invcol2 (void *a, void *b, int *n) |
void | opencl_col2 (void *a, void *b, int *n) |
void | opencl_col3 (void *a, void *b, void *c, int *n) |
void | opencl_subcol3 (void *a, void *b, void *c, int *n) |
void | opencl_sub2 (void *a, void *b, int *n) |
void | opencl_sub3 (void *a, void *b, void *c, int *n) |
void | opencl_addcol3 (void *a, void *b, void *c, int *n) |
void | opencl_addcol4 (void *a, void *b, void *c, void *d, int *n) |
void | opencl_vdot3 (void *dot, void *u1, void *u2, void *u3, void *v1, void *v2, void *v3, int *n) |
real | opencl_glsc3 (void *a, void *b, void *c, int *n) |
void | opencl_glsc3_many (real *h, void *w, void *v, void *mult, int *j, int *n) |
real | opencl_glsc2 (void *a, void *b, int *n) |
real | opencl_glsum (void *a, int *n) |
Variables | |
int | red_s = 0 |
real * | bufred = NULL |
cl_mem | bufred_d = NULL |
void opencl_add2 | ( | void * | a, |
void * | b, | ||
int * | n | ||
) |
void opencl_add2s1 | ( | void * | a, |
void * | b, | ||
real * | c1, | ||
int * | n | ||
) |
void opencl_add2s2 | ( | void * | a, |
void * | b, | ||
real * | c1, | ||
int * | n | ||
) |
void opencl_add2s2_many | ( | void * | x, |
void * | p, | ||
void * | alpha, | ||
int * | j, | ||
int * | n | ||
) |
void opencl_add3 | ( | void * | a, |
void * | b, | ||
void * | c, | ||
int * | n | ||
) |
void opencl_add4 | ( | void * | a, |
void * | b, | ||
void * | c, | ||
void * | d, | ||
int * | n | ||
) |
void opencl_addcol3 | ( | void * | a, |
void * | b, | ||
void * | c, | ||
int * | n | ||
) |
void opencl_addcol4 | ( | void * | a, |
void * | b, | ||
void * | c, | ||
void * | d, | ||
int * | n | ||
) |
void opencl_addsqr2s2 | ( | void * | a, |
void * | b, | ||
real * | c1, | ||
int * | n | ||
) |
void opencl_cadd | ( | void * | a, |
real * | c, | ||
int * | n | ||
) |
void opencl_cadd2 | ( | void * | a, |
void * | b, | ||
real * | c, | ||
int * | n | ||
) |
void opencl_cfill | ( | void * | a, |
real * | c, | ||
int * | n | ||
) |
void opencl_cfill_mask | ( | void * | a, |
void * | c, | ||
int * | size, | ||
void * | mask, | ||
int * | mask_size | ||
) |
void opencl_cmult | ( | void * | a, |
real * | c, | ||
int * | n | ||
) |
void opencl_cmult2 | ( | void * | a, |
void * | b, | ||
real * | c, | ||
int * | n | ||
) |
void opencl_col2 | ( | void * | a, |
void * | b, | ||
int * | n | ||
) |
void opencl_col3 | ( | void * | a, |
void * | b, | ||
void * | c, | ||
int * | n | ||
) |
void opencl_copy | ( | void * | a, |
void * | b, | ||
int * | n | ||
) |
real opencl_glsc2 | ( | void * | a, |
void * | b, | ||
int * | n | ||
) |
real opencl_glsc3 | ( | void * | a, |
void * | b, | ||
void * | c, | ||
int * | n | ||
) |
void opencl_glsc3_many | ( | real * | h, |
void * | w, | ||
void * | v, | ||
void * | mult, | ||
int * | j, | ||
int * | n | ||
) |
real opencl_glsum | ( | void * | a, |
int * | n | ||
) |
void opencl_invcol1 | ( | void * | a, |
int * | n | ||
) |
void opencl_invcol2 | ( | void * | a, |
void * | b, | ||
int * | n | ||
) |
void opencl_masked_copy | ( | void * | a, |
void * | b, | ||
void * | mask, | ||
int * | n, | ||
int * | m | ||
) |
void opencl_rone | ( | void * | a, |
int * | n | ||
) |
void opencl_rzero | ( | void * | a, |
int * | n | ||
) |
void opencl_sub2 | ( | void * | a, |
void * | b, | ||
int * | n | ||
) |
void opencl_sub3 | ( | void * | a, |
void * | b, | ||
void * | c, | ||
int * | n | ||
) |
void opencl_subcol3 | ( | void * | a, |
void * | b, | ||
void * | c, | ||
int * | n | ||
) |
void opencl_vdot3 | ( | void * | dot, |
void * | u1, | ||
void * | u2, | ||
void * | u3, | ||
void * | v1, | ||
void * | v2, | ||
void * | v3, | ||
int * | n | ||
) |