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

Public Member Functions

 magma_zapplyQ_m_data (magma_int_t nrgpu_, 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_, magmaDoubleComplex *E_, magma_int_t lde_, magmaDoubleComplex *V_, magma_int_t ldv_, magmaDoubleComplex *TAU_, magmaDoubleComplex *T_, magma_int_t ldt_)
 
 ~magma_zapplyQ_m_data ()
 

Data Fields

const magma_int_t nrgpu
 
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
 
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
 
pthread_barrier_t barrier
 

Private Member Functions

 magma_zapplyQ_m_data (magma_zapplyQ_m_data &data)
 

Detailed Description

Definition at line 35 of file zbulge_back_m.cpp.

Constructor & Destructor Documentation

magma_zapplyQ_m_data::magma_zapplyQ_m_data ( magma_int_t  nrgpu_,
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_,
magmaDoubleComplex *  E_,
magma_int_t  lde_,
magmaDoubleComplex *  V_,
magma_int_t  ldv_,
magmaDoubleComplex *  TAU_,
magmaDoubleComplex *  T_,
magma_int_t  ldt_ 
)
inline

Definition at line 39 of file zbulge_back_m.cpp.

References barrier, and threads_num.

43  :
44  nrgpu(nrgpu_),
45  threads_num(threads_num_),
46  n(n_),
47  ne(ne_),
48  n_gpu(n_gpu_),
49  nb(nb_),
50  Vblksiz(Vblksiz_),
51  E(E_),
52  lde(lde_),
53  V(V_),
54  ldv(ldv_),
55  TAU(TAU_),
56  T(T_),
57  ldt(ldt_)
58  {
59  magma_int_t count = threads_num;
60 
61  if(threads_num > 1)
62  --count;
63 
64  pthread_barrier_init(&barrier, NULL, count);
65  }
const magma_int_t n
magmaDoubleComplex *const TAU
const magma_int_t lde
const magma_int_t nb
magmaDoubleComplex *const E
int magma_int_t
Definition: magmablas.h:12
const magma_int_t threads_num
magmaDoubleComplex *const T
const magma_int_t ldv
const magma_int_t ne
const magma_int_t Vblksiz
magmaDoubleComplex *const V
pthread_barrier_t barrier
const magma_int_t nrgpu
const magma_int_t n_gpu
const magma_int_t ldt
magma_zapplyQ_m_data::~magma_zapplyQ_m_data ( )
inline

Definition at line 67 of file zbulge_back_m.cpp.

References barrier.

68  {
69  pthread_barrier_destroy(&barrier);
70  }
pthread_barrier_t barrier
magma_zapplyQ_m_data::magma_zapplyQ_m_data ( magma_zapplyQ_m_data data)
private

Field Documentation

pthread_barrier_t magma_zapplyQ_m_data::barrier

Definition at line 85 of file zbulge_back_m.cpp.

magmaDoubleComplex* const magma_zapplyQ_m_data::E

Definition at line 78 of file zbulge_back_m.cpp.

const magma_int_t magma_zapplyQ_m_data::lde

Definition at line 79 of file zbulge_back_m.cpp.

const magma_int_t magma_zapplyQ_m_data::ldt

Definition at line 84 of file zbulge_back_m.cpp.

const magma_int_t magma_zapplyQ_m_data::ldv

Definition at line 81 of file zbulge_back_m.cpp.

const magma_int_t magma_zapplyQ_m_data::n

Definition at line 73 of file zbulge_back_m.cpp.

const magma_int_t magma_zapplyQ_m_data::n_gpu

Definition at line 75 of file zbulge_back_m.cpp.

const magma_int_t magma_zapplyQ_m_data::nb

Definition at line 76 of file zbulge_back_m.cpp.

const magma_int_t magma_zapplyQ_m_data::ne

Definition at line 74 of file zbulge_back_m.cpp.

const magma_int_t magma_zapplyQ_m_data::nrgpu

Definition at line 71 of file zbulge_back_m.cpp.

magmaDoubleComplex* const magma_zapplyQ_m_data::T

Definition at line 83 of file zbulge_back_m.cpp.

magmaDoubleComplex* const magma_zapplyQ_m_data::TAU

Definition at line 82 of file zbulge_back_m.cpp.

const magma_int_t magma_zapplyQ_m_data::threads_num

Definition at line 72 of file zbulge_back_m.cpp.

magmaDoubleComplex* const magma_zapplyQ_m_data::V

Definition at line 80 of file zbulge_back_m.cpp.

const magma_int_t magma_zapplyQ_m_data::Vblksiz

Definition at line 77 of file zbulge_back_m.cpp.


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