diff --git a/coreblas/compute/core_zhe2ge.c b/coreblas/compute/core_zhe2ge.c index c4b5f785a8934f16f3623150cdc2d15871ccc2a8..df2d6225acedb0ae7332e1c7ec5d8ec0bdc6b500 100644 --- a/coreblas/compute/core_zhe2ge.c +++ b/coreblas/compute/core_zhe2ge.c @@ -39,9 +39,8 @@ void CORE_zhe2ge(MORSE_enum uplo, int M, int N, MORSE_Complex64_t *Bptr, *BTptr; int i, j; - Aptr = A; - Bptr = B; - BTptr = B; + Aptr = A; + Bptr = B; if (uplo == MorseLower){ for (j = 0; j < N; j++){ @@ -57,23 +56,10 @@ void CORE_zhe2ge(MORSE_enum uplo, int M, int N, } Aptr += (LDA - i + j + 1); Bptr += (LDB - i + j + 1); - - /* Bptr[ j * LDB + j ] = A[ j * LDA + j ]; */ - - /* for (i = j+1; i < M; i++) { */ - /* Bptr [ j * LDB + i ] = A[ j * LDA + i ]; */ - /* BTptr[ i * LDB + j ] = conj(A[ j * LDA + i ]); */ - /* } */ } } else{ for (j = 0; j < N; j++){ - /* for (i = 0; i < j; i++) { */ - /* Bptr [ j * LDB + i ] = A[ j * LDA + i ]; */ - /* BTptr[ i * LDB + j ] = conj(A[ j * LDA + i ]); */ - /* } */ - /* Bptr[ j * LDB + j ] = A[ j * LDA + j ]; */ - BTptr = B + j; for (i = 0; i < j; i++, Bptr++, Aptr++, BTptr += LDB) { *Bptr = *Aptr; diff --git a/runtime/starpu/control/runtime_descriptor.c b/runtime/starpu/control/runtime_descriptor.c index bd804a02c784f65e89bfc29847ad188b072a2ea9..8c3990103c34208a297e2fc5e6da78a14920a745 100644 --- a/runtime/starpu/control/runtime_descriptor.c +++ b/runtime/starpu/control/runtime_descriptor.c @@ -145,8 +145,6 @@ void RUNTIME_desc_create( MORSE_desc_t *desc ) { int64_t lmt = desc->lmt; int64_t lnt = desc->lnt; - starpu_data_handle_t *tiles; - (void)tiles; desc->occurences = 1; @@ -156,7 +154,6 @@ void RUNTIME_desc_create( MORSE_desc_t *desc ) */ desc->schedopt = (void*)calloc(lnt*lmt,sizeof(starpu_data_handle_t)); assert(desc->schedopt); - tiles = (starpu_data_handle_t*)(desc->schedopt); #if defined(CHAMELEON_USE_CUDA) && !defined(CHAMELEON_SIMULATION) /*