HiCMA
Hierarchical Computations on Manycore Architectures
zgytlr.c File Reference
#include "morse.h"
#include "control/common.h"
#include "control/hicma_common.h"
#include <stdio.h>

Go to the source code of this file.

Functions

int HICMA_zgytlr_Tile (MORSE_enum uplo, MORSE_desc_t *AUV, MORSE_desc_t *AD, MORSE_desc_t *Ark, unsigned long long int seed, int maxrank, double tol, int compress_diag, MORSE_desc_t *Dense)
 
int HICMA_zgytlr_Tile_Async (MORSE_enum uplo, MORSE_desc_t *AUV, MORSE_desc_t *AD, MORSE_desc_t *Ark, unsigned long long int seed, int maxrank, double tol, int compress_diag, MORSE_desc_t *Dense, MORSE_sequence_t *sequence, MORSE_request_t *request)
 

Detailed Description

This file contains tile low-rank (TLR) matrix generation functions.

HiCMA is a software package provided by King Abdullah University of Science and Technology (KAUST)

Version
0.1.1
Author
Kadir Akbudak
Date
2018-11-08

Definition in file zgytlr.c.

Function Documentation

◆ HICMA_zgytlr_Tile()

int HICMA_zgytlr_Tile ( MORSE_enum  uplo,
MORSE_desc_t *  AUV,
MORSE_desc_t *  AD,
MORSE_desc_t *  Ark,
unsigned long long int  seed,
int  maxrank,
double  tol,
int  compress_diag,
MORSE_desc_t *  Dense 
)

HICMA_zgytlr_Tile - Generate a random matrix by tiles. Operates on matrices stored by tiles. All matrices are passed through descriptors. All dimensions are taken from the descriptors.

HICMA_zgytlr_Tile - Generate matrix by tiles.

Parameters
[in]uploWhich part of matrix will be generated.
[in]MThe number of rows of A.
[in]NThe order of the matrix A. N >= 0.
[out]AUVOn exit, U and V factors.
[out]ADOn exit, diagonal tiles.
[out]ArkOn exit, rank for each tile.
[in]LDAThe leading dimension of the array A. LDA >= max(1,M).
[in]seedThe seed used in the random generation.
[in]maxrankThe limit for ranks.
[in]tolThreshold used in approximation.
Returns
Return values
MORSE_SUCCESSsuccessful exit
<0if -i, the i-th argument had an illegal value

Definition at line 93 of file zgytlr.c.

◆ HICMA_zgytlr_Tile_Async()

int HICMA_zgytlr_Tile_Async ( MORSE_enum  uplo,
MORSE_desc_t *  AUV,
MORSE_desc_t *  AD,
MORSE_desc_t *  Ark,
unsigned long long int  seed,
int  maxrank,
double  tol,
int  compress_diag,
MORSE_desc_t *  Dense,
MORSE_sequence_t *  sequence,
MORSE_request_t *  request 
)

HICMA_zgytlr_Tile_Async - Generate a random matrix by tiles. Non-blocking equivalent of HICMA_zgytlr_Tile(). May return before the computation is finished. Allows for pipelining of operations at runtime.

Parameters
[in]sequenceIdentifies the sequence of function calls that this call belongs to (for completion checks and exception handling purposes).
[out]requestIdentifies this function call (for exception handling purposes).

Definition at line 155 of file zgytlr.c.