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
6 changed files with 90 additions and 0 deletions
+13
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;