Browse Source
Merge pull request #3140 from martin-frbg/issue3139
Fix compilation on older x86_64 targets with old compilers that lack intrinsics support
tags/v0.3.14^2
Martin Kroeker
GitHub
4 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
1 deletions
-
kernel/x86_64/sgemm_direct_skylakex.c
|
|
|
@@ -1,8 +1,11 @@ |
|
|
|
/* the direct sgemm code written by Arjan van der Ven */ |
|
|
|
|
|
|
|
|
|
|
|
#if defined(SKYLAKEX) || defined (COOPERLAKE) |
|
|
|
|
|
|
|
#include <immintrin.h> |
|
|
|
#include "common.h" |
|
|
|
|
|
|
|
#if defined(SKYLAKEX) || defined (COOPERLAKE) |
|
|
|
/* |
|
|
|
* "Direct sgemm" code. This code operates directly on the inputs and outputs |
|
|
|
* of the sgemm call, avoiding the copies, memory realignments and threading, |
|
|
|
|