Commit e17fdcd6 authored by PRUVOST Florent's avatar PRUVOST Florent

chameleon: cleaning to avoid warning

parent 1f1e282e
......@@ -76,9 +76,9 @@ void morse_pzbuild( MORSE_enum uplo, MORSE_desc_t *A, void *user_data, void* use
ldam = BLKLDD(A, m);
for (n = 0; n < A->nt; n++) {
if ( uplo == MorseUpper && m <= n ||
uplo == MorseLower && m >= n ||
uplo == MorseUpperLower)
if ( ( uplo == MorseUpper && m <= n ) ||
( uplo == MorseLower && m >= n ) ||
( uplo == MorseUpperLower ) )
MORSE_TASK_zbuild(
&options,
A(m, n), ldam,
......
......@@ -53,7 +53,7 @@ void morse_pzgelqf(MORSE_desc_t *A, MORSE_desc_t *T,
int k, m, n;
int ldak, ldam;
int tempkm, tempkn, tempmm, tempnn;
int ib, minMT;
int ib;
morse = morse_context_self();
if (sequence->status != MORSE_SUCCESS)
......@@ -62,12 +62,6 @@ void morse_pzgelqf(MORSE_desc_t *A, MORSE_desc_t *T,
ib = MORSE_IB;
if (A->m > A->n) {
minMT = A->nt;
} else {
minMT = A->mt;
}
/*
* zgelqt = A->nb * (ib+1)
* zunmlq = A->nb * ib
......
......@@ -97,6 +97,10 @@ int main(int argc, char *argv[]) {
if (iparam[IPARAM_OUTOFCORE] > 0) {
int new_dd = starpu_disk_register (&starpu_disk_unistd_o_direct_ops,
(void*) "./ooc/", 1024*1024*10);
if (new_dd == -ENOENT){
fprintf(stderr, "Can't write on ./ooc/\n");
return EXIT_FAILURE;
}
}
MORSE_Desc_Create_User(&descA, NULL, MorseRealDouble,
......
......@@ -69,8 +69,6 @@ void MORSE_TASK_zbuild( MORSE_option_t *options,
static void cl_zbuild_cpu_func(void *descr[], void *cl_arg)
{
int Am;
int An;
MORSE_Complex64_t *A;
int ld;
void *user_data;
......
......@@ -112,8 +112,6 @@ void RUNTIME_desc_create( MORSE_desc_t *desc )
*/
{
static int _tag_mpi_initialized_ = 0;
MORSE_context_t *morse;
int myrank = desc->myrank;
if (!_tag_mpi_initialized_) {
int *tag_ub = NULL;
......
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