Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e17fdcd6 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

chameleon: cleaning to avoid warning

parent 1f1e282e
No related branches found
No related tags found
No related merge requests found
...@@ -76,9 +76,9 @@ void morse_pzbuild( MORSE_enum uplo, MORSE_desc_t *A, void *user_data, void* use ...@@ -76,9 +76,9 @@ void morse_pzbuild( MORSE_enum uplo, MORSE_desc_t *A, void *user_data, void* use
ldam = BLKLDD(A, m); ldam = BLKLDD(A, m);
for (n = 0; n < A->nt; n++) { for (n = 0; n < A->nt; n++) {
if ( uplo == MorseUpper && m <= n || if ( ( uplo == MorseUpper && m <= n ) ||
uplo == MorseLower && m >= n || ( uplo == MorseLower && m >= n ) ||
uplo == MorseUpperLower) ( uplo == MorseUpperLower ) )
MORSE_TASK_zbuild( MORSE_TASK_zbuild(
&options, &options,
A(m, n), ldam, A(m, n), ldam,
......
...@@ -53,7 +53,7 @@ void morse_pzgelqf(MORSE_desc_t *A, MORSE_desc_t *T, ...@@ -53,7 +53,7 @@ void morse_pzgelqf(MORSE_desc_t *A, MORSE_desc_t *T,
int k, m, n; int k, m, n;
int ldak, ldam; int ldak, ldam;
int tempkm, tempkn, tempmm, tempnn; int tempkm, tempkn, tempmm, tempnn;
int ib, minMT; int ib;
morse = morse_context_self(); morse = morse_context_self();
if (sequence->status != MORSE_SUCCESS) if (sequence->status != MORSE_SUCCESS)
...@@ -62,12 +62,6 @@ void morse_pzgelqf(MORSE_desc_t *A, MORSE_desc_t *T, ...@@ -62,12 +62,6 @@ void morse_pzgelqf(MORSE_desc_t *A, MORSE_desc_t *T,
ib = MORSE_IB; ib = MORSE_IB;
if (A->m > A->n) {
minMT = A->nt;
} else {
minMT = A->mt;
}
/* /*
* zgelqt = A->nb * (ib+1) * zgelqt = A->nb * (ib+1)
* zunmlq = A->nb * ib * zunmlq = A->nb * ib
......
...@@ -97,6 +97,10 @@ int main(int argc, char *argv[]) { ...@@ -97,6 +97,10 @@ int main(int argc, char *argv[]) {
if (iparam[IPARAM_OUTOFCORE] > 0) { if (iparam[IPARAM_OUTOFCORE] > 0) {
int new_dd = starpu_disk_register (&starpu_disk_unistd_o_direct_ops, int new_dd = starpu_disk_register (&starpu_disk_unistd_o_direct_ops,
(void*) "./ooc/", 1024*1024*10); (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, MORSE_Desc_Create_User(&descA, NULL, MorseRealDouble,
......
...@@ -69,8 +69,6 @@ void MORSE_TASK_zbuild( MORSE_option_t *options, ...@@ -69,8 +69,6 @@ void MORSE_TASK_zbuild( MORSE_option_t *options,
static void cl_zbuild_cpu_func(void *descr[], void *cl_arg) static void cl_zbuild_cpu_func(void *descr[], void *cl_arg)
{ {
int Am;
int An;
MORSE_Complex64_t *A; MORSE_Complex64_t *A;
int ld; int ld;
void *user_data; void *user_data;
......
...@@ -112,8 +112,6 @@ void RUNTIME_desc_create( MORSE_desc_t *desc ) ...@@ -112,8 +112,6 @@ void RUNTIME_desc_create( MORSE_desc_t *desc )
*/ */
{ {
static int _tag_mpi_initialized_ = 0; static int _tag_mpi_initialized_ = 0;
MORSE_context_t *morse;
int myrank = desc->myrank;
if (!_tag_mpi_initialized_) { if (!_tag_mpi_initialized_) {
int *tag_ub = NULL; int *tag_ub = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment