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_capplyQ_data Class Reference

Public Member Functions

 magma_capplyQ_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_, magmaFloatComplex *E_, magma_int_t lde_, magmaFloatComplex *V_, magma_int_t ldv_, magmaFloatComplex *TAU_, magmaFloatComplex *T_, magma_int_t ldt_, magmaFloatComplex *dE_, magma_int_t ldde_)
 ~magma_capplyQ_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
magmaFloatComplex *const E
const magma_int_t lde
magmaFloatComplex *const V
const magma_int_t ldv
magmaFloatComplex *const TAU
magmaFloatComplex *const T
const magma_int_t ldt
magmaFloatComplex *const dE
const magma_int_t ldde
pthread_barrier_t barrier

Private Member Functions

 magma_capplyQ_data (magma_capplyQ_data &data)

Detailed Description

Definition at line 35 of file cbulge_back.cpp.

Constructor & Destructor Documentation

magma_capplyQ_data::magma_capplyQ_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_,
magmaFloatComplex *  E_,
magma_int_t  lde_,
magmaFloatComplex *  V_,
magma_int_t  ldv_,
magmaFloatComplex *  TAU_,
magmaFloatComplex *  T_,
magma_int_t  ldt_,
magmaFloatComplex *  dE_,
magma_int_t  ldde_ 

Definition at line 39 of file cbulge_back.cpp.

References barrier, and threads_num.

43  :
44  threads_num(threads_num_),
45  n(n_),
46  ne(ne_),
47  n_gpu(n_gpu_),
48  nb(nb_),
49  Vblksiz(Vblksiz_),
50  E(E_),
51  lde(lde_),
52  V(V_),
53  ldv(ldv_),
54  TAU(TAU_),
55  T(T_),
56  ldt(ldt_),
57  dE(dE_),
58  ldde(ldde_)
59  {
60  magma_int_t count = threads_num;
62  if(threads_num > 1)
63  --count;
65  pthread_barrier_init(&barrier, NULL, count);
66  }
const magma_int_t n
Definition: cbulge_back.cpp:74
const magma_int_t n_gpu
Definition: cbulge_back.cpp:76
const magma_int_t Vblksiz
Definition: cbulge_back.cpp:78
magmaFloatComplex *const E
Definition: cbulge_back.cpp:79
int magma_int_t
Definition: magmablas.h:12
const magma_int_t ldt
Definition: cbulge_back.cpp:85
const magma_int_t threads_num
Definition: cbulge_back.cpp:73
magmaFloatComplex *const TAU
Definition: cbulge_back.cpp:83
const magma_int_t nb
Definition: cbulge_back.cpp:77
const magma_int_t ldv
Definition: cbulge_back.cpp:82
const magma_int_t lde
Definition: cbulge_back.cpp:80
magmaFloatComplex *const V
Definition: cbulge_back.cpp:81
const magma_int_t ne
Definition: cbulge_back.cpp:75
magmaFloatComplex *const T
Definition: cbulge_back.cpp:84
magmaFloatComplex *const dE
Definition: cbulge_back.cpp:86
const magma_int_t ldde
Definition: cbulge_back.cpp:87
pthread_barrier_t barrier
Definition: cbulge_back.cpp:88
magma_capplyQ_data::~magma_capplyQ_data ( )

Definition at line 68 of file cbulge_back.cpp.

References barrier.

69  {
70  pthread_barrier_destroy(&barrier);
71  }
pthread_barrier_t barrier
Definition: cbulge_back.cpp:88
magma_capplyQ_data::magma_capplyQ_data ( magma_capplyQ_data data)

Field Documentation

pthread_barrier_t magma_capplyQ_data::barrier

Definition at line 88 of file cbulge_back.cpp.

magmaFloatComplex* const magma_capplyQ_data::dE

Definition at line 86 of file cbulge_back.cpp.

magmaFloatComplex* const magma_capplyQ_data::E

Definition at line 79 of file cbulge_back.cpp.

const magma_int_t magma_capplyQ_data::ldde

Definition at line 87 of file cbulge_back.cpp.

const magma_int_t magma_capplyQ_data::lde

Definition at line 80 of file cbulge_back.cpp.

const magma_int_t magma_capplyQ_data::ldt

Definition at line 85 of file cbulge_back.cpp.

const magma_int_t magma_capplyQ_data::ldv

Definition at line 82 of file cbulge_back.cpp.

const magma_int_t magma_capplyQ_data::n

Definition at line 74 of file cbulge_back.cpp.

const magma_int_t magma_capplyQ_data::n_gpu

Definition at line 76 of file cbulge_back.cpp.

const magma_int_t magma_capplyQ_data::nb

Definition at line 77 of file cbulge_back.cpp.

const magma_int_t magma_capplyQ_data::ne

Definition at line 75 of file cbulge_back.cpp.

magmaFloatComplex* const magma_capplyQ_data::T

Definition at line 84 of file cbulge_back.cpp.

magmaFloatComplex* const magma_capplyQ_data::TAU

Definition at line 83 of file cbulge_back.cpp.

const magma_int_t magma_capplyQ_data::threads_num

Definition at line 73 of file cbulge_back.cpp.

magmaFloatComplex* const magma_capplyQ_data::V

Definition at line 81 of file cbulge_back.cpp.

const magma_int_t magma_capplyQ_data::Vblksiz

Definition at line 78 of file cbulge_back.cpp.

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