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

Go to the source code of this file.

Functions

void MORSE_zlaset (MorseOption_t *options, PLASMA_enum uplo, int M, int N, PLASMA_Complex64_t alpha, PLASMA_Complex64_t beta, magma_desc_t *A, int Am, int An)

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
Date:
2011-11-03 normal z -> c d s

Definition in file codelet_zlaset.c.


Function Documentation

void MORSE_zlaset ( MorseOption_t options,
PLASMA_enum  uplo,
int  M,
int  N,
PLASMA_Complex64_t  alpha,
PLASMA_Complex64_t  beta,
magma_desc_t A,
int  Am,
int  An 
)

Definition at line 17 of file codelet_zlaset.c.

References BLKADDR, BLKLDD, DAG_CORE_LASET, OUTPUT, MorseOption_s::quark, QUARK_Insert_Task(), MorseOption_s::task_flags, and VALUE.

{
int lda = BLKLDD(A, Am);
QUARK_Insert_Task(options->quark, CORE_zlaset_quark, options->task_flags,
sizeof(PLASMA_enum), &uplo, VALUE,
sizeof(int), &M, VALUE,
sizeof(int), &N, VALUE,
sizeof(PLASMA_Complex64_t), &alpha, VALUE,
sizeof(PLASMA_Complex64_t), &beta, VALUE,
sizeof(PLASMA_Complex64_t)*M*N, BLKADDR(A, PLASMA_Complex64_t, Am, An), OUTPUT,
sizeof(int), &lda, VALUE,
0);
}

Here is the call graph for this function: