Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
pc_jacobi.hip File Reference
#include <hip/hip_runtime.h>
#include <device/hip/check.h>
#include <device/device_config.h>

Go to the source code of this file.

Macros

#define CASE(N)
 

Functions

template<typename T , const int LX>
__global__ void jacobi_kernel (T *__restrict__ du, const T *__restrict__ dxt, const T *__restrict__ dyt, const T *__restrict__ dzt, const T *__restrict__ G11, const T *__restrict__ G22, const T *__restrict__ G33, const T *__restrict__ G12, const T *__restrict__ G13, const T *__restrict__ G23, const int nel)
 
void hip_jacobi_update (void *d, void *dxt, void *dyt, void *dzt, void *G11, void *G22, void *G33, void *G12, void *G13, void *G23, int *nel, int *lxp)
 

Macro Definition Documentation

◆ CASE

#define CASE (   N)
Value:
case N:\
blocks, threads, 0, (hipStream_t) glb_cmd_queue,\
(real *) d,\
(real *) dxt, (real *) dyt, (real *) dzt,\
(real *) G11, (real *) G22, (real *) G33,\
(real *) G12, (real *) G13, (real *) G23,\
*nel);\
break
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dzt
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dyt
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dxt
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)
double real

Function Documentation

◆ hip_jacobi_update()

void hip_jacobi_update ( void d,
void dxt,
void dyt,
void dzt,
void G11,
void G22,
void G33,
void G12,
void G13,
void G23,
int nel,
int lxp 
)

Definition at line 106 of file pc_jacobi.hip.

Here is the call graph for this function:

◆ jacobi_kernel()

template<typename T , const int LX>
__global__ void jacobi_kernel ( T *__restrict__  du,
const T *__restrict__  dxt,
const T *__restrict__  dyt,
const T *__restrict__  dzt,
const T *__restrict__  G11,
const T *__restrict__  G22,
const T *__restrict__  G33,
const T *__restrict__  G12,
const T *__restrict__  G13,
const T *__restrict__  G23,
const int  nel 
)

Definition at line 40 of file pc_jacobi.hip.

Here is the call graph for this function: