utd_util/uth_accel_intf.h File Reference

#include "../tmd_opencl/tmh_ocl.h"
#include "../tmd_opencl/tmh_ocl_num_int.h"
Include dependency graph for uth_accel_intf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int utr_create_assembly_structures_accel ()
int utr_free_assembly_structures_accel ()
int utr_get_solver_structures_crs_accel (int *nnz, cl_mem *crs_col_ind, cl_mem *crs_row_ptr, cl_mem *crs_val, cl_mem *rhs)
int utr_create_assemble_stiff_mat_elem_accel (int Problem_id, int Level_id, int Comp_type, int *Pdeg_coarse_p, int Nr_int_ent, int *L_int_ent_type, int *L_int_ent_id, int Nr_colors_elems, int *L_color_index_elems, int Nr_colors_accel, int *Asse_pos_first_dof_int_ent, int *Assembly_table, int *Pos_first_dof_int_ent, int *Local_to_global, int Max_dofs_int_ent)
int utr_merge_solver_structures_accel ()
void utr_prepare_geo_dat_for_all_color_streaming (int Problem_id, int Nr_colors_accel, int *L_color_index_elems, int *L_int_ent_id, int *Ngauss_p, SCALAR **Gauss_dat_host_p, int *Nshape_p, SCALAR **Shape_fun_dat_host_p, int *Ngeo_p, int **Ngeo_color_p, SCALAR **El_geo_dat_host_p, int *All_el_pde_coeff_size, int *One_el_pde_coeff_size, int *One_int_p_pde_coeff_size, SCALAR **El_pde_dat_host_p)
int utr_perform_creation_crs (int Problem_id, int Nr_int_ent, int *Asse_pos_first_dof_int_ent, int *Assembly_table, int *Pos_first_dof_int_ent, int *Local_to_global, int Max_dofs_int_ent)
int utr_prepare_final_crs ()
int utr_cleanup_crs ()
int utr_solve_viennacl_gpu (double *X)
int utr_send_geo_data_accel_test (int Problem_id, int Nr_geo, SCALAR *El_geo_dat_host_p)
int utr_cleanup_geo_data_accel_test (int Problem_id, int Nr_geo, SCALAR *El_geo_dat_host_p)
int utr_rewrite_geo_by_color_test (int Problem_id, int Nr_elems, int First_elem_in_color_index, int First_geo_in_color_index)
int utr_prepare_create_assemble_accel (int Problem_id, int Monitor)
int utr_perform_create_assemble_accel_for_color (int Problem_id, int Level_id, int Comp_type, int Nr_elems_this_color, int First_elem_in_color_index, int *L_elem_id_this_color, int *Asse_pos_first_dof_int_ent, int *Assembly_table, int *Pos_first_dof_int_ent, int *Local_to_global, int Ngauss, SCALAR *Gauss_dat_host, int Num_shap, SCALAR *Shape_fun_dat_host, int Num_geo_dofs, int El_geo_dat_position_for_color, SCALAR *Geo_dofs_global, int Num_dofs, SCALAR *U_n_dofs_global, SCALAR *U_k_dofs_global, int Size_global_pde_data_int, SCALAR *Global_pde_dat_host_int, int Size_global_pde_data_scalar, SCALAR *Global_pde_dat_host_scalar, int Size_per_element_pde_data_int, int *El_pde_dat_host_int, int Size_per_element_pde_data_scalar, SCALAR *El_pde_dat_host_scalar, int Max_dofs_int_ent)
int utr_create_solver_crs_accel (int Problem_id, int Nr_int_ent, int *Asse_pos_first_dof_int_ent, int *Assembly_table, int *Pos_first_dof_int_ent, int *Local_to_global, int Max_dofs_int_ent)
int utr_get_solver_crs_structure_accel (int Nrdof_glob, int nnz, int *crs_col_ind, int *crs_row_ptr, double *crs_val, double *rhs)
int utr_prepare_final_solver_crs_accel ()
int utr_cleanup_solver_crs_accel ()
int utr_send_geo_data_accel (int Problem_id, int Nr_elements, int Nr_geo, double *El_geo_dat_host_p)
int utr_cleanup_geo_data_accel (int Problem_id, int Nr_elements, int Nr_geo, double *El_geo_dat_host_p)
int utr_send_dofs_data_accel (int Problem_id, int Nr_dofs, double *El_dofs_dat_host_p)
int utr_cleanup_dofs_data_accel (int Problem_id, int Nr_dofs, double *El_dofs_dat_host_p)

Function Documentation

