Neko 1.99.10
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
pc_jacobi.cu File Reference
#include <stdio.h>
#include <stdlib.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__ dyt
__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__ dxt
double real
__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 pc_jacobi.cu:40

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 102 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 40 of file pc_jacobi.cu.

Here is the caller graph for this function: