9.2
general documentation
cs_gradient_hip.cpp File Reference
#include "base/cs_defs.h"
#include <assert.h>
#include <errno.h>
#include <float.h>
#include <math.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <mpi.h>
#include "hip/hip_runtime.h"
#include <hip/hip_runtime_api.h>
#include "bft/bft_error.h"
#include "base/cs_base_accel.h"
#include "base/cs_base_hip.h"
#include "alge/cs_blas.h"
#include "alge/cs_cell_to_vertex.h"
#include "base/cs_ext_neighborhood.h"
#include "base/cs_halo.h"
#include "base/cs_halo_perio.h"
#include "base/cs_log.h"
#include "base/cs_math_hip.h"
#include "base/cs_mem.h"
#include "mesh/cs_mesh.h"
#include "mesh/cs_mesh_adjacencies.h"
#include "mesh/cs_mesh_quantities.h"
#include "base/cs_parall.h"
#include "base/cs_timer.h"
#include "alge/cs_gradient.h"
#include "alge/cs_gradient_priv.h"
+ Include dependency graph for cs_gradient_hip.cpp:

Functions

void cs_gradient_scalar_lsq_hip (const cs_mesh_t *m, const cs_mesh_quantities_t *fvq, cs_halo_type_t halo_type, const cs_real_t val_f[], const cs_real_t *pvar, const cs_real_t *restrict c_weight, cs_cocg_6_t *restrict cocg, cs_real_3_t *restrict grad)
 
template<cs_lnum_t stride>
void cs_gradient_strided_lsq_hip (const cs_mesh_t *m, const cs_mesh_adjacencies_t *madj, const cs_mesh_quantities_t *fvq, const cs_halo_type_t halo_type, const cs_real_t val_f[][stride], const cs_real_t pvar[][stride], const cs_real_t *c_weight, cs_cocg_6_t *cocg, cs_real_t grad[][stride][3])
 
 INSTANTIATE_LSQ (cs_gradient_strided_lsq_hip, 3)
 
 INSTANTIATE_LSQ (cs_gradient_strided_lsq_hip, 6)
 
template<cs_lnum_t stride>
void cs_gradient_strided_gg_r_hip (const cs_mesh_t *m, const cs_mesh_adjacencies_t *madj, const cs_mesh_quantities_t *fvq, cs_halo_type_t halo_type, bool warped_correction, const cs_real_t val_f[][stride], const cs_real_t pvar[][stride], const cs_real_t *c_weight, const cs_real_t r_grad[][stride][3], cs_real_t grad[][stride][3])
 
 INSTANTIATE_GG_R (cs_gradient_strided_gg_r_hip, 1)
 
 INSTANTIATE_GG_R (cs_gradient_strided_gg_r_hip, 3)
 
 INSTANTIATE_GG_R (cs_gradient_strided_gg_r_hip, 6)
 

Function Documentation

◆ cs_gradient_scalar_lsq_hip()

void cs_gradient_scalar_lsq_hip ( const cs_mesh_t m,
const cs_mesh_quantities_t fvq,
cs_halo_type_t  halo_type,
const cs_real_t  val_f[],
const cs_real_t pvar,
const cs_real_t *restrict  c_weight,
cs_cocg_6_t *restrict  cocg,
cs_real_3_t *restrict  grad 
)

◆ cs_gradient_strided_gg_r_hip()

void cs_gradient_strided_gg_r_hip ( const cs_mesh_t m,
const cs_mesh_adjacencies_t madj,
const cs_mesh_quantities_t fvq,
cs_halo_type_t  halo_type,
bool  warped_correction,
const cs_real_t  val_f[][stride],
const cs_real_t  pvar[][stride],
const cs_real_t c_weight,
const cs_real_t  r_grad[][stride][3],
cs_real_t  grad[][stride][3] 
)

◆ cs_gradient_strided_lsq_hip()

void cs_gradient_strided_lsq_hip ( const cs_mesh_t m,
const cs_mesh_adjacencies_t madj,
const cs_mesh_quantities_t fvq,
const cs_halo_type_t  halo_type,
const cs_real_t  val_f[][stride],
const cs_real_t  pvar[][stride],
const cs_real_t c_weight,
cs_cocg_6_t *  cocg,
cs_real_t  grad[][stride][3] 
)

◆ INSTANTIATE_GG_R() [1/3]

INSTANTIATE_GG_R ( cs_gradient_strided_gg_r_hip  ,
 
)

◆ INSTANTIATE_GG_R() [2/3]

INSTANTIATE_GG_R ( cs_gradient_strided_gg_r_hip  ,
 
)

◆ INSTANTIATE_GG_R() [3/3]

INSTANTIATE_GG_R ( cs_gradient_strided_gg_r_hip  ,
 
)

◆ INSTANTIATE_LSQ() [1/2]

INSTANTIATE_LSQ ( cs_gradient_strided_lsq_hip  ,
 
)

◆ INSTANTIATE_LSQ() [2/2]

INSTANTIATE_LSQ ( cs_gradient_strided_lsq_hip  ,
 
)