int utr_cleanup_crs (  ) 
int utr_cleanup_dofs_data_accel ( int  Problem_id,
int  Nr_dofs,
double *  El_dofs_dat_host_p 
)
int utr_cleanup_geo_data_accel ( int  Problem_id,
int  Nr_elements,
int  Nr_geo,
double *  El_geo_dat_host_p 
)
int utr_cleanup_geo_data_accel_test ( int  Problem_id,
int  Nr_geo,
SCALAR *  El_geo_dat_host_p 
)
int utr_cleanup_solver_crs_accel (  ) 
int utr_create_assemble_stiff_mat_elem_accel ( int  Problem_id,
int  Level_id,
int  Comp_type,
int *  Pdeg_coarse_p,
int  Nr_int_ent,
int *  L_int_ent_type,
int *  L_int_ent_id,
int  Nr_colors_elems,
int *  L_color_index_elems,
int  Nr_colors_accel,
int *  Asse_pos_first_dof_int_ent,
int *  Assembly_table,
int *  Pos_first_dof_int_ent,
int *  Local_to_global,
int  Max_dofs_int_ent 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int utr_create_assembly_structures_accel (  ) 

Constants

Here is the caller graph for this function:

int utr_create_solver_crs_accel ( int  Problem_id,
int  Nr_int_ent,
int *  Asse_pos_first_dof_int_ent,
int *  Assembly_table,
int *  Pos_first_dof_int_ent,
int *  Local_to_global,
int  Max_dofs_int_ent 
)
int utr_free_assembly_structures_accel (  ) 

Here is the call graph for this function:

int utr_get_solver_crs_structure_accel ( int  Nrdof_glob,
int  nnz,
int *  crs_col_ind,
int *  crs_row_ptr,
double *  crs_val,
double *  rhs 
)
int utr_get_solver_structures_crs_accel ( int *  nnz,
cl_mem *  crs_col_ind,
cl_mem *  crs_row_ptr,
cl_mem *  crs_val,
cl_mem *  rhs 
)

Here is the call graph for this function:

int utr_merge_solver_structures_accel (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int utr_perform_create_assemble_accel_for_color ( int  Problem_id,
int  Level_id,
int  Comp_type,
int  Nr_elems_this_color,
int  First_elem_in_color_index,
int *  L_elem_id_this_color,
int *  Asse_pos_first_dof_int_ent,
int *  Assembly_table,
int *  Pos_first_dof_int_ent,
int *  Local_to_global,
int  Ngauss,
SCALAR *  Gauss_dat_host,
int  Num_shap,
SCALAR *  Shape_fun_dat_host,
int  Num_geo_dofs,
int  El_geo_dat_position_for_color,
SCALAR *  Geo_dofs_global,
int  Num_dofs,
SCALAR *  U_n_dofs_global,
SCALAR *  U_k_dofs_global,
int  Size_global_pde_data_int,
SCALAR *  Global_pde_dat_host_int,
int  Size_global_pde_data_scalar,
SCALAR *  Global_pde_dat_host_scalar,
int  Size_per_element_pde_data_int,
int *  El_pde_dat_host_int,
int  Size_per_element_pde_data_scalar,
SCALAR *  El_pde_dat_host_scalar,
int  Max_dofs_int_ent 
)
int utr_perform_creation_crs ( int  Problem_id,
int  Nr_int_ent,
int *  Asse_pos_first_dof_int_ent,
int *  Assembly_table,
int *  Pos_first_dof_int_ent,
int *  Local_to_global,
int  Max_dofs_int_ent 
)
int utr_prepare_create_assemble_accel ( int  Problem_id,
int  Monitor 
)
int utr_prepare_final_crs (  ) 
int utr_prepare_final_solver_crs_accel (  ) 
void utr_prepare_geo_dat_for_all_color_streaming ( int  Problem_id,
int  Nr_colors_accel,
int *  L_color_index_elems,
int *  L_int_ent_id,
int *  Ngauss_p,
SCALAR **  Gauss_dat_host_p,
int *  Nshape_p,
SCALAR **  Shape_fun_dat_host_p,
int *  Ngeo_p,
int **  Ngeo_color_p,
SCALAR **  El_geo_dat_host_p,
int *  All_el_pde_coeff_size,
int *  One_el_pde_coeff_size,
int *  One_int_p_pde_coeff_size,
SCALAR **  El_pde_dat_host_p 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int utr_rewrite_geo_by_color_test ( int  Problem_id,
int  Nr_elems,
int  First_elem_in_color_index,
int  First_geo_in_color_index 
)
int utr_send_dofs_data_accel ( int  Problem_id,
int  Nr_dofs,
double *  El_dofs_dat_host_p 
)
int utr_send_geo_data_accel ( int  Problem_id,
int  Nr_elements,
int  Nr_geo,
double *  El_geo_dat_host_p 
)
int utr_send_geo_data_accel_test ( int  Problem_id,
int  Nr_geo,
SCALAR *  El_geo_dat_host_p 
)
int utr_solve_viennacl_gpu ( double *  X  ) 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1