Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Reinecke
pypocketfft
Commits
58bec02a
Commit
58bec02a
authored
Jul 16, 2020
by
Peter Bell
Browse files
Enable vectorization on arm when compiled with -mfpu=neon
parent
110381ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
pocketfft_hdronly.h
View file @
58bec02a
...
@@ -140,6 +140,9 @@ template<> struct VLEN<double> { static constexpr size_t val=2; };
...
@@ -140,6 +140,9 @@ template<> struct VLEN<double> { static constexpr size_t val=2; };
#elif (defined(__VSX__))
#elif (defined(__VSX__))
template
<
>
struct
VLEN
<
float
>
{
static
constexpr
size_t
val
=
4
;
};
template
<
>
struct
VLEN
<
float
>
{
static
constexpr
size_t
val
=
4
;
};
template
<
>
struct
VLEN
<
double
>
{
static
constexpr
size_t
val
=
2
;
};
template
<
>
struct
VLEN
<
double
>
{
static
constexpr
size_t
val
=
2
;
};
#elif (defined(__ARM_NEON__))
template
<
>
struct
VLEN
<
float
>
{
static
constexpr
size_t
val
=
4
;
};
template
<
>
struct
VLEN
<
double
>
{
static
constexpr
size_t
val
=
2
;
};
#else
#else
#define POCKETFFT_NO_VECTORS
#define POCKETFFT_NO_VECTORS
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment