Neko  0.8.99
A portable framework for high-order spectral element flow simulations
pc_jacobi.cu File Reference
#include <stdio.h>
#include <device/device_config.h>
Include dependency graph for pc_jacobi.cu:

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 cuda_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:\
jacobi_kernel<real, N><<<blocks, threads, 0, stream>>>( \
(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
Definition: cdtp_kernel.h:112
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dyt
Definition: cdtp_kernel.h:111
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dxt
Definition: cdtp_kernel.h:110
double real
Definition: device_config.h:12

Function Documentation

◆ cuda_jacobi_update()

void cuda_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 101 of file pc_jacobi.cu.

◆ 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 39 of file pc_jacobi.cu.

Here is the caller graph for this function: