Neko 1.99.6
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
pipecg_aux.hip File Reference
#include <hip/hip_runtime.h>
#include <device/device_config.h>
#include <device/hip/check.h>
#include <device/hip/buffer.h>
#include "pipecg_kernel.h"

Go to the source code of this file.

Functions

void hip_cg_update_xp (void *x, void *p, void *u, void *alpha, void *beta, int *p_cur, int *p_space, int *n)
 
void hip_pipecg_vecops (void *p, void *q, void *r, void *s, void *u1, void *u2, void *w, void *z, void *ni, void *mi, real *alpha, real *beta, void *mult, real *reduction, int *n)
 

Variables

hip_buffer_t pipecg_buf = HIP_BUFFER_INIT
 

Function Documentation

◆ hip_cg_update_xp()

void hip_cg_update_xp ( void x,
void p,
void u,
void alpha,
void beta,
int p_cur,
int p_space,
int n 
)

Definition at line 50 of file pipecg_aux.hip.

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

◆ hip_pipecg_vecops()

void hip_pipecg_vecops ( void p,
void q,
void r,
void s,
void u1,
void u2,
void w,
void z,
void ni,
void mi,
real alpha,
real beta,
void mult,
real reduction,
int n 
)

Definition at line 63 of file pipecg_aux.hip.

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

Variable Documentation

◆ pipecg_buf

Reduction buffer, owned by the device layer and released on device teardown (hip_buffer_free_all in hip_finalize); the device side holds the three partial-reduction arrays back to back

Definition at line 46 of file pipecg_aux.hip.