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

Go to the source code of this file.
Functions | |
| template<typename T> | |
| __global__ void | gather_kernel_add (T *__restrict__ v, const int m, const int o, const int *__restrict__ dg, const T *__restrict__ u, const int n, const int *__restrict__ gd, const int nb, const int *__restrict__ b, const int *__restrict__ bo) |
| template<typename T> | |
| __global__ void | gather_kernel_mul (T *__restrict__ v, const int m, const int o, const int *__restrict__ dg, const T *__restrict__ u, const int n, const int *__restrict__ gd, const int nb, const int *__restrict__ b, const int *__restrict__ bo) |
| template<typename T> | |
| __global__ void | gather_kernel_min (T *__restrict__ v, const int m, const int o, const int *__restrict__ dg, const T *__restrict__ u, const int n, const int *__restrict__ gd, const int nb, const int *__restrict__ b, const int *__restrict__ bo) |
| template<typename T> | |
| __global__ void | gather_kernel_max (T *__restrict__ v, const int m, const int o, const int *__restrict__ dg, const T *__restrict__ u, const int n, const int *__restrict__ gd, const int nb, const int *__restrict__ b, const int *__restrict__ bo) |
| template<typename T> | |
| __global__ void | scatter_kernel (T *__restrict__ v, const int m, const int *__restrict__ dg, T *__restrict__ u, const int n, const int *__restrict__ gd, const int nb, const int *__restrict__ b, const int *__restrict__ bo) |
| template<typename T> | |
| __global__ void | gs_pack_kernel (const T *__restrict__ u, T *__restrict__ buf, const int32_t *__restrict__ dof, const int n) |
| template<typename T> | |
| __global__ void | gs_unpack_add_kernel (T *__restrict__ u, const T *__restrict__ buf, const int32_t *__restrict__ dof, const int n) |
| template<typename T> | |
| __device__ T | atomicMinFloat (T *address, T val) |
| template<> | |
| __device__ float | atomicMinFloat< float > (float *address, float val) |
| template<> | |
| __device__ double | atomicMinFloat< double > (double *address, double val) |
| template<typename T> | |
| __global__ void | gs_unpack_min_kernel (T *__restrict__ u, const T *__restrict__ buf, const int32_t *__restrict__ dof, const int n) |
| template<typename T> | |
| __device__ T | atomicMaxFloat (T *address, T val) |
| template<> | |
| __device__ float | atomicMaxFloat< float > (float *address, float val) |
| template<> | |
| __device__ double | atomicMaxFloat< double > (double *address, double val) |
| template<typename T> | |
| __global__ void | gs_unpack_max_kernel (T *__restrict__ u, const T *__restrict__ buf, const int32_t *__restrict__ dof, const int n) |
| template<typename T> | |
| __global__ void | gs_pack_vec_kernel (const T *__restrict__ u, T *__restrict__ buf, const int32_t *__restrict__ dof, const int n, const int nc, const int ns) |
| template<typename T> | |
| __global__ void | gs_unpack_add_vec_kernel (T *__restrict__ u, const T *__restrict__ buf, const int32_t *__restrict__ dof, const int n, const int nc, const int ns) |
| template<typename T> | |
| __global__ void | gs_unpack_min_vec_kernel (T *__restrict__ u, const T *__restrict__ buf, const int32_t *__restrict__ dof, const int n, const int nc, const int ns) |
| template<typename T> | |
| __global__ void | gs_unpack_max_vec_kernel (T *__restrict__ u, const T *__restrict__ buf, const int32_t *__restrict__ dof, const int n, const int nc, const int ns) |
| __device__ T atomicMaxFloat | ( | T * | address, |
| T | val ) |

|
inline |
Definition at line 351 of file gs_kernels.h.
|
inline |
Definition at line 343 of file gs_kernels.h.
| __device__ T atomicMinFloat | ( | T * | address, |
| T | val ) |

|
inline |
Definition at line 305 of file gs_kernels.h.
|
inline |
Definition at line 296 of file gs_kernels.h.
| __global__ void gather_kernel_add | ( | T *__restrict__ | v, |
| const int | m, | ||
| const int | o, | ||
| const int *__restrict__ | dg, | ||
| const T *__restrict__ | u, | ||
| const int | n, | ||
| const int *__restrict__ | gd, | ||
| const int | nb, | ||
| const int *__restrict__ | b, | ||
| const int *__restrict__ | bo ) |
Device gather kernel for addition of data \( v(dg(i)) = v(dg(i)) + u(gd(i)) \)
Definition at line 43 of file gs_kernels.h.

