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

Public Member Functions

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

Private Member Functions

 magma_dapplyQ_data (magma_dapplyQ_data &data)

Detailed Description

Definition at line 35 of file dbulge_back.cpp.

Constructor & Destructor Documentation

magma_dapplyQ_data::magma_dapplyQ_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_,
double *  E_,
magma_int_t  lde_,
double *  V_,
magma_int_t  ldv_,
double *  TAU_,
double *  T_,
magma_int_t  ldt_,
double *  dE_,
magma_int_t  ldde_ 

Definition at line 39 of file dbulge_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 ne
Definition: dbulge_back.cpp:75
const magma_int_t threads_num
Definition: dbulge_back.cpp:73
const magma_int_t nb
Definition: dbulge_back.cpp:77
int magma_int_t
Definition: magmablas.h:12
double *const TAU
Definition: dbulge_back.cpp:83
const magma_int_t Vblksiz
Definition: dbulge_back.cpp:78
double *const dE
Definition: dbulge_back.cpp:86
double *const T
Definition: dbulge_back.cpp:84
double *const V
Definition: dbulge_back.cpp:81
const magma_int_t n_gpu
Definition: dbulge_back.cpp:76
const magma_int_t ldv
Definition: dbulge_back.cpp:82
const magma_int_t ldt
Definition: dbulge_back.cpp:85
const magma_int_t ldde
Definition: dbulge_back.cpp:87
pthread_barrier_t barrier
Definition: dbulge_back.cpp:88
const magma_int_t lde
Definition: dbulge_back.cpp:80
double *const E
Definition: dbulge_back.cpp:79
const magma_int_t n
Definition: dbulge_back.cpp:74
magma_dapplyQ_data::~magma_dapplyQ_data ( )

Definition at line 68 of file dbulge_back.cpp.

References barrier.

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

Field Documentation

pthread_barrier_t magma_dapplyQ_data::barrier

Definition at line 88 of file dbulge_back.cpp.

double* const magma_dapplyQ_data::dE

Definition at line 86 of file dbulge_back.cpp.

double* const magma_dapplyQ_data::E

Definition at line 79 of file dbulge_back.cpp.

const magma_int_t magma_dapplyQ_data::ldde

Definition at line 87 of file dbulge_back.cpp.

const magma_int_t magma_dapplyQ_data::lde

Definition at line 80 of file dbulge_back.cpp.

const magma_int_t magma_dapplyQ_data::ldt

Definition at line 85 of file dbulge_back.cpp.

const magma_int_t magma_dapplyQ_data::ldv

Definition at line 82 of file dbulge_back.cpp.

const magma_int_t magma_dapplyQ_data::n

Definition at line 74 of file dbulge_back.cpp.

const magma_int_t magma_dapplyQ_data::n_gpu

Definition at line 76 of file dbulge_back.cpp.

const magma_int_t magma_dapplyQ_data::nb

Definition at line 77 of file dbulge_back.cpp.

const magma_int_t magma_dapplyQ_data::ne

Definition at line 75 of file dbulge_back.cpp.

double* const magma_dapplyQ_data::T

Definition at line 84 of file dbulge_back.cpp.

double* const magma_dapplyQ_data::TAU

Definition at line 83 of file dbulge_back.cpp.

const magma_int_t magma_dapplyQ_data::threads_num

Definition at line 73 of file dbulge_back.cpp.

double* const magma_dapplyQ_data::V

Definition at line 81 of file dbulge_back.cpp.

const magma_int_t magma_dapplyQ_data::Vblksiz

Definition at line 78 of file dbulge_back.cpp.

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