|
Neko 1.99.11
A portable framework for high-order spectral element flow simulations
|


Go to the source code of this file.
Classes | |
| struct | opgrad_mfma_dispatch< T, LX, NWF, TILE > |
Functions | |
| template<typename T, const int LX, const int CHUNKS> | |
| __global__ void | opgrad_kernel_1d (T *__restrict__ ux, T *__restrict__ uy, T *__restrict__ uz, const T *__restrict__ u, 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__ w3) |
| template<typename T, const int LX, const int EB> | |
| __global__ void | __launch_bounds__ ((LX *LX *EB)) opgrad_kernel_kstep(T *__restrict__ ux |
| if (eb==0) | |
| for (int k=0;k< LX;++k) | |
| __syncthreads () | |
| template<typename T, const int LX, const int NWF, const int TILE> | |
| __global__ void | __launch_bounds__ (64 *NWF) opgrad_kernel_mfma(T *__restrict__ ux |
Variables | |
| __global__ void T *__restrict__ | uy |
| __global__ void T *__restrict__ T *__restrict__ | uz |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ | u |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ | dx |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ | dy |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ | dz |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ | drdx |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ | dsdx |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ | dtdx |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ | drdy |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ | dsdy |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ | dtdy |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ | drdz |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ | dsdz |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ | dtdz |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ | w3 |
| __global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const int | nelv |
| __shared__ T | shdx [LX *LX] |
| __shared__ T | shdy [LX *LX] |
| __shared__ T | shdz [LX *LX] |
| const int | eb = (EB == 1) ? 0 : threadIdx.z |
| const int | e_blk = blockIdx.x * EB + eb |
| const bool | active = (EB == 1) ? true : (e_blk < nelv) |
| const int | e = active ? e_blk : (nelv - 1) |
| const int | j = threadIdx.y |
| const int | i = threadIdx.x |
| const int | ij = i + j * LX |
| const int | sh = eb * LX * LX |
| const int | ele = e*LX*LX*LX |
| T | ru [LX] |
| __global__ void __launch_bounds__ | ( | (LX *LX *EB) | ) |
| __global__ void __launch_bounds__ | ( | 64 * | NWF | ) |

| __syncthreads | ( | ) |
| for | ( | ) |
Definition at line 183 of file opgrad_kernel.h.
| if | ( | eb | = = 0 | ) |
Definition at line 174 of file opgrad_kernel.h.
| __global__ void opgrad_kernel_1d | ( | T *__restrict__ | ux, |
| T *__restrict__ | uy, | ||
| T *__restrict__ | uz, | ||
| const T *__restrict__ | u, | ||
| 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__ | w3 ) |
Device kernel for convective terms
Definition at line 47 of file opgrad_kernel.h.

Definition at line 166 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ drdx |
Definition at line 137 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ drdy |
Definition at line 140 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ drdz |
Definition at line 143 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ dsdx |
Definition at line 138 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ dsdy |
Definition at line 141 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ dsdz |
Definition at line 144 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ dtdx |
Definition at line 139 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ dtdy |
Definition at line 142 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ dtdz |
Definition at line 145 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ dx |
Definition at line 134 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ dy |
Definition at line 135 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ dz |
Definition at line 136 of file opgrad_kernel.h.
Definition at line 167 of file opgrad_kernel.h.
| const int e_blk = blockIdx.x * EB + eb |
Definition at line 165 of file opgrad_kernel.h.
| const int eb = (EB == 1) ? 0 : threadIdx.z |
Definition at line 164 of file opgrad_kernel.h.
| const int ele = e*LX*LX*LX |
Definition at line 172 of file opgrad_kernel.h.
| const int i = threadIdx.x |
Definition at line 169 of file opgrad_kernel.h.
Definition at line 170 of file opgrad_kernel.h.
| const int j = threadIdx.y |
Definition at line 168 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const int nelv |
Definition at line 147 of file opgrad_kernel.h.
| T ru[LX] |
Definition at line 180 of file opgrad_kernel.h.
| const int sh = eb * LX * LX |
Definition at line 171 of file opgrad_kernel.h.
| __shared__ T shdx[LX *LX] |
Definition at line 153 of file opgrad_kernel.h.
| __shared__ T shdy[LX *LX] |
Definition at line 154 of file opgrad_kernel.h.
| __shared__ T shdz[LX *LX] |
Definition at line 155 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ u |
Definition at line 133 of file opgrad_kernel.h.
| __global__ void T* __restrict__ uy |
Definition at line 131 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ uz |
Definition at line 132 of file opgrad_kernel.h.
| __global__ void T* __restrict__ T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ const T* __restrict__ w3 |
Definition at line 146 of file opgrad_kernel.h.