Neko 1.99.1
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
local_interpolation.cu File Reference
#include <stdio.h>
#include <device/device_config.h>
#include <device/cuda/check.h>

Go to the source code of this file.

Macros

#define RST_CASE(LX)
 

Functions

template<typename T , typename xT , const int LX, const int CHUNKS>
__global__ void find_rst_legendre_kernel (T *__restrict__ rst, const T *pt_x, const T *pt_y, const T *pt_z, const T *x_hat, const T *y_hat, const T *z_hat, T *__restrict__ resx, T *__restrict__ resy, T *__restrict__ resz, const int *el_ids, const int n_pt, T tol, T *__restrict__ conv_pts)
 
void cuda_find_rst_legendre (void *rst, void *pt_x, void *pt_y, void *pt_z, void *x_hat, void *y_hat, void *z_hat, void *resx, void *resy, void *resz, int *lx, void *el_ids, int *n_pt, real *tol, void *conv_pts)
 

Macro Definition Documentation

◆ RST_CASE

#define RST_CASE (   LX)
Value:
case LX: \
<<<nblcks, nthrds, 0, stream>>> \
((real *) rst,(real *) pt_x, (real *) pt_y, (real *) pt_z, \
(real *) x_hat, (real *) y_hat, (real *) z_hat, \
(real *) resx, (real *) resy, (real *) resz, (int *) el_ids, \
*n_pt, *tol, (real *) conv_pts); \
break
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)
double real

Function Documentation

◆ cuda_find_rst_legendre()

void cuda_find_rst_legendre ( void rst,
void pt_x,
void pt_y,
void pt_z,
void x_hat,
void y_hat,
void z_hat,
void resx,
void resy,
void resz,
int lx,
void el_ids,
int n_pt,
real tol,
void conv_pts 
)

Fortran wrapper for generating geometric factors

Definition at line 398 of file local_interpolation.cu.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ find_rst_legendre_kernel()

template<typename T , typename xT , const int LX, const int CHUNKS>
__global__ void find_rst_legendre_kernel ( T *__restrict__  rst,
const T pt_x,
const T pt_y,
const T pt_z,
const T x_hat,
const T y_hat,
const T z_hat,
T *__restrict__  resx,
T *__restrict__  resy,
T *__restrict__  resz,
const int el_ids,
const int  n_pt,
T  tol,
T *__restrict__  conv_pts 
)

Device kernel for coef drst

Definition at line 43 of file local_interpolation.cu.

Here is the call graph for this function: