Skip to content

Commit

Permalink
移除不需要的函数
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-kan committed Mar 14, 2021
1 parent 1c68700 commit 6040e87
Show file tree
Hide file tree
Showing 34 changed files with 94 additions and 2,267 deletions.
1 change: 0 additions & 1 deletion include/hplai.hh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include "hplai_misc.hh"
#include "hplai_blas.hh"
#include "hplai_auxil.hh"
#include "hplai_gesv.hh"

#include "hplai_pauxil.hh"
#include "hplai_panel.hh"
Expand Down
3 changes: 0 additions & 3 deletions include/hplai_auxil.hh
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ extern "C"
const int,
HPLAI_T_AFLOAT *,
const int));
HPLAI_T_AFLOAT HPLAI_alamch
STDC_ARGS((
const HPL_T_MACH));

#ifdef __cplusplus
}
Expand Down
37 changes: 0 additions & 37 deletions include/hplai_gesv.hh

This file was deleted.

104 changes: 0 additions & 104 deletions include/hplai_grid.hh

This file was deleted.

2 changes: 1 addition & 1 deletion include/hplai_panel.hh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* ---------------------------------------------------------------------
*/
#include "hplai_misc.hh"
#include "hplai_grid.hh"

#include "hplai_pfact.hh"

#ifdef __cplusplus
Expand Down
26 changes: 1 addition & 25 deletions include/hplai_pauxil.hh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "hplai_misc.hh"
#include "hplai_auxil.hh"

#include "hplai_grid.hh"


#ifdef __cplusplus
extern "C"
Expand Down Expand Up @@ -178,30 +178,6 @@ extern "C"

#define HPLAI_pabort HPL_pabort
#define HPLAI_pwarn HPL_pwarn
void HPLAI_palaprnt
STDC_ARGS((
const HPLAI_T_grid *,
const int,
const int,
const int,
HPLAI_T_AFLOAT *,
const int,
const int,
const int,
const char *));
HPLAI_T_AFLOAT HPLAI_palamch
STDC_ARGS((
MPI_Comm,
const HPLAI_T_MACH));
HPLAI_T_AFLOAT HPLAI_palange
STDC_ARGS((
const HPLAI_T_grid *,
const HPLAI_T_NORM,
const int,
const int,
const int,
const HPLAI_T_AFLOAT *,
const int));

#ifdef __cplusplus
}
Expand Down
14 changes: 7 additions & 7 deletions include/hplai_pgesv.hh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "hplai_blas.hh"
#include "hplai_auxil.hh"

#include "hplai_grid.hh"

#include "hplai_comm.hh"
#include "hplai_panel.hh"
#include "hplai_pfact.hh"
Expand Down Expand Up @@ -192,34 +192,34 @@ extern "C"

void HPLAI_pdgesv
STDC_ARGS((
HPLAI_T_grid *,
HPL_T_grid *,
HPLAI_T_palg *,
HPL_T_pmat *));

void HPLAI_pagesv0
STDC_ARGS((
HPLAI_T_grid *,
HPL_T_grid *,
HPLAI_T_palg *,
HPLAI_T_pmat *));
void HPLAI_pagesvK1
STDC_ARGS((
HPLAI_T_grid *,
HPL_T_grid *,
HPLAI_T_palg *,
HPLAI_T_pmat *));
void HPLAI_pagesvK2
STDC_ARGS((
HPLAI_T_grid *,
HPL_T_grid *,
HPLAI_T_palg *,
HPLAI_T_pmat *));
void HPLAI_pagesv
STDC_ARGS((
HPLAI_T_grid *,
HPL_T_grid *,
HPLAI_T_palg *,
HPLAI_T_pmat *));

void HPLAI_patrsv
STDC_ARGS((
HPLAI_T_grid *,
HPL_T_grid *,
HPLAI_T_pmat *));

#ifdef __cplusplus
Expand Down
4 changes: 2 additions & 2 deletions include/hplai_ptest.hh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ extern "C"
int *,
int *,
int *,
HPLAI_T_ORDER *,
HPL_T_ORDER *,
int *,
int *,
int *,
Expand All @@ -104,7 +104,7 @@ extern "C"
void HPLAI_pdtest
STDC_ARGS((
HPLAI_T_test *,
HPLAI_T_grid *,
HPL_T_grid *,
HPLAI_T_palg *,
const int,
const int));
Expand Down
6 changes: 1 addition & 5 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@ AM_CPPFLAGS = -I$(top_srcdir)/../include
lib_LIBRARIES = libhpl.a libhplai.a

libhplai_a_SOURCES = \
auxil/HPLAI_alatcpy.cc auxil/HPLAI_alacpy.cc auxil/HPLAI_alamch.cc \
auxil/HPLAI_alatcpy.cc auxil/HPLAI_alacpy.cc \
blas/HPLAI_blas.cc \
comm/HPLAI_sdrv.cc comm/HPLAI_send.cc comm/HPLAI_recv.cc comm/HPLAI_bcast.cc \
comm/HPLAI_binit.cc comm/HPLAI_bwait.cc comm/HPLAI_blong.cc comm/HPLAI_1ring.cc \
comm/HPLAI_1rinM.cc comm/HPLAI_2rinM.cc comm/HPLAI_2ring.cc comm/HPLAI_blonM.cc comm/HPLAI_packL.cc \
comm/HPLAI_copyL.cc \
grid/HPLAI_reduce_AFLOAT.cc grid/HPLAI_sum_AFLOAT.cc \
grid/HPLAI_all_reduce_AFLOAT.cc grid/HPLAI_broadcast_AFLOAT.cc grid/HPLAI_max_AFLOAT.cc \
grid/HPLAI_min_AFLOAT.cc \
panel/HPLAI_papanel_disp.cc panel/HPLAI_papanel_free.cc panel/HPLAI_papanel_init.cc panel/HPLAI_papanel_new.cc \
pauxil/HPL_indxl2g.c pauxil/HPL_indxg2lp.c \
pauxil/HPLAI_palamch.cc pauxil/HPLAI_palange.cc \
pauxil/HPLAI_alaswp00N.cc pauxil/HPLAI_alaswp01N.cc pauxil/HPLAI_alaswp01T.cc \
pauxil/HPLAI_alaswp02N.cc pauxil/HPLAI_alaswp03N.cc pauxil/HPLAI_alaswp03T.cc \
pauxil/HPLAI_alaswp04N.cc pauxil/HPLAI_alaswp04T.cc pauxil/HPLAI_alaswp05N.cc \
Expand Down
Loading

0 comments on commit 6040e87

Please sign in to comment.