| __global__ void gather_kernel_max | ( | T *__restrict__ | v, |
| const int | m, | ||
| const int | o, | ||
| const int *__restrict__ | dg, | ||
| const T *__restrict__ | u, | ||
| const int | n, | ||
| const int *__restrict__ | gd, | ||
| const int | nb, | ||
| const int *__restrict__ | b, | ||
| const int *__restrict__ | bo ) |
Device gather kernel for maximum of data \( v(dg(i)) = \max(v(dg(i)), u(gd(i))) \)
Definition at line 178 of file gs_kernels.h.

| __global__ void gather_kernel_min | ( | T *__restrict__ | v, |
| const int | m, | ||
| const int | o, | ||
| const int *__restrict__ | dg, | ||
| const T *__restrict__ | u, | ||
| const int | n, | ||
| const int *__restrict__ | gd, | ||
| const int | nb, | ||
| const int *__restrict__ | b, | ||
| const int *__restrict__ | bo ) |
Device gather kernel for minimum of data \( v(dg(i)) = \min(v(dg(i)), u(gd(i))) \)
Definition at line 133 of file gs_kernels.h.

| __global__ void gather_kernel_mul | ( | T *__restrict__ | v, |
| const int | m, | ||
| const int | o, | ||
| const int *__restrict__ | dg, | ||
| const T *__restrict__ | u, | ||
| const int | n, | ||
| const int *__restrict__ | gd, | ||
| const int | nb, | ||
| const int *__restrict__ | b, | ||
| const int *__restrict__ | bo ) |
Device gather kernel for multiplication of data \( v(dg(i)) = v(dg(i)) \cdot u(gd(i)) \)
Definition at line 88 of file gs_kernels.h.

| __global__ void gs_pack_kernel | ( | const T *__restrict__ | u, |
| T *__restrict__ | buf, | ||
| const int32_t *__restrict__ | dof, | ||
| const int | n ) |
| __global__ void gs_pack_vec_kernel | ( | const T *__restrict__ | u, |
| T *__restrict__ | buf, | ||
| const int32_t *__restrict__ | dof, | ||
| const int | n, | ||
| const int | nc, | ||
| const int | ns ) |
| __global__ void gs_unpack_add_kernel | ( | T *__restrict__ | u, |
| const T *__restrict__ | buf, | ||
| const int32_t *__restrict__ | dof, | ||
| const int | n ) |
| __global__ void gs_unpack_add_vec_kernel | ( | T *__restrict__ | u, |
| const T *__restrict__ | buf, | ||
| const int32_t *__restrict__ | dof, | ||
| const int | n, | ||
| const int | nc, | ||
| const int | ns ) |
| __global__ void gs_unpack_max_kernel | ( | T *__restrict__ | u, |
| const T *__restrict__ | buf, | ||
| const int32_t *__restrict__ | dof, | ||
| const int | n ) |
Definition at line 363 of file gs_kernels.h.


| __global__ void gs_unpack_max_vec_kernel | ( | T *__restrict__ | u, |
| const T *__restrict__ | buf, | ||
| const int32_t *__restrict__ | dof, | ||
| const int | n, | ||
| const int | nc, | ||
| const int | ns ) |
Definition at line 455 of file gs_kernels.h.


| __global__ void gs_unpack_min_kernel | ( | T *__restrict__ | u, |
| const T *__restrict__ | buf, | ||
| const int32_t *__restrict__ | dof, | ||
| const int | n ) |
Definition at line 317 of file gs_kernels.h.


| __global__ void gs_unpack_min_vec_kernel | ( | T *__restrict__ | u, |
| const T *__restrict__ | buf, | ||
| const int32_t *__restrict__ | dof, | ||
| const int | n, | ||
| const int | nc, | ||
| const int | ns ) |
Definition at line 433 of file gs_kernels.h.


| __global__ void scatter_kernel | ( | T *__restrict__ | v, |
| const int | m, | ||
| const int *__restrict__ | dg, | ||
| T *__restrict__ | u, | ||
| const int | n, | ||
| const int *__restrict__ | gd, | ||
| const int | nb, | ||
| const int *__restrict__ | b, | ||
| const int *__restrict__ | bo ) |
Device scatter kernel \( u(gd(i) = v(dg(i)) \)
Definition at line 223 of file gs_kernels.h.
