Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
schwarz.cu File Reference
#include "schwarz_kernel.h"
#include <device/device_config.h>
#include <device/cuda/check.h>
#include <stdio.h>
Include dependency graph for schwarz.cu:

Go to the source code of this file.

Macros

#define CASE(NX)

Functions

void cuda_schwarz_extrude (void *arr1, int *l1, real *f1, void *arr2, int *l2, real *f2, int *nx, int *nel, cudaStream_t stream)
void cuda_schwarz_toext3d (void *a, void *b, int *nx, int *nel, cudaStream_t stream)
void cuda_schwarz_toreg3d (void *b, void *a, int *nx, int *nel, cudaStream_t stream)

Macro Definition Documentation

◆ CASE

#define CASE ( NX)
Value:
case NX: \
<<<nblcks, nthrds, 0, stream>>>((real *) arr1,* l1, * f1, \
(real *) arr2, *l2, *f2 ); \
CUDA_CHECK(cudaGetLastError()); \
break;
__global__ void schwarz_extrude_kernel(T *a1, const int l1, const T f1, T *a2, const int l2, const T f2)
double real

Function Documentation

◆ cuda_schwarz_extrude()

void cuda_schwarz_extrude ( void * arr1,
int * l1,
real * f1,
void * arr2,
int * l2,
real * f2,
int * nx,
int * nel,
cudaStream_t stream )

Fortran wrapper for device extrude

Definition at line 45 of file schwarz.cu.

Here is the caller graph for this function:

◆ cuda_schwarz_toext3d()

void cuda_schwarz_toext3d ( void * a,
void * b,
int * nx,
int * nel,
cudaStream_t stream )

Definition at line 82 of file schwarz.cu.

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

◆ cuda_schwarz_toreg3d()

void cuda_schwarz_toreg3d ( void * b,
void * a,
int * nx,
int * nel,
cudaStream_t stream )

Definition at line 92 of file schwarz.cu.

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