Commit adcc4cc3 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Silent the context warnings

parent 2ba61d45
......@@ -24,9 +24,9 @@
#include "chameleon/morse_tasks_z.h"
#include "coreblas/coreblas_z.h"
static int
CORE_dzasum_parsec(parsec_execution_stream_t *context,
parsec_task_t *this_task)
static inline int
CORE_dzasum_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *storev;
MORSE_enum *uplo;
......@@ -48,6 +48,7 @@ CORE_dzasum_parsec(parsec_execution_stream_t *context,
CORE_dzasum(*storev, *uplo, *M, *N, A, *lda, work);
(void)context;
return 0;
}
......
......@@ -24,8 +24,9 @@
#include "chameleon/morse_tasks_z.h"
#include "coreblas/coreblas_z.h"
static int
CORE_zaxpy_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zaxpy_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
int *M;
MORSE_Complex64_t *alpha;
......@@ -45,6 +46,7 @@ CORE_zaxpy_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_zaxpy(*M, *alpha, A, *incA, B, *incB);
(void)context;
return 0;
}
......
......@@ -27,8 +27,8 @@
#include "coreblas/coreblas_z.h"
static inline int
CORE_zbuild_parsec(parsec_execution_stream_t *context,
parsec_task_t *this_task)
CORE_zbuild_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_Complex64_t *A;
int lda;
......@@ -49,6 +49,8 @@ CORE_zbuild_parsec(parsec_execution_stream_t *context,
user_build_callback(row_min, row_max, col_min, col_max, A, lda, user_data);
(void)context;
(void)context;
return 0;
}
......
......@@ -29,8 +29,9 @@
#include "chameleon/morse_tasks_z.h"
#include "coreblas/coreblas_z.h"
static int
CORE_zgeadd_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zgeadd_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *trans;
int *M;
......@@ -56,6 +57,7 @@ CORE_zgeadd_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_zgeadd(*trans, *M, *N, *alpha, A, *LDA, *beta, B, *LDB);
(void)context;
return 0;
}
......
......@@ -85,8 +85,9 @@
* \retval <0 if -i, the i-th argument had an illegal value
*
******************************************************************************/
static int
CORE_zgelqt_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zgelqt_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
int *m;
int *n;
......@@ -112,6 +113,7 @@ CORE_zgelqt_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_zgelqt(*m, *n, *ib, A, *lda, T, *ldt, TAU, WORK);
(void)context;
return 0;
}
......
......@@ -29,9 +29,10 @@
* @ingroup CORE_MORSE_Complex64_t
*
**/
static int
CORE_zgemm_parsec(parsec_execution_stream_t *context,
parsec_task_t *this_task)
static inline int
CORE_zgemm_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *transA;
MORSE_enum *transB;
......@@ -68,6 +69,7 @@ CORE_zgemm_parsec(parsec_execution_stream_t *context,
B, *ldb,
*beta, C, *ldc);
(void)context;
return 0;
}
......
......@@ -86,8 +86,9 @@
* \retval <0 if -i, the i-th argument had an illegal value
*
******************************************************************************/
static int
CORE_zgeqrt_parsec (parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zgeqrt_parsec ( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
int *m;
int *n;
......@@ -113,6 +114,7 @@ CORE_zgeqrt_parsec (parsec_execution_stream_t *context, parsec_task_t *this_task
CORE_zgeqrt(*m, *n, *ib, A, *lda, T, *ldt, TAU, WORK);
(void)context;
return 0;
}
......
......@@ -69,8 +69,9 @@
* \retval <0 if INFO = -k, the k-th argument had an illegal value
*
******************************************************************************/
static int
CORE_zgessm_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zgessm_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
int *m;
int *n;
......@@ -100,6 +101,7 @@ CORE_zgessm_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_zgessm(*m, *n, *k, *ib, IPIV, D, *ldd, A, *lda);
(void)context;
return 0;
}
......
......@@ -24,8 +24,9 @@
#include "chameleon/morse_tasks_z.h"
#include "coreblas/coreblas_z.h"
static int
CORE_zgessq_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zgessq_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
int *m;
int *n;
......@@ -43,6 +44,7 @@ CORE_zgessq_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_zgessq( *m, *n, A, *lda, SCALESUMSQ, SCALESUMSQ+1);
(void)context;
return 0;
}
......
......@@ -24,8 +24,9 @@
#include "chameleon/morse_tasks_z.h"
#include "coreblas/coreblas_z.h"
static int
CORE_zgetrf_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zgetrf_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
int *m;
int *n;
......@@ -48,6 +49,7 @@ CORE_zgetrf_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_zgetrf( *m, *n, A, *lda, IPIV, &info );
(void)context;
return 0;
}
......
......@@ -78,8 +78,9 @@
* to solve a system of equations.
*
******************************************************************************/
static int
CORE_zgetrf_incpiv_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zgetrf_incpiv_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
int *m;
int *n;
......@@ -105,6 +106,7 @@ CORE_zgetrf_incpiv_parsec(parsec_execution_stream_t *context, parsec_task_t *thi
CORE_zgetrf_incpiv(*m, *n, *ib, A, *lda, IPIV, &info);
(void)context;
return 0;
}
......
......@@ -71,8 +71,9 @@
* to solve a system of equations.
*
******************************************************************************/
static int
CORE_zgetrf_nopiv_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zgetrf_nopiv_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
int *m;
int *n;
......@@ -93,6 +94,7 @@ CORE_zgetrf_nopiv_parsec(parsec_execution_stream_t *context, parsec_task_t *this
CORE_zgetrf_nopiv(*m, *n, *ib, A, *lda, &info);
(void)context;
return 0;
}
......
......@@ -30,8 +30,8 @@
*
**/
static inline int
CORE_zhe2ge_parsec(parsec_execution_stream_t *context,
parsec_task_t *this_task)
CORE_zhe2ge_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *uplo;
int *M;
......@@ -52,6 +52,9 @@ CORE_zhe2ge_parsec(parsec_execution_stream_t *context,
UNPACK_VALUE, &LDB);
CORE_zhe2ge(*uplo, *M, *N, A, *LDA, B, *LDB);
(void)context;
return 0;
}
......
......@@ -29,8 +29,9 @@
* @ingroup CORE_MORSE_Complex64_t
*
**/
static int
CORE_zhemm_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zhemm_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *side;
MORSE_enum *uplo;
......@@ -65,6 +66,7 @@ CORE_zhemm_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
B, *LDB,
*beta, C, *LDC);
(void)context;
return 0;
}
......
......@@ -29,8 +29,9 @@
* @ingroup CORE_MORSE_Complex64_t
*
**/
static int
CORE_zher2k_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zher2k_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *uplo;
MORSE_enum *trans;
......@@ -65,6 +66,7 @@ CORE_zher2k_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
B, *ldb,
*beta, C, *ldc);
(void)context;
return 0;
}
......
......@@ -27,8 +27,8 @@
#include "coreblas/coreblas_z.h"
static inline int
CORE_zherfb_parsec(parsec_execution_stream_t *context,
parsec_task_t *this_task)
CORE_zherfb_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *uplo;
int *n;
......@@ -63,6 +63,9 @@ CORE_zherfb_parsec(parsec_execution_stream_t *context,
CORE_zherfb(*uplo, *n, *k, *ib, *nb,
A, *lda, T, *ldt,
C, *ldc, WORK, *ldwork);
(void)context;
return 0;
}
void MORSE_TASK_zherfb(const MORSE_option_t *options,
......
......@@ -30,8 +30,9 @@
*
**/
static int
CORE_zherk_parsec(parsec_execution_stream_t *context, parsec_task_t * this_task)
static inline int
CORE_zherk_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *uplo;
MORSE_enum *trans;
......@@ -61,6 +62,7 @@ CORE_zherk_parsec(parsec_execution_stream_t *context, parsec_task_t * this_task)
*alpha, A, *lda,
*beta, C, *ldc);
(void)context;
return 0;
}
......
......@@ -24,8 +24,9 @@
#include "chameleon/morse_tasks_z.h"
#include "coreblas/coreblas_z.h"
static int
CORE_zhessq_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zhessq_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *uplo;
int *n;
......@@ -43,6 +44,7 @@ CORE_zhessq_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_zhessq( *uplo, *n, A, *lda, &SCALESUMSQ[0], &SCALESUMSQ[1]);
(void)context;
return 0;
}
......
......@@ -29,8 +29,9 @@
* @ingroup CORE_MORSE_Complex64_t
*
**/
static int
CORE_zlacpyx_parsec(parsec_execution_stream_t *context, parsec_task_t * this_task)
static inline int
CORE_zlacpyx_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *uplo;
int *M;
......@@ -56,6 +57,7 @@ CORE_zlacpyx_parsec(parsec_execution_stream_t *context, parsec_task_t * this_tas
CORE_zlacpy(*uplo, *M, *N, A + (*displA), *LDA, B + (*displB), *LDB);
(void)context;
return 0;
}
......
......@@ -29,8 +29,9 @@
* @ingroup CORE_MORSE_Complex64_t
*
**/
static int
CORE_zlag2c_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zlag2c_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
int *m;
int *n;
......@@ -51,6 +52,7 @@ CORE_zlag2c_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_zlag2c( *m, *n, A, *lda, B, *ldb);
(void)context;
return 0;
}
......@@ -76,7 +78,7 @@ void MORSE_TASK_zlag2c(const MORSE_option_t *options,
* @ingroup CORE_MORSE_Complex64_t
*
**/
static int
static inline int
CORE_clag2z_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
{
int *m;
......@@ -97,6 +99,7 @@ CORE_clag2z_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_clag2z( *m, *n, A, *lda, B, *ldb );
(void)context;
return 0;
}
......
......@@ -24,8 +24,9 @@
#include "chameleon/morse_tasks_z.h"
#include "coreblas/coreblas_z.h"
static int
CORE_zlange_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zlange_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *norm;
int *M;
......@@ -47,6 +48,7 @@ CORE_zlange_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_zlange( *norm, *M, *N, A, *LDA, work, normA );
(void)context;
return 0;
}
......@@ -72,8 +74,9 @@ void MORSE_TASK_zlange(const MORSE_option_t *options,
}
#if defined(PRECISION_d) || defined(PRECISION_s)
static int
CORE_zlange_max_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zlange_max_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
double *A;
double *normA;
......@@ -86,6 +89,7 @@ CORE_zlange_max_parsec(parsec_execution_stream_t *context, parsec_task_t *this_t
if ( *A > *normA )
*normA = *A;
(void)context;
return 0;
}
......
......@@ -24,8 +24,9 @@
#include "chameleon/morse_tasks_z.h"
#include "coreblas/coreblas_z.h"
static int
CORE_zlanhe_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zlanhe_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *norm;
MORSE_enum *uplo;
......@@ -47,6 +48,7 @@ CORE_zlanhe_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_zlanhe( *norm, *uplo, *N, A, *LDA, work, normA);
(void)context;
return 0;
}
......
......@@ -24,8 +24,9 @@
#include "chameleon/morse_tasks_z.h"
#include "coreblas/coreblas_z.h"
static int
CORE_zlansy_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zlansy_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
int *norm;
MORSE_enum *uplo;
......@@ -47,6 +48,7 @@ CORE_zlansy_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_zlansy( *norm, *uplo, *N, A, *LDA, work, normA);
(void)context;
return 0;
}
......
......@@ -24,8 +24,9 @@
#include "chameleon/morse_tasks_z.h"
#include "coreblas/coreblas_z.h"
static int
CORE_zlantr_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zlantr_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *norm, *uplo, *diag;
int *M;
......@@ -49,6 +50,7 @@ CORE_zlantr_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
CORE_zlantr( *norm, *uplo, *diag, *M, *N, A, *LDA, work, normA);
(void)context;
return 0;
}
......
......@@ -39,8 +39,8 @@
*
**/
static inline int
CORE_zlascal_parsec(parsec_execution_stream_t *context,
parsec_task_t *this_task)
CORE_zlascal_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *uplo;
int *M;
......@@ -59,6 +59,9 @@ CORE_zlascal_parsec(parsec_execution_stream_t *context,
UNPACK_VALUE, &LDA);
CORE_zlascal(*uplo, *M, *N, *alpha, A, *LDA);
(void)context;
return 0;
}
void MORSE_TASK_zlascal(const MORSE_option_t *options,
......
......@@ -59,8 +59,9 @@
* The leading dimension of the array A. LDA >= max(1,M).
*
**/
static int
CORE_zlaset_parsec(parsec_execution_stream_t *context, parsec_task_t * this_task)
static inline int
CORE_zlaset_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *uplo;
int *M;
......@@ -82,6 +83,7 @@ CORE_zlaset_parsec(parsec_execution_stream_t *context, parsec_task_t * this_task
CORE_zlaset(*uplo, *M, *N, *alpha, *beta, A, *LDA);
(void)context;
return 0;
}
......
......@@ -57,8 +57,9 @@
* The leading dimension of the array A. LDA >= max(1,M).
*
**/
static int
CORE_zlaset2_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task)
static inline int
CORE_zlaset2_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{
MORSE_enum *uplo;
int *M;
......@@ -78,6 +79,7 @@ CORE_zlaset2_parsec(parsec_execution_stream_t *context, parsec_task_t *this_task
CORE_zlaset2(*uplo, *M, *N, *alpha, A, *LDA);
(void)context;
return 0;
}
......
......@@ -26,8 +26,8 @@
#include "coreblas/coreblas_z.h"
static inline int
CORE_zlatro_parsec(parsec_execution_stream_t *context,
parsec_task_t *this_task)
CORE_zlatro_parsec( parsec_execution_stream_t *context,
parsec_task_t *this_task )
{