diff options
author | Soumith Chintala <soumith@gmail.com> | 2016-10-12 16:20:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-12 16:20:18 +0300 |
commit | 4a7b30fe61bfb71bba196b92df6da3cd4f4b917c (patch) | |
tree | e395d1cf3aad6df70277f00c5157508fba1fdf4c | |
parent | 04e1d1dce0f02aea82dc433c4f39e42650c4390f (diff) | |
parent | e7e95aefa6c2ff042d16566b7a69f178aad041db (diff) |
Merge pull request #793 from howard0su/master
Fix build when NEON is supported
-rw-r--r-- | lib/TH/generic/THVectorDispatch.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/TH/generic/THVectorDispatch.c b/lib/TH/generic/THVectorDispatch.c index 2f1a556..eae5073 100644 --- a/lib/TH/generic/THVectorDispatch.c +++ b/lib/TH/generic/THVectorDispatch.c @@ -16,7 +16,7 @@ static void (*THVector_(fill_DISPATCHPTR))(real *, const real, const ptrdiff_t) static FunctionDescription THVector_(fill_DISPATCHTABLE)[] = { #if defined(__NEON__) #if defined(TH_REAL_IS_FLOAT) - FUNCTION_IMPL(THVector_(fill_NEON), SIMDExtension_NEON); + FUNCTION_IMPL(THVector_(fill_NEON), SIMDExtension_NEON), #endif #endif @@ -37,7 +37,7 @@ static void (*THVector_(add_DISPATCHPTR))(real *, const real *, const real, cons static FunctionDescription THVector_(add_DISPATCHTABLE)[] = { #if defined(__NEON__) #if defined(TH_REAL_IS_FLOAT) - FUNCTION_IMPL(THVector_(add_NEON), SIMDExtension_NEON); + FUNCTION_IMPL(THVector_(add_NEON), SIMDExtension_NEON), #endif #endif @@ -59,7 +59,7 @@ static void (*THVector_(diff_DISPATCHPTR))(real *, const real *, const real *, c static FunctionDescription THVector_(diff_DISPATCHTABLE)[] = { #if defined(__NEON__) #if defined(TH_REAL_IS_FLOAT) - FUNCTION_IMPL(THVector_(diff_NEON), SIMDExtension_NEON); + FUNCTION_IMPL(THVector_(diff_NEON), SIMDExtension_NEON), #endif #endif @@ -81,7 +81,7 @@ static void (*THVector_(scale_DISPATCHPTR))(real *, const real, const ptrdiff_t) static FunctionDescription THVector_(scale_DISPATCHTABLE)[] = { #if defined(__NEON__) #if defined(TH_REAL_IS_FLOAT) - FUNCTION_IMPL(THVector_(scale_NEON), SIMDExtension_NEON); + FUNCTION_IMPL(THVector_(scale_NEON), SIMDExtension_NEON), #endif #endif @@ -103,7 +103,7 @@ static void (*THVector_(mul_DISPATCHPTR))(real *, const real *, const ptrdiff_t) static FunctionDescription THVector_(mul_DISPATCHTABLE)[] = { #if defined(__NEON__) #if defined(TH_REAL_IS_FLOAT) - FUNCTION_IMPL(THVector_(mul_NEON), SIMDExtension_NEON); + FUNCTION_IMPL(THVector_(mul_NEON), SIMDExtension_NEON), #endif #endif |