Skip to content
GitLab
Projects
Groups
Snippets
/
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; };
#elif (defined(__VSX__))
template
<
>
struct
VLEN
<
float
>
{
static
constexpr
size_t
val
=
4
;
};
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
#define POCKETFFT_NO_VECTORS
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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