Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 98d7217a authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

gcc/quark: silent compilation warnings

parent 5f6baead
No related branches found
No related tags found
1 merge request!266Fix many issues
Showing
with 67 additions and 37 deletions
......@@ -69,4 +69,8 @@ void INSERT_TASK_zgetrf_incpiv(const RUNTIME_option_t *options,
sizeof(int), &iinfo, VALUE,
0);
(void)L;
(void)Lm;
(void)Ln;
(void)nb;
}
......@@ -60,4 +60,6 @@ void INSERT_TASK_zgetrf_nopiv(const RUNTIME_option_t *options,
sizeof(RUNTIME_request_t*), &(options->request), VALUE,
sizeof(int), &iinfo, VALUE,
0);
(void)nb;
}
......@@ -36,7 +36,7 @@ static inline void CORE_zhe2ge_quark(Quark *quark)
void INSERT_TASK_zhe2ge( const RUNTIME_option_t *options,
cham_uplo_t uplo,
int m, int n, int mb,
int m, int n, int nb,
const CHAM_desc_t *A, int Am, int An,
const CHAM_desc_t *B, int Bm, int Bn )
{
......@@ -49,4 +49,6 @@ void INSERT_TASK_zhe2ge( const RUNTIME_option_t *options,
sizeof(void*), RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An), INPUT,
sizeof(void*), RTBLKADDR(B, CHAMELEON_Complex64_t, Bm, Bn), OUTPUT,
0);
(void)nb;
}
......@@ -64,6 +64,7 @@ void INSERT_TASK_zlacpyx( const RUNTIME_option_t *options,
sizeof(int), &displB, VALUE,
sizeof(void*), RTBLKADDR(B, CHAMELEON_Complex64_t, Bm, Bn), OUTPUT,
0);
(void)nb;
}
void INSERT_TASK_zlacpy( const RUNTIME_option_t *options,
......
......@@ -38,22 +38,24 @@ void CORE_zlange_quark(Quark *quark)
}
void INSERT_TASK_zlange(const RUNTIME_option_t *options,
cham_normtype_t norm, int M, int N, int NB,
cham_normtype_t norm, int m, int n, int nb,
const CHAM_desc_t *A, int Am, int An,
const CHAM_desc_t *B, int Bm, int Bn)
{
quark_option_t *opt = (quark_option_t*)(options->schedopt);
DAG_CORE_LANGE;
int szeW = chameleon_max( M, N );
int szeW = chameleon_max( m, n );
QUARK_Insert_Task(
opt->quark, CORE_zlange_quark, (Quark_Task_Flags*)opt,
sizeof(int), &norm, VALUE,
sizeof(int), &M, VALUE,
sizeof(int), &N, VALUE,
sizeof(int), &m, VALUE,
sizeof(int), &n, VALUE,
sizeof(void*), RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An), INPUT,
sizeof(double)*szeW, NULL, SCRATCH,
sizeof(void*), RTBLKADDR(B, double, Bm, Bn), OUTPUT,
0);
(void)nb;
}
void CORE_zlange_max_quark(Quark *quark)
......
......@@ -37,21 +37,23 @@ void CORE_zlanhe_quark(Quark *quark)
TCORE_zlanhe( norm, uplo, N, tileA, work, tileNorm->mat );
}
void INSERT_TASK_zlanhe(const RUNTIME_option_t *options,
cham_normtype_t norm, cham_uplo_t uplo, int N, int NB,
const CHAM_desc_t *A, int Am, int An,
const CHAM_desc_t *B, int Bm, int Bn)
void INSERT_TASK_zlanhe( const RUNTIME_option_t *options,
cham_normtype_t norm, cham_uplo_t uplo, int n, int nb,
const CHAM_desc_t *A, int Am, int An,
const CHAM_desc_t *B, int Bm, int Bn )
{
quark_option_t *opt = (quark_option_t*)(options->schedopt);
DAG_CORE_LANHE;
int szeW = chameleon_max( 1, N );
int szeW = chameleon_max( 1, n );
QUARK_Insert_Task(
opt->quark, CORE_zlanhe_quark, (Quark_Task_Flags*)opt,
sizeof(int), &norm, VALUE,
sizeof(int), &uplo, VALUE,
sizeof(int), &N, VALUE,
sizeof(int), &n, VALUE,
sizeof(void*), RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An), INPUT,
sizeof(double)*szeW, NULL, SCRATCH,
sizeof(void*), RTBLKADDR(B, double, Bm, Bn), OUTPUT,
0);
(void)nb;
}
......@@ -37,21 +37,23 @@ void CORE_zlansy_quark(Quark *quark)
TCORE_zlansy( norm, uplo, N, tileA, work, tileNorm->mat );
}
void INSERT_TASK_zlansy(const RUNTIME_option_t *options,
cham_normtype_t norm, cham_uplo_t uplo, int N, int NB,
const CHAM_desc_t *A, int Am, int An,
const CHAM_desc_t *B, int Bm, int Bn)
void INSERT_TASK_zlansy( const RUNTIME_option_t *options,
cham_normtype_t norm, cham_uplo_t uplo, int n, int nb,
const CHAM_desc_t *A, int Am, int An,
const CHAM_desc_t *B, int Bm, int Bn)
{
quark_option_t *opt = (quark_option_t*)(options->schedopt);
DAG_CORE_LANSY;
int szeW = chameleon_max( 1, N );
int szeW = chameleon_max( 1, n );
QUARK_Insert_Task(
opt->quark, CORE_zlansy_quark, (Quark_Task_Flags*)opt,
sizeof(int), &norm, VALUE,
sizeof(int), &uplo, VALUE,
sizeof(int), &N, VALUE,
sizeof(int), &n, VALUE,
sizeof(void*), RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An), INPUT,
sizeof(double)*szeW, NULL, SCRATCH,
sizeof(void*), RTBLKADDR(B, double, Bm, Bn), OUTPUT,
0);
(void)nb;
}
......@@ -25,7 +25,9 @@
void CORE_zlantr_quark(Quark *quark)
{
CHAM_tile_t *tileNorm;
cham_normtype_t norm, uplo, diag;
cham_normtype_t norm;
cham_uplo_t uplo;
cham_diag_t diag;
int M;
int N;
CHAM_tile_t *tileA;
......@@ -35,24 +37,26 @@ void CORE_zlantr_quark(Quark *quark)
TCORE_zlantr( norm, uplo, diag, M, N, tileA, work, tileNorm->mat );
}
void INSERT_TASK_zlantr(const RUNTIME_option_t *options,
cham_normtype_t norm, cham_uplo_t uplo, cham_diag_t diag,
int M, int N, int NB,
const CHAM_desc_t *A, int Am, int An,
const CHAM_desc_t *B, int Bm, int Bn)
void INSERT_TASK_zlantr( const RUNTIME_option_t *options,
cham_normtype_t norm, cham_uplo_t uplo, cham_diag_t diag,
int m, int n, int nb,
const CHAM_desc_t *A, int Am, int An,
const CHAM_desc_t *B, int Bm, int Bn )
{
quark_option_t *opt = (quark_option_t*)(options->schedopt);
DAG_CORE_LANTR;
int szeW = chameleon_max( 1, N );
int szeW = chameleon_max( 1, n );
QUARK_Insert_Task(
opt->quark, CORE_zlantr_quark, (Quark_Task_Flags*)opt,
sizeof(int), &norm, VALUE,
sizeof(int), &uplo, VALUE,
sizeof(int), &diag, VALUE,
sizeof(int), &M, VALUE,
sizeof(int), &N, VALUE,
sizeof(int), &m, VALUE,
sizeof(int), &n, VALUE,
sizeof(void*), RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An), INPUT,
sizeof(double)*szeW, NULL, SCRATCH,
sizeof(void*), RTBLKADDR(B, double, Bm, Bn), OUTPUT,
0);
(void)nb;
}
......@@ -60,4 +60,6 @@ void INSERT_TASK_zlascal(const RUNTIME_option_t *options,
sizeof(CHAMELEON_Complex64_t), &alpha, VALUE,
sizeof(void*), RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An), INOUT,
0);
(void)nb;
}
......@@ -37,7 +37,7 @@ void CORE_zlatro_quark(Quark *quark)
void INSERT_TASK_zlatro(const RUNTIME_option_t *options,
cham_uplo_t uplo, cham_trans_t trans,
int m, int n, int mb,
int m, int n, int nb,
const CHAM_desc_t *A, int Am, int An,
const CHAM_desc_t *B, int Bm, int Bn)
{
......@@ -51,4 +51,6 @@ void INSERT_TASK_zlatro(const RUNTIME_option_t *options,
sizeof(void*), RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An), INPUT,
sizeof(void*), RTBLKADDR(B, CHAMELEON_Complex64_t, Bm, Bn), OUTPUT,
0);
(void)nb;
}
......@@ -36,15 +36,17 @@ void CORE_zlauum_quark(Quark *quark)
TCORE_zlauum(uplo, N, tileA);
}
void INSERT_TASK_zlauum(const RUNTIME_option_t *options,
cham_uplo_t uplo, int n, int nb,
const CHAM_desc_t *A, int Am, int An)
void INSERT_TASK_zlauum( const RUNTIME_option_t *options,
cham_uplo_t uplo, int n, int nb,
const CHAM_desc_t *A, int Am, int An )
{
quark_option_t *opt = (quark_option_t*)(options->schedopt);
DAG_CORE_LAUUM;
QUARK_Insert_Task(opt->quark, CORE_zlauum_quark, (Quark_Task_Flags*)opt,
sizeof(int), &uplo, VALUE,
sizeof(int), &n, VALUE,
sizeof(int), &n, VALUE,
sizeof(void*), RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An), INOUT,
0);
(void)nb;
}
......@@ -18,7 +18,6 @@
* @precisions normal z -> c d s
*
*/
#include <math.h>
#include "chameleon_quark.h"
#include "chameleon/tasks_z.h"
#include "coreblas/coreblas_ztile.h"
......
......@@ -59,4 +59,6 @@ void INSERT_TASK_zpotrf(const RUNTIME_option_t *options,
sizeof(RUNTIME_request_t*), &(options->request), VALUE,
sizeof(int), &iinfo, VALUE,
0);
(void)nb;
}
......@@ -59,4 +59,6 @@ void INSERT_TASK_zsytrf_nopiv(const RUNTIME_option_t *options,
sizeof(RUNTIME_request_t*), &(options->request), VALUE,
sizeof(int), &iinfo, VALUE,
0);
(void)nb;
}
......@@ -70,4 +70,6 @@ void INSERT_TASK_ztrmm( const RUNTIME_option_t *options,
sizeof(void*), RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An), INPUT,
sizeof(void*), RTBLKADDR(B, CHAMELEON_Complex64_t, Bm, Bn), INOUT,
0);
(void)nb;
}
......@@ -65,4 +65,6 @@ void INSERT_TASK_ztrsm(const RUNTIME_option_t *options,
sizeof(void*), RTBLKADDR(A, CHAMELEON_Complex64_t, Am, An), INPUT,
sizeof(void*), RTBLKADDR(B, CHAMELEON_Complex64_t, Bm, Bn), INOUT,
0);
(void)nb;
}
......@@ -62,4 +62,6 @@ void INSERT_TASK_ztrtri(const RUNTIME_option_t *options,
sizeof(RUNTIME_request_t*), &(options->request), VALUE,
sizeof(int), &iinfo, VALUE,
0);
(void)nb;
}
......@@ -20,7 +20,6 @@
* @date 2020-04-22
*
*/
#include <stdlib.h>
#include "chameleon_quark.h"
/**
......@@ -111,4 +110,4 @@ int RUNTIME_request_set( CHAM_context_t *chamctxt,
(void)param;
(void)value;
return CHAMELEON_SUCCESS;
}
\ No newline at end of file
}
......@@ -19,7 +19,6 @@
* @date 2020-03-03
*
*/
#include <stdlib.h>
#include "chameleon_quark.h"
/**
......
......@@ -20,8 +20,6 @@
* @date 2020-04-22
*
*/
#include <stdio.h>
#include <stdlib.h>
#include "chameleon_quark.h"
/**
......
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