Neko
0.9.99
A portable framework for high-order spectral element flow simulations
|
#include <math/bcknd/device/cuda/math_kernel.h>
Go to the source code of this file.
Functions | |
template<typename T > | |
__global__ void | cg_update_xp_kernel (T *__restrict__ x, T *__restrict__ p, T **__restrict__ u, const T *alpha, const T *beta, const int p_cur, const int p_space, const int n) |
template<typename T > | |
__global__ void | pipecg_vecops_kernel (T *__restrict__ p, T *__restrict__ q, T *__restrict__ r, T *__restrict__ s, T *__restrict__ u1, T *__restrict__ u2, T *__restrict__ w, T *__restrict__ z, T *__restrict__ ni, T *__restrict__ mi, const T alpha, const T beta, const T *mult, T *buf_h1, T *buf_h2, T *buf_h3, const int n) |
__global__ void cg_update_xp_kernel | ( | T *__restrict__ | x, |
T *__restrict__ | p, | ||
T **__restrict__ | u, | ||
const T * | alpha, | ||
const T * | beta, | ||
const int | p_cur, | ||
const int | p_space, | ||
const int | n | ||
) |
Kernel for back-substitution of x and update of p
Definition at line 43 of file pipecg_kernel.h.
__global__ void pipecg_vecops_kernel | ( | T *__restrict__ | p, |
T *__restrict__ | q, | ||
T *__restrict__ | r, | ||
T *__restrict__ | s, | ||
T *__restrict__ | u1, | ||
T *__restrict__ | u2, | ||
T *__restrict__ | w, | ||
T *__restrict__ | z, | ||
T *__restrict__ | ni, | ||
T *__restrict__ | mi, | ||
const T | alpha, | ||
const T | beta, | ||
const T * | mult, | ||
T * | buf_h1, | ||
T * | buf_h2, | ||
T * | buf_h3, | ||
const int | n | ||
) |
Device kernel for pipecg_vecops
Definition at line 72 of file pipecg_kernel.h.