Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
Go to the source code of this file.
Functions | |
template<typename T > | |
__inline__ __device__ T | eigen_val_calc (T grad11, T grad12, T grad13, T grad21, T grad22, T grad23, T grad31, T grad32, T grad33) |
template<typename T , const int LX, const int CHUNKS> | |
__global__ void | lambda2_kernel_1d (T *__restrict__ lambda2, const T *__restrict__ u, const T *__restrict__ v, const T *__restrict__ w, const T *__restrict__ dx, const T *__restrict__ dy, const T *__restrict__ dz, const T *__restrict__ drdx, const T *__restrict__ dsdx, const T *__restrict__ dtdx, const T *__restrict__ drdy, const T *__restrict__ dsdy, const T *__restrict__ dtdy, const T *__restrict__ drdz, const T *__restrict__ dsdz, const T *__restrict__ dtdz, const T *__restrict__ jacinv) |
template<typename T , const int LX> | |
__global__ void | __launch_bounds__ (LX *LX, 3) lambda2_kernel_kstep(T *__restrict__ lambda2 |
for (int k=0;k< LX;++k) | |
__syncthreads () | |
__syncthreads | ( | ) |
__inline__ __device__ T eigen_val_calc | ( | T | grad11, |
T | grad12, | ||
T | grad13, | ||
T | grad21, | ||
T | grad22, | ||
T | grad23, | ||
T | grad31, | ||
T | grad32, | ||
T | grad33 | ||
) |
Device kernel for lambda2 calc
Definition at line 43 of file lambda2_kernel.h.
for | ( | ) |
__global__ void lambda2_kernel_1d | ( | T *__restrict__ | lambda2, |
const T *__restrict__ | u, | ||
const T *__restrict__ | v, | ||
const T *__restrict__ | w, | ||
const T *__restrict__ | dx, | ||
const T *__restrict__ | dy, | ||
const T *__restrict__ | dz, | ||
const T *__restrict__ | drdx, | ||
const T *__restrict__ | dsdx, | ||
const T *__restrict__ | dtdx, | ||
const T *__restrict__ | drdy, | ||
const T *__restrict__ | dsdy, | ||
const T *__restrict__ | dtdy, | ||
const T *__restrict__ | drdz, | ||
const T *__restrict__ | dsdz, | ||
const T *__restrict__ | dtdz, | ||
const T *__restrict__ | jacinv | ||
) |
__global__ void const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ drdx |
Definition at line 247 of file lambda2_kernel.h.
Definition at line 250 of file lambda2_kernel.h.
Definition at line 253 of file lambda2_kernel.h.
__global__ void const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ dsdx |
Definition at line 248 of file lambda2_kernel.h.
Definition at line 251 of file lambda2_kernel.h.
Definition at line 254 of file lambda2_kernel.h.
Definition at line 249 of file lambda2_kernel.h.
Definition at line 252 of file lambda2_kernel.h.
Definition at line 255 of file lambda2_kernel.h.
__global__ void const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ dx |
Definition at line 244 of file lambda2_kernel.h.
__global__ void const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ dy |
Definition at line 245 of file lambda2_kernel.h.
__global__ void const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ dz |
Definition at line 246 of file lambda2_kernel.h.
const int e = blockIdx.x |
Definition at line 266 of file lambda2_kernel.h.
const int i = threadIdx.x |
Definition at line 268 of file lambda2_kernel.h.
Definition at line 267 of file lambda2_kernel.h.
Definition at line 256 of file lambda2_kernel.h.
Definition at line 276 of file lambda2_kernel.h.
Definition at line 277 of file lambda2_kernel.h.
Definition at line 278 of file lambda2_kernel.h.
Definition at line 262 of file lambda2_kernel.h.
Definition at line 263 of file lambda2_kernel.h.
Definition at line 264 of file lambda2_kernel.h.
__shared__ T shv[LX *LX] |
Definition at line 259 of file lambda2_kernel.h.
__shared__ T shw[LX *LX] |
Definition at line 260 of file lambda2_kernel.h.
Definition at line 241 of file lambda2_kernel.h.
Definition at line 242 of file lambda2_kernel.h.
Definition at line 243 of file lambda2_kernel.h.