#include <hip/hip_runtime.h>
#include <device/device_config.h>
#include <device/hip/check.h>
#include "schwarz_kernel.h"
#include <stdio.h>
Go to the source code of this file.
|
| void | hip_schwarz_extrude (void *arr1, int *l1, real *f1, void *arr2, int *l2, real *f2, int *nx, int *nel, hipStream_t stream) |
| void | hip_schwarz_toext3d (void *a, void *b, int *nx, int *nel, hipStream_t stream) |
| void | hip_schwarz_toreg3d (void *b, void *a, int *nx, int *nel, hipStream_t stream) |
◆ CASE
Value: case NX: \
nblcks, nthrds, 0, stream, \
(
real *) arr1,* l1, * f1, \
(
real *) arr2, *l2, *f2); \
HIP_CHECK(hipGetLastError()); \
break;
__global__ void schwarz_extrude_kernel(T *a1, const int l1, const T f1, T *a2, const int l2, const T f2)
◆ hip_schwarz_extrude()
| void hip_schwarz_extrude |
( |
void * | arr1, |
|
|
int * | l1, |
|
|
real * | f1, |
|
|
void * | arr2, |
|
|
int * | l2, |
|
|
real * | f2, |
|
|
int * | nx, |
|
|
int * | nel, |
|
|
hipStream_t | stream ) |
Fortran wrapper for device extrude
Definition at line 45 of file schwarz.hip.
◆ hip_schwarz_toext3d()
| void hip_schwarz_toext3d |
( |
void * | a, |
|
|
void * | b, |
|
|
int * | nx, |
|
|
int * | nel, |
|
|
hipStream_t | stream ) |
◆ hip_schwarz_toreg3d()
| void hip_schwarz_toreg3d |
( |
void * | b, |
|
|
void * | a, |
|
|
int * | nx, |
|
|
int * | nel, |
|
|
hipStream_t | stream ) |