Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
#include <hip/hip_runtime.h>
#include <climits>
#include <cstdio>
#include <device/device_config.h>
#include <device/hip/check.h>
#include "gs_kernels.h"
Go to the source code of this file.
Macros | |
#define | GS_OP_ADD 1 |
#define | GS_OP_MUL 2 |
#define | GS_OP_MIN 3 |
#define | GS_OP_MAX 4 |
Functions | |
void | hip_gather_kernel (void *v, int *m, int *o, void *dg, void *u, int *n, void *gd, int *nb, void *b, void *bo, int *op, hipStream_t stream) |
void | hip_scatter_kernel (void *v, int *m, void *dg, void *u, int *n, void *gd, int *nb, void *b, void *bo, hipStream_t stream) |
void | hip_gs_pack (void *u_d, void *buf_d, void *dof_d, int offset, int n, hipStream_t stream) |
void | hip_gs_unpack (real *u_d, int op, real *buf_d, int *dof_d, int offset, int n, hipStream_t stream) |