Commit 8fc53a20 authored by Mathieu Faverge's avatar Mathieu Faverge

Remove unused code reported by sonarqube

parent d7123639
......@@ -41,7 +41,6 @@ void CORE_zhe2ge(MORSE_enum uplo, int M, int N,
Aptr = A;
Bptr = B;
BTptr = 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;
......
......@@ -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)
/*
......
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