PLASMA
2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
#include <inttypes.h>
Go to the source code of this file.
Macros | |
#define | ELTADDR(A, type, m, n) (type *)plasma_geteltaddr(A, m, n) |
#define | ELTLDD(A, k) ( ( (((k)-1)/(A).mb) + (A).i/(A).mb) < (A).lm1 ? (A).mb : (A).lm%(A).mb ) |
#define | BLKADDR(A, type, m, n) (type *)plasma_getaddr(A, m, n) |
#define | BLKLDD(A, k) ( ( (k) + (A).i/(A).mb) < (A).lm1 ? (A).mb : (A).lm%(A).mb ) |
PLASMA auxiliary routines PLASMA is a software package provided by Univ. of Tennessee, Univ. of California Berkeley and Univ. of Colorado Denver
Definition in file tile.h.
void plasma_pclapack_to_tile | ( | plasma_context_t * | plasma | ) |
Conversion from LAPACK F77 matrix layout to tile layout - static scheduling
Definition at line 29 of file pctile.c.
References A, ABDL, AF77, BLKLDD, CORE_clacpy(), plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_5, PlasmaUpperLower, and plasma_sequence_t::status.
void plasma_pclapack_to_tile_quark | ( | PLASMA_Complex32_t * | Af77, |
int | lda, | ||
PLASMA_desc | A, | ||
PLASMA_sequence * | sequence, | ||
PLASMA_request * | request | ||
) |
Conversion from LAPACK F77 matrix layout to tile layout - dynamic scheduling
Definition at line 88 of file pctile.c.
References ABDL, AF77, BLKLDD, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, plasma_context_self(), PLASMA_SUCCESS, PlasmaUpperLower, plasma_context_struct::quark, QUARK_CORE_clacpy(), plasma_sequence_t::quark_sequence, QUARK_Task_Flag_Set(), Quark_Task_Flags_Initializer, plasma_sequence_t::status, and TASK_SEQUENCE.
void plasma_pctile_to_lapack | ( | plasma_context_t * | plasma | ) |
Conversion from LAPACK F77 matrix layout to tile layout - static scheduling
Definition at line 128 of file pctile.c.
References A, ABDL, AF77, BLKLDD, CORE_clacpy(), plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_5, PlasmaUpperLower, and plasma_sequence_t::status.
void plasma_pctile_to_lapack_quark | ( | PLASMA_desc | A, |
PLASMA_Complex32_t * | Af77, | ||
int | lda, | ||
PLASMA_sequence * | sequence, | ||
PLASMA_request * | request | ||
) |
Conversion from LAPACK F77 matrix layout to tile layout - dynamic scheduling
Definition at line 187 of file pctile.c.
References ABDL, AF77, BLKLDD, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, plasma_context_self(), PLASMA_SUCCESS, PlasmaUpperLower, plasma_context_struct::quark, QUARK_CORE_clacpy(), plasma_sequence_t::quark_sequence, QUARK_Task_Flag_Set(), Quark_Task_Flags_Initializer, plasma_sequence_t::status, and TASK_SEQUENCE.
void plasma_pctile_zero | ( | plasma_context_t * | plasma | ) |
Zeroes a submatrix in tile layout - static scheduling
Definition at line 227 of file pctile.c.
References A, ABDL, BLKLDD, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_3, and plasma_sequence_t::status.
void plasma_pctile_zero_quark | ( | PLASMA_desc | A, |
PLASMA_sequence * | sequence, | ||
PLASMA_request * | request | ||
) |
Zeroes a submatrix in tile layout - dynamic scheduling
Definition at line 281 of file pctile.c.
References ABDL, BLKLDD, plasma_desc_t::bsiz, CORE_ctile_zero_quark(), plasma_desc_t::i, plasma_desc_t::j, LOCALITY, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, OUTPUT, plasma_context_self(), PLASMA_SUCCESS, plasma_context_struct::quark, QUARK_Insert_Task(), plasma_sequence_t::quark_sequence, QUARK_Task_Flag_Set(), Quark_Task_Flags_Initializer, plasma_sequence_t::status, TASK_SEQUENCE, and VALUE.
void plasma_pdlapack_to_tile | ( | plasma_context_t * | plasma | ) |
Conversion from LAPACK F77 matrix layout to tile layout - static scheduling
Definition at line 29 of file pdtile.c.
References A, ABDL, AF77, BLKLDD, CORE_dlacpy(), plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_5, PlasmaUpperLower, and plasma_sequence_t::status.
void plasma_pdlapack_to_tile_quark | ( | double * | Af77, |
int | lda, | ||
PLASMA_desc | A, | ||
PLASMA_sequence * | sequence, | ||
PLASMA_request * | request | ||
) |
Conversion from LAPACK F77 matrix layout to tile layout - dynamic scheduling
Definition at line 88 of file pdtile.c.
References ABDL, AF77, BLKLDD, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, plasma_context_self(), PLASMA_SUCCESS, PlasmaUpperLower, plasma_context_struct::quark, QUARK_CORE_dlacpy(), plasma_sequence_t::quark_sequence, QUARK_Task_Flag_Set(), Quark_Task_Flags_Initializer, plasma_sequence_t::status, and TASK_SEQUENCE.
void plasma_pdtile_to_lapack | ( | plasma_context_t * | plasma | ) |
Conversion from LAPACK F77 matrix layout to tile layout - static scheduling
Definition at line 128 of file pdtile.c.
References A, ABDL, AF77, BLKLDD, CORE_dlacpy(), plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_5, PlasmaUpperLower, and plasma_sequence_t::status.
void plasma_pdtile_to_lapack_quark | ( | PLASMA_desc | A, |
double * | Af77, | ||
int | lda, | ||
PLASMA_sequence * | sequence, | ||
PLASMA_request * | request | ||
) |
Conversion from LAPACK F77 matrix layout to tile layout - dynamic scheduling
Definition at line 187 of file pdtile.c.
References ABDL, AF77, BLKLDD, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, plasma_context_self(), PLASMA_SUCCESS, PlasmaUpperLower, plasma_context_struct::quark, QUARK_CORE_dlacpy(), plasma_sequence_t::quark_sequence, QUARK_Task_Flag_Set(), Quark_Task_Flags_Initializer, plasma_sequence_t::status, and TASK_SEQUENCE.
void plasma_pdtile_zero | ( | plasma_context_t * | plasma | ) |
Zeroes a submatrix in tile layout - static scheduling
Definition at line 227 of file pdtile.c.
References A, ABDL, BLKLDD, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_3, and plasma_sequence_t::status.
void plasma_pdtile_zero_quark | ( | PLASMA_desc | A, |
PLASMA_sequence * | sequence, | ||
PLASMA_request * | request | ||
) |
Zeroes a submatrix in tile layout - dynamic scheduling
Definition at line 281 of file pdtile.c.
References ABDL, BLKLDD, plasma_desc_t::bsiz, CORE_dtile_zero_quark(), plasma_desc_t::i, plasma_desc_t::j, LOCALITY, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, OUTPUT, plasma_context_self(), PLASMA_SUCCESS, plasma_context_struct::quark, QUARK_Insert_Task(), plasma_sequence_t::quark_sequence, QUARK_Task_Flag_Set(), Quark_Task_Flags_Initializer, plasma_sequence_t::status, TASK_SEQUENCE, and VALUE.
void plasma_pslapack_to_tile | ( | plasma_context_t * | plasma | ) |
Conversion from LAPACK F77 matrix layout to tile layout - static scheduling
Definition at line 29 of file pstile.c.
References A, ABDL, AF77, BLKLDD, CORE_slacpy(), plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_5, PlasmaUpperLower, and plasma_sequence_t::status.
void plasma_pslapack_to_tile_quark | ( | float * | Af77, |
int | lda, | ||
PLASMA_desc | A, | ||
PLASMA_sequence * | sequence, | ||
PLASMA_request * | request | ||
) |
Conversion from LAPACK F77 matrix layout to tile layout - dynamic scheduling
Definition at line 88 of file pstile.c.
References ABDL, AF77, BLKLDD, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, plasma_context_self(), PLASMA_SUCCESS, PlasmaUpperLower, plasma_context_struct::quark, QUARK_CORE_slacpy(), plasma_sequence_t::quark_sequence, QUARK_Task_Flag_Set(), Quark_Task_Flags_Initializer, plasma_sequence_t::status, and TASK_SEQUENCE.
void plasma_pstile_to_lapack | ( | plasma_context_t * | plasma | ) |
Conversion from LAPACK F77 matrix layout to tile layout - static scheduling
Definition at line 128 of file pstile.c.
References A, ABDL, AF77, BLKLDD, CORE_slacpy(), plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_5, PlasmaUpperLower, and plasma_sequence_t::status.
void plasma_pstile_to_lapack_quark | ( | PLASMA_desc | A, |
float * | Af77, | ||
int | lda, | ||
PLASMA_sequence * | sequence, | ||
PLASMA_request * | request | ||
) |
Conversion from LAPACK F77 matrix layout to tile layout - dynamic scheduling
Definition at line 187 of file pstile.c.
References ABDL, AF77, BLKLDD, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, plasma_context_self(), PLASMA_SUCCESS, PlasmaUpperLower, plasma_context_struct::quark, QUARK_CORE_slacpy(), plasma_sequence_t::quark_sequence, QUARK_Task_Flag_Set(), Quark_Task_Flags_Initializer, plasma_sequence_t::status, and TASK_SEQUENCE.
void plasma_pstile_zero | ( | plasma_context_t * | plasma | ) |
Zeroes a submatrix in tile layout - static scheduling
Definition at line 227 of file pstile.c.
References A, ABDL, BLKLDD, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_3, and plasma_sequence_t::status.
void plasma_pstile_zero_quark | ( | PLASMA_desc | A, |
PLASMA_sequence * | sequence, | ||
PLASMA_request * | request | ||
) |
Zeroes a submatrix in tile layout - dynamic scheduling
Definition at line 281 of file pstile.c.
References ABDL, BLKLDD, plasma_desc_t::bsiz, CORE_stile_zero_quark(), plasma_desc_t::i, plasma_desc_t::j, LOCALITY, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, OUTPUT, plasma_context_self(), PLASMA_SUCCESS, plasma_context_struct::quark, QUARK_Insert_Task(), plasma_sequence_t::quark_sequence, QUARK_Task_Flag_Set(), Quark_Task_Flags_Initializer, plasma_sequence_t::status, TASK_SEQUENCE, and VALUE.
void plasma_pzlapack_to_tile | ( | plasma_context_t * | plasma | ) |
Conversion from LAPACK F77 matrix layout to tile layout - static scheduling
Definition at line 29 of file pztile.c.
References A, ABDL, AF77, BLKLDD, CORE_zlacpy(), plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_5, PlasmaUpperLower, and plasma_sequence_t::status.
void plasma_pzlapack_to_tile_quark | ( | PLASMA_Complex64_t * | Af77, |
int | lda, | ||
PLASMA_desc | A, | ||
PLASMA_sequence * | sequence, | ||
PLASMA_request * | request | ||
) |
Conversion from LAPACK F77 matrix layout to tile layout - dynamic scheduling
Definition at line 88 of file pztile.c.
References ABDL, AF77, BLKLDD, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, plasma_context_self(), PLASMA_SUCCESS, PlasmaUpperLower, plasma_context_struct::quark, QUARK_CORE_zlacpy(), plasma_sequence_t::quark_sequence, QUARK_Task_Flag_Set(), Quark_Task_Flags_Initializer, plasma_sequence_t::status, and TASK_SEQUENCE.
void plasma_pztile_to_lapack | ( | plasma_context_t * | plasma | ) |
Internal routines - static scheduling
Conversion from LAPACK F77 matrix layout to tile layout - static scheduling
Definition at line 128 of file pztile.c.
References A, ABDL, AF77, BLKLDD, CORE_zlacpy(), plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_5, PlasmaUpperLower, and plasma_sequence_t::status.
void plasma_pztile_to_lapack_quark | ( | PLASMA_desc | A, |
PLASMA_Complex64_t * | Af77, | ||
int | lda, | ||
PLASMA_sequence * | sequence, | ||
PLASMA_request * | request | ||
) |
Internal routines - dynamic scheduling
Conversion from LAPACK F77 matrix layout to tile layout - dynamic scheduling
Definition at line 187 of file pztile.c.
References ABDL, AF77, BLKLDD, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, plasma_context_self(), PLASMA_SUCCESS, PlasmaUpperLower, plasma_context_struct::quark, QUARK_CORE_zlacpy(), plasma_sequence_t::quark_sequence, QUARK_Task_Flag_Set(), Quark_Task_Flags_Initializer, plasma_sequence_t::status, and TASK_SEQUENCE.
void plasma_pztile_zero | ( | plasma_context_t * | plasma | ) |
Zeroes a submatrix in tile layout - static scheduling
Definition at line 227 of file pztile.c.
References A, ABDL, BLKLDD, plasma_desc_t::i, plasma_desc_t::j, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, PLASMA_RANK, PLASMA_SIZE, PLASMA_SUCCESS, plasma_unpack_args_3, and plasma_sequence_t::status.
void plasma_pztile_zero_quark | ( | PLASMA_desc | A, |
PLASMA_sequence * | sequence, | ||
PLASMA_request * | request | ||
) |
Zeroes a submatrix in tile layout - dynamic scheduling
Definition at line 281 of file pztile.c.
References ABDL, BLKLDD, plasma_desc_t::bsiz, CORE_ztile_zero_quark(), plasma_desc_t::i, plasma_desc_t::j, LOCALITY, plasma_desc_t::m, plasma_desc_t::mb, plasma_desc_t::mt, plasma_desc_t::n, plasma_desc_t::nb, plasma_desc_t::nt, OUTPUT, plasma_context_self(), PLASMA_SUCCESS, plasma_context_struct::quark, QUARK_Insert_Task(), plasma_sequence_t::quark_sequence, QUARK_Task_Flag_Set(), Quark_Task_Flags_Initializer, plasma_sequence_t::status, TASK_SEQUENCE, and VALUE.