Neko  0.9.0
A portable framework for high-order spectral element flow simulations
fusedcg_aux.hip File Reference
#include <hip/hip_runtime.h>
#include "fusedcg_kernel.h"
#include <device/device_config.h>
#include <device/hip/check.h>
#include <math/bcknd/device/device_mpi_reduce.h>
#include <math/bcknd/device/device_mpi_op.h>
Include dependency graph for fusedcg_aux.hip:

Go to the source code of this file.

Functions

void hip_fusedcg_update_p (void *p, void *z, void *po, real *beta, int *n)
 
void hip_fusedcg_update_x (void *x, void *p, void *alpha, int *p_cur, int *n)
 
real hip_fusedcg_part2 (void *a, void *b, void *c, void *alpha_d, real *alpha, int *p_cur, int *n)
 

Variables

realfusedcg_buf = NULL
 
realfusedcg_buf_d = NULL
 
int fusedcg_buf_len = 0
 

Function Documentation

◆ hip_fusedcg_part2()

real hip_fusedcg_part2 ( void *  a,
void *  b,
void *  c,
void *  alpha_d,
real alpha,
int *  p_cur,
int *  n 
)

Definition at line 81 of file fusedcg_aux.hip.

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

◆ hip_fusedcg_update_p()

void hip_fusedcg_update_p ( void *  p,
void *  z,
void *  po,
real beta,
int *  n 
)

Definition at line 54 of file fusedcg_aux.hip.

Here is the caller graph for this function:

◆ hip_fusedcg_update_x()

void hip_fusedcg_update_x ( void *  x,
void *  p,
void *  alpha,
int *  p_cur,
int *  n 
)

Definition at line 67 of file fusedcg_aux.hip.

Here is the caller graph for this function:

Variable Documentation

◆ fusedcg_buf

real* fusedcg_buf = NULL
Todo:
Make sure that this gets deleted at some point...

Definition at line 43 of file fusedcg_aux.hip.

◆ fusedcg_buf_d

real* fusedcg_buf_d = NULL

Definition at line 44 of file fusedcg_aux.hip.

◆ fusedcg_buf_len

int fusedcg_buf_len = 0

Definition at line 45 of file fusedcg_aux.hip.