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

Public Member Functions

 applyQ_data (magma_int_t threads_num_, magma_int_t n_, magma_int_t ne_, magma_int_t n_gpu_, magma_int_t nb_, magma_int_t Vblksiz_, magma_int_t wantz_, magmaDoubleComplex *E_, magma_int_t lde_, magmaDoubleComplex *V_, magma_int_t ldv_, magmaDoubleComplex *TAU_, magmaDoubleComplex *T_, magma_int_t ldt_, magmaDoubleComplex *dE_, magma_int_t ldde_)
 
 ~applyQ_data ()
 

Data Fields

const magma_int_t threads_num
 
const magma_int_t n
 
const magma_int_t ne
 
const magma_int_t n_gpu
 
const magma_int_t nb
 
const magma_int_t Vblksiz
 
const magma_int_t wantz
 
magmaDoubleComplex *const E
 
const magma_int_t lde
 
magmaDoubleComplex *const V
 
const magma_int_t ldv
 
magmaDoubleComplex *const TAU
 
magmaDoubleComplex *const T
 
const magma_int_t ldt
 
magmaDoubleComplex *const dE
 
const magma_int_t ldde
 
pthread_barrier_t barrier
 

Private Member Functions

 applyQ_data (applyQ_data &data)
 

Detailed Description

Definition at line 133 of file zhetrd_bhe2trc_v5.cpp.

Constructor & Destructor Documentation

applyQ_data::applyQ_data ( magma_int_t  threads_num_,
magma_int_t  n_,
magma_int_t  ne_,
magma_int_t  n_gpu_,
magma_int_t  nb_,
magma_int_t  Vblksiz_,
magma_int_t  wantz_,
magmaDoubleComplex *  E_,
magma_int_t  lde_,
magmaDoubleComplex *  V_,
magma_int_t  ldv_,
magmaDoubleComplex *  TAU_,
magmaDoubleComplex *  T_,
magma_int_t  ldt_,
magmaDoubleComplex *  dE_,
magma_int_t  ldde_ 
)
inline

Definition at line 137 of file zhetrd_bhe2trc_v5.cpp.

References barrier, and threads_num.

141  :
142  threads_num(threads_num_),
143  n(n_),
144  ne(ne_),
145  n_gpu(n_gpu_),
146  nb(nb_),
147  Vblksiz(Vblksiz_),
148  wantz(wantz_),
149  E(E_),
150  lde(lde_),
151  V(V_),
152  ldv(ldv_),
153  TAU(TAU_),
154  T(T_),
155  ldt(ldt_),
156  dE(dE_),
157  ldde(ldde_)
158  {
159  magma_int_t count = threads_num;
160 
161  if(threads_num > 1)
162  --count;
163 
164  pthread_barrier_init(&barrier, NULL, count);
165  }
magmaDoubleComplex *const E
const magma_int_t ldde
magmaDoubleComplex *const T
const magma_int_t lde
int magma_int_t
Definition: magmablas.h:12
const magma_int_t threads_num
pthread_barrier_t barrier
magmaDoubleComplex *const dE
const magma_int_t Vblksiz
const magma_int_t nb
const magma_int_t ldv
const magma_int_t n_gpu
magmaDoubleComplex *const V
const magma_int_t wantz
const magma_int_t ne
const magma_int_t ldt
const magma_int_t n
magmaDoubleComplex *const TAU
applyQ_data::~applyQ_data ( )
inline

Definition at line 167 of file zhetrd_bhe2trc_v5.cpp.

References barrier.

168  {
169  pthread_barrier_destroy(&barrier);
170  }
pthread_barrier_t barrier
applyQ_data::applyQ_data ( applyQ_data data)
private

Field Documentation

pthread_barrier_t applyQ_data::barrier

Definition at line 188 of file zhetrd_bhe2trc_v5.cpp.

magmaDoubleComplex* const applyQ_data::dE

Definition at line 186 of file zhetrd_bhe2trc_v5.cpp.

magmaDoubleComplex* const applyQ_data::E

Definition at line 179 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t applyQ_data::ldde

Definition at line 187 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t applyQ_data::lde

Definition at line 180 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t applyQ_data::ldt

Definition at line 185 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t applyQ_data::ldv

Definition at line 182 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t applyQ_data::n

Definition at line 173 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t applyQ_data::n_gpu

Definition at line 175 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t applyQ_data::nb

Definition at line 176 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t applyQ_data::ne

Definition at line 174 of file zhetrd_bhe2trc_v5.cpp.

magmaDoubleComplex* const applyQ_data::T

Definition at line 184 of file zhetrd_bhe2trc_v5.cpp.

magmaDoubleComplex* const applyQ_data::TAU

Definition at line 183 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t applyQ_data::threads_num

Definition at line 172 of file zhetrd_bhe2trc_v5.cpp.

magmaDoubleComplex* const applyQ_data::V

Definition at line 181 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t applyQ_data::Vblksiz

Definition at line 177 of file zhetrd_bhe2trc_v5.cpp.

const magma_int_t applyQ_data::wantz

Definition at line 178 of file zhetrd_bhe2trc_v5.cpp.


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