Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
einsteinathome
libclfft
Commits
83e69711
Commit
83e69711
authored
Mar 21, 2011
by
Oliver Bock
Browse files
Use inverse fixed number of test waveform samples as norm factor
parent
1c88b7b0
Changes
1
Show whitespace changes
Inline
Side-by-side
example/main.cpp
View file @
83e69711
...
...
@@ -393,7 +393,7 @@ int runTest(clFFT_Dim3 n, int batchSize, clFFT_Direction dir, clFFT_Dimension di
#endif
int
length
=
n
.
x
*
n
.
y
*
n
.
z
*
batchSize
;
float
normFactor
=
1.0
/
(
n
.
x
*
n
.
y
*
n
.
z
)
;
float
normFactor
=
1.0
/
256.0
;
clFFT_SplitComplex
data_i_split
=
(
clFFT_SplitComplex
)
{
NULL
,
NULL
};
clFFT_SplitComplex
data_cl_split
=
(
clFFT_SplitComplex
)
{
NULL
,
NULL
};
...
...
Write
Preview
Supports
Markdown
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