Minor C code fixes in driver/

This commit is contained in:
Ralph Campbell
2015-09-03 17:57:06 +05:30
committed by Ashwin Sekhar T K
parent c053559ed9
commit fbc21266e6
21 changed files with 8 additions and 42 deletions

View File

@@ -45,13 +45,11 @@ const static FLOAT dp1 = 1.;
int CNAME(BLASLONG n, BLASLONG k, FLOAT *a, BLASLONG lda, FLOAT *b, BLASLONG incb, void *buffer){
BLASLONG i;
FLOAT *gemvbuffer = (FLOAT *)buffer;
FLOAT *B = b;
BLASLONG length;
if (incb != 1) {
B = buffer;
gemvbuffer = (FLOAT *)(((BLASLONG)buffer + n * sizeof(FLOAT) + 4095) & ~4095);
COPY_K(n, b, incb, buffer, 1);
}