MAGMA  1.2.0
MatrixAlgebraonGPUandMulticoreArchitectures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
codelet_zlacpy.c
Go to the documentation of this file.
1 
17 #include "morse_quark.h"
18 /*
19  * Wrapper
20  */
21 void MORSE_zlacpy(MorseOption_t *options,
22  PLASMA_enum uplo, int m, int n,
23  magma_desc_t *A, int Am, int An,
24  magma_desc_t *B, int Bm, int Bn)
25 {
26  int lda = BLKLDD( A, Am );
27  int ldb = BLKLDD( B, Bm );
28 
30  QUARK_Insert_Task(options->quark, CORE_zlacpy_quark, options->task_flags,
31  sizeof(PLASMA_enum), &uplo, VALUE,
32  sizeof(int), &m, VALUE,
33  sizeof(int), &n, VALUE,
34  sizeof(PLASMA_Complex64_t)*A->desc.mb*A->desc.nb, BLKADDR(A, PLASMA_Complex64_t, Am, An ), INPUT,
35  sizeof(int), &lda, VALUE,
36  sizeof(PLASMA_Complex64_t)*B->desc.mb*B->desc.nb, BLKADDR(B, PLASMA_Complex64_t, Bm, Bn ), OUTPUT,
37  sizeof(int), &ldb, VALUE,
38  0);
39 }