-
Philippe Virouleau authoredPhilippe Virouleau authored
codelet_ztrtri.c 1.26 KiB
/**
*
* @file openmp/codelet_ztrtri.c
*
* @copyright 2009-2014 The University of Tennessee and The University of
* Tennessee Research Foundation. All rights reserved.
* @copyright 2012-2016 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
* Univ. Bordeaux. All rights reserved.
*
***
*
* @brief Chameleon ztrtri StarPU codelet
*
* @version 1.0.0
* @comment This file has been automatically generated
* from Plasma 2.5.0 for CHAMELEON 1.0.0
* @author Julien Langou
* @author Henricus Bouwmeester
* @author Mathieu Faverge
* @author Emmanuel Agullo
* @author Cedric Castagnede
* @date 2010-11-15
* @precisions normal z -> c d s
*
*/
#include "chameleon_openmp.h"
#include "chameleon/tasks_z.h"
/**
*
* @ingroup CORE_CHAMELEON_Complex64_t
*
*/
void INSERT_TASK_ztrtri(const RUNTIME_option_t *options,
cham_uplo_t uplo, cham_diag_t diag,
int n, int nb,
const CHAM_desc_t *A, int Am, int An, int lda,
int iinfo)
{
CHAMELEON_Complex64_t *ptrA = RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An);
#pragma omp task firstprivate(uplo, diag, n, ptrA, lda, iinfo) depend(inout:ptrA[0])
CORE_ztrtri(uplo, diag, n, ptrA, lda, &iinfo);
}