31 #include "chameleon_starpu.h" 32 #include "runtime_codelet_d.h" 33 #include "../include/starpu_exageostat_approx.h" 41 MORSE_enum uplo,
int n,
int nb,
42 const MORSE_desc_t *
A,
int Am,
int An,
int lda,
46 struct starpu_codelet *codelet = &cl_dpotrf;
47 void (*callback)(
void*) = options->profiling ? cl_dpotrf_callback : NULL;
49 MORSE_BEGIN_ACCESS_DECLARATION;
50 MORSE_ACCESS_RW(A, Am, An);
51 MORSE_END_ACCESS_DECLARATION;
55 STARPU_VALUE, &uplo,
sizeof(MORSE_enum),
56 STARPU_VALUE, &n,
sizeof(
int),
58 STARPU_VALUE, &lda,
sizeof(
int),
59 STARPU_VALUE, &iinfo,
sizeof(
int),
61 STARPU_PRIORITY, options->priority,
62 STARPU_CALLBACK, callback,
63 #
if defined(CHAMELEON_CODELETS_HAVE_NAME)
64 STARPU_NAME,
"dpotrf_diag",
70 #if !defined(CHAMELEON_SIMULATION) 71 static void cl_dpotrf_diag_cpu_func(
void *descr[],
void *cl_arg)
80 A = (
double *)STARPU_MATRIX_GET_PTR(descr[0]);
82 starpu_codelet_unpack_args(cl_arg, &uplo, &n, &lda, &iinfo);
84 CORE_dpotrf(uplo, n, A, lda, &info);
91 CODELETS_CPU(dpotrf_diag, 1, cl_dpotrf_diag_cpu_func)
#define RTBLKADDR(desc, type, m, n)
#define starpu_mpi_codelet(_codelet_)
void MORSE_TASK_dpotrf_diag(const MORSE_option_t *options, MORSE_enum uplo, int n, int nb, const MORSE_desc_t *A, int Am, int An, int lda, int iinfo)