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

Go to the source code of this file.

Macros

#define CASE(NL)

Functions

void hip_fdm_do_fast (void *e, void *r, void *s, void *d, int *nl, int *nel, hipStream_t stream)

Macro Definition Documentation

◆ CASE

#define CASE ( NL)
Value:
case NL: \
hipLaunchKernelGGL(HIP_KERNEL_NAME(fdm_do_fast_kernel<real,NL>), \
nblcks, nthrds, 0, stream, \
(real *) e, (real *) r, \
(real *) s,(real *) d); \
HIP_CHECK(hipGetLastError()); \
break;
const int e
__global__ void fdm_do_fast_kernel(T *__restrict__ e, T *__restrict__ r, T *__restrict__ s, T *__restrict__ d)
Definition fdm_kernel.h:38
double real

Function Documentation

◆ hip_fdm_do_fast()

void hip_fdm_do_fast ( void * e,
void * r,
void * s,
void * d,
int * nl,
int * nel,
hipStream_t stream )

Fortran wrapper for tnsr3d

Definition at line 43 of file fdm.hip.