MAGMA  magma-1.4.0
Matrix Algebra on GPU and Multicore Architectures
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
bulge_data Class Reference

Public Member Functions

 bulge_data (magma_int_t threads_num_, magma_int_t n_, magma_int_t nb_, magma_int_t nbtiles_, magma_int_t band_, magma_int_t grsiz_, magma_int_t Vblksiz_, magma_int_t wantz_, magmaDoubleComplex *A_, magma_int_t lda_, magmaDoubleComplex *V_, magma_int_t ldv_, magmaDoubleComplex *TAU_, magmaDoubleComplex *T_, magma_int_t ldt_, magma_int_t computeQ1_, magmaDoubleComplex *dQ1_, magma_int_t lddq1_, magmaDoubleComplex *dT1_, volatile magma_int_t *prog_)
 
 ~bulge_data ()
 

Data Fields

const magma_int_t threads_num
 
const magma_int_t n
 
const magma_int_t nb
 
const magma_int_t nbtiles
 
const magma_int_t band
 
const magma_int_t grsiz
 
const magma_int_t Vblksiz
 
const magma_int_t wantz
 
magmaDoubleComplex *const A
 
const magma_int_t lda
 
magmaDoubleComplex *const V
 
const magma_int_t ldv
 
magmaDoubleComplex *const TAU
 
magmaDoubleComplex *const T
 
const magma_int_t ldt
 
const magma_int_t computeQ1
 
magmaDoubleComplex *const dQ1
 
const magma_int_t lddq1
 
magmaDoubleComplex *const dT1
 
volatile magma_int_tprog
 
pthread_barrier_t barrier
 

Private Member Functions

 bulge_data (bulge_data &data)
 

Detailed Description

Definition at line 44 of file zhetrd_bhe2trc_v5.cpp.

Constructor & Destructor Documentation

bulge_data::bulge_data ( magma_int_t  threads_num_,
magma_int_t  n_,
magma_int_t  nb_,
magma_int_t  nbtiles_,
magma_int_t  band_,
magma_int_t  grsiz_,
magma_int_t  Vblksiz_,
magma_int_t  wantz_,
magmaDoubleComplex *  A_,
magma_int_t  lda_,
magmaDoubleComplex *  V_,
magma_int_t  ldv_,
magmaDoubleComplex *  TAU_,
magmaDoubleComplex *  T_,
magma_int_t  ldt_,
magma_int_t  computeQ1_,
magmaDoubleComplex *  dQ1_,
magma_int_t  lddq1_,
magmaDoubleComplex *  dT1_,
volatile magma_int_t prog_ 
)
inline

Definition at line 48 of file zhetrd_bhe2trc_v5.cpp.

References barrier, computeQ1, threads_num, and wantz.

53  :
54  threads_num(threads_num_),
55  n(n_),
56  nb(nb_),
57  nbtiles(nbtiles_),
58  band(band_),
59  grsiz(grsiz_),
60  Vblksiz(Vblksiz_),
61  wantz(wantz_),
62  A(A_),
63  lda(lda_),
64  V(V_),
65  ldv(ldv_),
66  TAU(TAU_),
67  T(T_),
68  ldt(ldt_),
69  computeQ1(computeQ1_),
70  dQ1(dQ1_),
71  lddq1(lddq1_),
72  dT1(dT1_),
73  prog(prog_)
74  {
75  magma_int_t count = threads_num;
76 
77  if(wantz > 0 && threads_num > 1 && computeQ1 == 1)
78  --count;
79 
80  pthread_barrier_init(&barrier, NULL, count);
81  }
const magma_int_t nb
const magma_int_t lddq1
const magma_int_t ldv
magmaDoubleComplex *const dT1
int magma_int_t
Definition: magmablas.h:12
pthread_barrier_t barrier
magmaDoubleComplex *const TAU
const magma_int_t Vblksiz
const magma_int_t threads_num
const magma_int_t computeQ1
magmaDoubleComplex *const dQ1
const magma_int_t wantz
magmaDoubleComplex *const V
const magma_int_t lda
magmaDoubleComplex *const A
const magma_int_t band
const magma_int_t n
volatile magma_int_t * prog
const magma_int_t nbtiles
magmaDoubleComplex *const T
const magma_int_t ldt
const magma_int_t grsiz
bulge_data::~bulge_data ( )
inline

Definition at line 83 of file zhetrd_bhe2trc_v5.cpp.

References barrier.

84  {
85  pthread_barrier_destroy(&barrier);
86  }
pthread_barrier_t barrier
bulge_data::bulge_data ( bulge_data data)
private

Field Documentation

magmaDoubleComplex* const bulge_data::A

Definition at line 96 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::band

Definition at line 92 of file zhetrd_bhe2trc_v5.cpp.

pthread_barrier_t bulge_data::barrier

Definition at line 108 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::computeQ1

Definition at line 103 of file zhetrd_bhe2trc_v5.cpp.

magmaDoubleComplex* const bulge_data::dQ1

Definition at line 104 of file zhetrd_bhe2trc_v5.cpp.

magmaDoubleComplex* const bulge_data::dT1

Definition at line 106 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::grsiz

Definition at line 93 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::lda

Definition at line 97 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::lddq1

Definition at line 105 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::ldt

Definition at line 102 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::ldv

Definition at line 99 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::n

Definition at line 89 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::nb

Definition at line 90 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::nbtiles

Definition at line 91 of file zhetrd_bhe2trc_v5.cpp.

volatile magma_int_t* bulge_data::prog

Definition at line 107 of file zhetrd_bhe2trc_v5.cpp.

magmaDoubleComplex* const bulge_data::T

Definition at line 101 of file zhetrd_bhe2trc_v5.cpp.

magmaDoubleComplex* const bulge_data::TAU

Definition at line 100 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::threads_num

Definition at line 88 of file zhetrd_bhe2trc_v5.cpp.

magmaDoubleComplex* const bulge_data::V

Definition at line 98 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::Vblksiz

Definition at line 94 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t bulge_data::wantz

Definition at line 95 of file zhetrd_bhe2trc_v5.cpp.


The documentation for this class was generated from the following file: