Commit 994f1701 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

chameleon: fix build for quark version (pb after zbuild integration)

parent 817735ef
......@@ -45,12 +45,12 @@ void MORSE_TASK_zbuild( MORSE_option_t *options,
col_min = An*A->nb ;
col_max = An == A->nt-1 ? A->n-1 : col_min+A->nb-1 ;
QUARK_Insert_Task(opt->quark, CORE_zbuild_quark, (Quark_Task_Flags*)opt,
QUARK_Insert_Task(opt->quark, CORE_zbuild_quark, (Quark_Task_Flags*)opt,
sizeof(int), &row_min, VALUE,
sizeof(int), &row_max, VALUE,
sizeof(int), &col_min, VALUE,
sizeof(int), &col_max, VALUE,
sizeof(MORSE_Complex64_t)*lda*n, RTBLKADDR(A, MORSE_Complex64_t, Am, An), OUTPUT,
sizeof(MORSE_Complex64_t)*lda*A->nb, RTBLKADDR(A, MORSE_Complex64_t, Am, An), OUTPUT,
sizeof(int), &lda, VALUE,
sizeof(void*), &user_data, VALUE,
sizeof(void*), &user_build_callback, VALUE,
......@@ -62,13 +62,12 @@ void CORE_zbuild_quark(Quark *quark)
{
MORSE_Complex64_t *A;
int lda;
void *user_data;
void (*user_build_callback)(int row_min, int row_max, int col_min, int col_max, void *buffer, int ld, void *user_data) ;
int row_min, row_max, col_min, col_max;
quark_unpack_args_8( quark, row_min, row_max, col_min, col_max, A, lda, user_data, user_build_callback);
void *user_data;
void (*user_build_callback)(int row_min, int row_max, int col_min, int col_max, void *buffer, int ld, void *user_data) ;
int row_min, row_max, col_min, col_max;
user_build_callback(row_min, row_max, col_min, col_max, A, ld, user_data);
quark_unpack_args_8( quark, row_min, row_max, col_min, col_max, A, lda, user_data, user_build_callback);
user_build_callback(row_min, row_max, col_min, col_max, A, lda, user_data);
}
......@@ -35,6 +35,7 @@
#define DAG_CORE_ASUM DAG_SET_PROPERTIES( "ASUM" , "white" )
#define DAG_CORE_AXPY DAG_SET_PROPERTIES( "AXPY" , "white" )
#define DAG_CORE_BUILD DAG_SET_PROPERTIES( "BUILD" , "white" )
#define DAG_CORE_GEADD DAG_SET_PROPERTIES( "GEADD" , "white" )
#define DAG_CORE_GELQT DAG_SET_PROPERTIES( "GELQT" , "green" )
#define DAG_CORE_GEMM DAG_SET_PROPERTIES( "GEMM" , "yellow" )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment