Browse Source

Move common.h back to the top of the file so that SKYLAKEX (from config.h) is defined in time

tags/v0.3.15
Martin Kroeker GitHub 4 years ago
parent
commit
7b294a99fd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      kernel/x86_64/sgemm_direct_skylakex.c

+ 3
- 3
kernel/x86_64/sgemm_direct_skylakex.c View File

@@ -1,10 +1,10 @@
/* the direct sgemm code written by Arjan van der Ven */
#include "common.h"

#if defined(SKYLAKEX) || defined (COOPERLAKE)

#include <immintrin.h>
#include "common.h"

/*
* "Direct sgemm" code. This code operates directly on the inputs and outputs
@@ -472,7 +472,7 @@ void CNAME (BLASLONG M, BLASLONG N, BLASLONG K, float * __restrict A, BLASLONG s
}
}
#else
#include "common.h"
void CNAME (BLASLONG M, BLASLONG N, BLASLONG K, float * __restrict A, BLASLONG strideA, float * __restrict B, BLASLONG strideB , float * __restrict R, BLASLONG strideR)
{}
#endif

Loading…
Cancel
Save