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

Public Member Functions

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

Private Member Functions

 magma_sapplyQ_data (magma_sapplyQ_data &data)
 

Detailed Description

Definition at line 35 of file sbulge_back.cpp.

Constructor & Destructor Documentation

magma_sapplyQ_data::magma_sapplyQ_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_,
float *  E_,
magma_int_t  lde_,
float *  V_,
magma_int_t  ldv_,
float *  TAU_,
float *  T_,
magma_int_t  ldt_,
float *  dE_,
magma_int_t  ldde_ 
)
inline

Definition at line 39 of file sbulge_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;
61 
62  if(threads_num > 1)
63  --count;
64 
65  pthread_barrier_init(&barrier, NULL, count);
66  }
float *const E
Definition: sbulge_back.cpp:79
float *const T
Definition: sbulge_back.cpp:84
const magma_int_t ne
Definition: sbulge_back.cpp:75
const magma_int_t ldde
Definition: sbulge_back.cpp:87
const magma_int_t lde
Definition: sbulge_back.cpp:80
int magma_int_t
Definition: magmablas.h:12
pthread_barrier_t barrier
Definition: sbulge_back.cpp:88
const magma_int_t threads_num
Definition: sbulge_back.cpp:73
float *const dE
Definition: sbulge_back.cpp:86
const magma_int_t Vblksiz
Definition: sbulge_back.cpp:78
const magma_int_t ldv
Definition: sbulge_back.cpp:82
const magma_int_t n_gpu
Definition: sbulge_back.cpp:76
const magma_int_t ldt
Definition: sbulge_back.cpp:85
float *const V
Definition: sbulge_back.cpp:81
const magma_int_t nb
Definition: sbulge_back.cpp:77
const magma_int_t n
Definition: sbulge_back.cpp:74
float *const TAU
Definition: sbulge_back.cpp:83
magma_sapplyQ_data::~magma_sapplyQ_data ( )
inline

Definition at line 68 of file sbulge_back.cpp.

References barrier.

69  {
70  pthread_barrier_destroy(&barrier);
71  }
pthread_barrier_t barrier
Definition: sbulge_back.cpp:88
magma_sapplyQ_data::magma_sapplyQ_data ( magma_sapplyQ_data data)
private

Field Documentation

pthread_barrier_t magma_sapplyQ_data::barrier

Definition at line 88 of file sbulge_back.cpp.

float* const magma_sapplyQ_data::dE

Definition at line 86 of file sbulge_back.cpp.

float* const magma_sapplyQ_data::E

Definition at line 79 of file sbulge_back.cpp.

const magma_int_t magma_sapplyQ_data::ldde

Definition at line 87 of file sbulge_back.cpp.

const magma_int_t magma_sapplyQ_data::lde

Definition at line 80 of file sbulge_back.cpp.

const magma_int_t magma_sapplyQ_data::ldt

Definition at line 85 of file sbulge_back.cpp.

const magma_int_t magma_sapplyQ_data::ldv

Definition at line 82 of file sbulge_back.cpp.

const magma_int_t magma_sapplyQ_data::n

Definition at line 74 of file sbulge_back.cpp.

const magma_int_t magma_sapplyQ_data::n_gpu

Definition at line 76 of file sbulge_back.cpp.

const magma_int_t magma_sapplyQ_data::nb

Definition at line 77 of file sbulge_back.cpp.

const magma_int_t magma_sapplyQ_data::ne

Definition at line 75 of file sbulge_back.cpp.

float* const magma_sapplyQ_data::T

Definition at line 84 of file sbulge_back.cpp.

float* const magma_sapplyQ_data::TAU

Definition at line 83 of file sbulge_back.cpp.

const magma_int_t magma_sapplyQ_data::threads_num

Definition at line 73 of file sbulge_back.cpp.

float* const magma_sapplyQ_data::V

Definition at line 81 of file sbulge_back.cpp.

const magma_int_t magma_sapplyQ_data::Vblksiz

Definition at line 78 of file sbulge_back.cpp.


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