PLASMA  2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
time_zgetrf_rectil.c File Reference
#include "../control/common.h"
#include "./timing.c"
Include dependency graph for time_zgetrf_rectil.c:

Go to the source code of this file.

Macros

#define _TYPE   PLASMA_Complex64_t
#define _PREC   double
#define _LAMCH   LAPACKE_dlamch_work
#define _NAME   "PLASMA_zgetrf_rectil"
#define _FMULS   FMULS_GETRF(M, NRHS)
#define _FADDS   FADDS_GETRF(M, NRHS)

Functions

void CORE_zgetrf_rectil_init (void)
plasma_context_tplasma_context_self (void)

Macro Definition Documentation

#define _FADDS   FADDS_GETRF(M, NRHS)

Definition at line 13 of file time_zgetrf_rectil.c.

#define _FMULS   FMULS_GETRF(M, NRHS)

Definition at line 12 of file time_zgetrf_rectil.c.

#define _LAMCH   LAPACKE_dlamch_work

Definition at line 8 of file time_zgetrf_rectil.c.

#define _NAME   "PLASMA_zgetrf_rectil"

Definition at line 10 of file time_zgetrf_rectil.c.

#define _PREC   double

Definition at line 7 of file time_zgetrf_rectil.c.

#define _TYPE   PLASMA_Complex64_t

normal z -> c d s

Definition at line 6 of file time_zgetrf_rectil.c.


Function Documentation

void CORE_zgetrf_rectil_init ( void  )

Definition at line 92 of file core_zgetrf_rectil.c.

References AMAX1BUF_SIZE.

{
int i;
for (i = 0; i < AMAX1BUF_SIZE; ++i) CORE_zamax1buf[i] = -1.0;
sfmin = LAPACKE_dlamch_work('S');
}
plasma_context_t* plasma_context_self ( void  )

Return context for a thread

Definition at line 134 of file context.c.

References plasma_context_map_struct::context, CONTEXTS_MAX, pthread_equal(), and pthread_self().

{
int i;
// For each entry
for (i = 0; i < CONTEXTS_MAX; i++) {
// If id matches
if (pthread_equal(context_map[i].thread_id, pthread_self())) {
return context_map[i].context;
}
}
return NULL;
}

Here is the call graph for this function: