MAGMA  1.2.0
MatrixAlgebraonGPUandMulticoreArchitectures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
codelet_zhemm.c File Reference
#include "morse_quark.h"
Include dependency graph for codelet_zhemm.c:

Go to the source code of this file.

Functions

void MORSE_zhemm (MorseOption_t *options, int side, int uplo, int m, int n, PLASMA_Complex64_t alpha, magma_desc_t *A, int Am, int An, magma_desc_t *B, int Bm, int Bn, PLASMA_Complex64_t beta, magma_desc_t *C, int Cm, int Cn)

Detailed Description

MAGMA codelets kernel MAGMA is a software package provided by Univ. of Tennessee, Univ. of California Berkeley and Univ. of Colorado Denver, and INRIA Bordeaux Sud-Ouest

Version:
2.4.2
Author:
Hatem Ltaief
Mathieu Faverge
Jakub Kurzak
Date:
2011-11-03 normal z -> c

Definition in file codelet_zhemm.c.


Function Documentation

void MORSE_zhemm ( MorseOption_t options,
int  side,
int  uplo,
int  m,
int  n,
PLASMA_Complex64_t  alpha,
magma_desc_t A,
int  Am,
int  An,
magma_desc_t B,
int  Bm,
int  Bn,
PLASMA_Complex64_t  beta,
magma_desc_t C,
int  Cm,
int  Cn 
)

Definition at line 19 of file codelet_zhemm.c.

References BLKADDR, BLKLDD, DAG_CORE_HEMM, INOUT, INPUT, MorseOption_s::nb, MorseOption_s::quark, QUARK_Insert_Task(), MorseOption_s::task_flags, and VALUE.

{
int lda = BLKLDD(A, Am);
int ldb = BLKLDD(B, Bm);
int ldc = BLKLDD(C, Cm);
int nb = options->nb;
QUARK_Insert_Task(options->quark, CORE_zhemm_quark, options->task_flags,
sizeof(PLASMA_enum), &side, VALUE,
sizeof(PLASMA_enum), &uplo, VALUE,
sizeof(int), &m, VALUE,
sizeof(int), &n, VALUE,
sizeof(PLASMA_Complex64_t), &alpha, VALUE,
sizeof(PLASMA_Complex64_t)*nb*nb, BLKADDR(A, PLASMA_Complex64_t, Am, An), INPUT,
sizeof(int), &lda, VALUE,
sizeof(PLASMA_Complex64_t)*nb*nb, BLKADDR(B, PLASMA_Complex64_t, Bm, Bn), INPUT,
sizeof(int), &ldb, VALUE,
sizeof(PLASMA_Complex64_t), &beta, VALUE,
sizeof(PLASMA_Complex64_t)*nb*nb, BLKADDR(C, PLASMA_Complex64_t, Cm, Cn), INOUT,
sizeof(int), &ldc, VALUE,
0);
}

Here is the call graph for this function: