Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
ax_helm_svv_factorized.hip File Reference
#include <stdio.h>
#include <stdlib.h>
#include <hip/hip_runtime.h>
#include <device/device_config.h>
#include <device/hip/check.h>
#include "ax_helm_svv_factorized_kernel.h"
Include dependency graph for ax_helm_svv_factorized.hip:

Go to the source code of this file.

Macros

#define LAUNCH(LX, PAD)
#define CASE(LX)
#define CASE_PADDED(LX)

Functions

void hip_ax_helm_svv_factorized (void *w, void *u, void *dx, void *dy, void *dz, void *h1, void *Br, void *Bs, void *Bt, void *h1_svv, void *g11, void *g22, void *g33, void *g12, void *g13, void *g23, int *nelv, int *lx)

Macro Definition Documentation

◆ CASE

#define CASE ( LX)
Value:
case LX: \
LAUNCH(LX, false); \
break

◆ CASE_PADDED

#define CASE_PADDED ( LX)
Value:
case LX: \
LAUNCH(LX, true); \
break

◆ LAUNCH

#define LAUNCH ( LX,
PAD )
Value:
hipLaunchKernelGGL( \
HIP_KERNEL_NAME(ax_helm_svv_factorized_kernel<real, LX, PAD>), \
blocks, threads, 0, stream, \
(real *) w, (real *) u, \
(real *) dx, (real *) dy, (real *) dz, (real *) h1, \
(real *) Br, (real *) Bs, (real *) Bt, (real *) h1_svv, \
(real *) g11, (real *) g22, (real *) g33, \
(real *) g12, (real *) g13, (real *) g23); \
HIP_CHECK(hipGetLastError())
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ g23
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ g22
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ g13
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ w
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ g12
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dz
__global__ void const T *__restrict__ const T *__restrict__ dx
__global__ void const T *__restrict__ u
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ dy
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ g33
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ g11
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ h1
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ h1_svv
double real

Function Documentation

◆ hip_ax_helm_svv_factorized()

void hip_ax_helm_svv_factorized ( void * w,
void * u,
void * dx,
void * dy,
void * dz,
void * h1,
void * Br,
void * Bs,
void * Bt,
void * h1_svv,
void * g11,
void * g22,
void * g33,
void * g12,
void * g13,
void * g23,
int * nelv,
int * lx )

Fortran wrapper for the fused factorized SVV Helmholtz operator.

Definition at line 46 of file ax_helm_svv_factorized.hip.