| 
    Neko 1.99.1
    
   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 | cfl_reduce_warp (T val) | 
| template<typename T > | |
| __global__ void | cfl_reduce_kernel (T *bufred, const int n) | 
| template<typename T , const int LX, const int CHUNKS> | |
| __global__ void | cfl_kernel (const T dt, const T *__restrict__ u, const T *__restrict__ v, const T *__restrict__ w, 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__ dr_inv, const T *__restrict__ ds_inv, const T *__restrict__ dt_inv, const T *__restrict__ jacinv, T *__restrict__ cfl_h) | 
| __global__ void cfl_kernel | ( | const T | dt, | 
| const T *__restrict__ | u, | ||
| const T *__restrict__ | v, | ||
| const T *__restrict__ | w, | ||
| 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__ | dr_inv, | ||
| const T *__restrict__ | ds_inv, | ||
| const T *__restrict__ | dt_inv, | ||
| const T *__restrict__ | jacinv, | ||
| T *__restrict__ | cfl_h | ||
| ) | 
Device kernel for CFL
Definition at line 87 of file cfl_kernel.h.


CFL reduction kernel
Definition at line 55 of file cfl_kernel.h.

| __inline__ __device__ T cfl_reduce_warp | ( | T | val | ) | 
Warp shuffle reduction
Definition at line 42 of file cfl_kernel.h.
