-
Mathieu Faverge authoredMathieu Faverge authored
codelet_ztsmqr.c 3.95 KiB
/**
*
* @copyright (c) 2009-2015 The University of Tennessee and The University
* of Tennessee Research Foundation.
* All rights reserved.
* @copyright (c) 2012-2015 Inria. All rights reserved.
* @copyright (c) 2012-2016 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
*
**/
/**
* @file codelet_ztsmqr.c
*
* MORSE codelets kernel
* MORSE is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.5.0
* @author Reazul Hoque
* @precisions normal z -> c d s
*
**/
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
#include "coreblas/coreblas_z.h"
static int
CORE_ztsmqr_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
{
MORSE_enum *side;
MORSE_enum *trans;
int *m1;
int *n1;
int *m2;
int *n2;
int *k;
int *ib;
MORSE_Complex64_t *A1;
int *lda1;
MORSE_Complex64_t *A2;
int *lda2;
MORSE_Complex64_t *V;
int *ldv;
MORSE_Complex64_t *T;
int *ldt;
MORSE_Complex64_t *WORK;
int *ldwork;
parsec_dtd_unpack_args(
this_task,
UNPACK_VALUE, &side,
UNPACK_VALUE, &trans,
UNPACK_VALUE, &m1,
UNPACK_VALUE, &n1,
UNPACK_VALUE, &m2,
UNPACK_VALUE, &n2,
UNPACK_VALUE, &k,
UNPACK_VALUE, &ib,
UNPACK_DATA, &A1,
UNPACK_VALUE, &lda1,
UNPACK_DATA, &A2,
UNPACK_VALUE, &lda2,
UNPACK_DATA, &V,
UNPACK_VALUE, &ldv,
UNPACK_DATA, &T,
UNPACK_VALUE, &ldt,
UNPACK_SCRATCH, &WORK,
UNPACK_VALUE, &ldwork );
CORE_ztsmqr(*side, *trans, *m1, *n1, *m2, *n2, *k, *ib,