Work around compiler warnings for unused variables in the generic zgemm3m_Xcopy kernels

This commit is contained in:
Martin Kroeker 2017-12-02 22:51:58 +01:00 committed by GitHub
parent bede1c4fb4
commit 8213385ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 90 additions and 0 deletions

View File

@ -67,6 +67,15 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda,
FLOAT *b_offset;
FLOAT a1, a2, a3, a4;
/* silence compiler warnings about unused-but-set variables:
depending on compile-time arguments either the odd or the
even-numbered variables will not be used */
(void)a1;
(void)a2;
(void)a3;
(void)a4;
lda *= 2;
a_offset = a;

View File

@ -67,6 +67,19 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda,
FLOAT *b_offset;
FLOAT a1, a2, a3, a4, a5, a6, a7, a8;
/* silence compiler warnings about unused-but-set variables:
depending on compile-time arguments either the odd or the
even-numbered variables will not be used */
(void)a1;
(void)a2;
(void)a3;
(void)a4;
(void)a5;
(void)a6;
(void)a7;
(void)a8;
lda *= 2;
a_offset = a;

View File

@ -69,6 +69,27 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda,
FLOAT a1, a2, a3, a4, a5, a6, a7, a8;
FLOAT a9, a10, a11, a12, a13, a14, a15, a16;
/* silence compiler warnings about unused-but-set variables:
depending on compile-time arguments either the odd or the
even-numbered variables will not be used */
(void)a1;
(void)a2;
(void)a3;
(void)a4;
(void)a5;
(void)a6;
(void)a7;
(void)a8;
(void)a9;
(void)a10;
(void)a11;
(void)a12;
(void)a13;
(void)a14;
(void)a15;
(void)a16;
#if 0
#ifdef REAL_ONLY
fprintf(stderr, "NON Real ");

View File

@ -67,6 +67,19 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda,
FLOAT *b_offset, *b_offset1, *b_offset2;
FLOAT a1, a2, a3, a4, a5, a6, a7, a8;
/* silence compiler warnings about unused-but-set variables:
depending on compile-time arguments either the odd or the
even-numbered variables will not be used */
(void)a1;
(void)a2;
(void)a3;
(void)a4;
(void)a5;
(void)a6;
(void)a7;
(void)a8;
a_offset = a;
b_offset = b;

View File

@ -67,6 +67,19 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda,
FLOAT *b_offset, *b_offset1, *b_offset2, *b_offset3;
FLOAT a1, a2, a3, a4, a5, a6, a7, a8;
/* silence compiler warnings about unused-but-set variables:
depending on compile-time arguments either the odd or the
even-numbered variables will not be used */
(void)a1;
(void)a2;
(void)a3;
(void)a4;
(void)a5;
(void)a6;
(void)a7;
(void)a8;
a_offset = a;
b_offset = b;

View File

@ -69,6 +69,27 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda,
FLOAT a1, a2, a3, a4, a5, a6, a7, a8;
FLOAT a9, a10, a11, a12, a13, a14, a15, a16;
/* silence compiler warnings about unused-but-set variables:
depending on compile-time arguments either the odd or the
even-numbered variables will not be used */
(void)a1;
(void)a2;
(void)a3;
(void)a4;
(void)a5;
(void)a6;
(void)a7;
(void)a8;
(void)a9;
(void)a10;
(void)a11;
(void)a12;
(void)a13;
(void)a14;
(void)a15;
(void)a16;
#if 0
#ifdef REAL_ONLY
fprintf(stderr, "TNS Real ");