Permalink
Browse files

Merge pull request #908 from CDLuminate/really-fix-arm64-build

simd.h: really fix the arm64 (i.e. Aarch64) build
  • Loading branch information...
2 parents 4232831 + dff3d06 commit ee860fc177a3880706401bfb59c92c606715d235 @soumith soumith committed on GitHub Jan 11, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/TH/generic/simd/simd.h
@@ -53,7 +53,7 @@ enum SIMDExtensions
};
-#if defined(__arm__) || defined(__NEON__)
+#if defined(__arm__) || defined(__aarch64__) // incl. armel, armhf, arm64
#if defined(__NEON__)
@@ -80,7 +80,7 @@ static inline uint32_t detectHostSIMDExtensions()
return SIMDExtension_VSX;
}
- #else
+ #else //PPC64 without VSX
static inline uint32_t detectHostSIMDExtensions()
{

0 comments on commit ee860fc

Please sign in to comment.