Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libclfft
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
einsteinathome
libclfft
Commits
8f79fa0b
Commit
8f79fa0b
authored
14 years ago
by
Oliver Bock
Browse files
Options
Downloads
Patches
Plain Diff
Fixed compiler warnings
parent
a36e2db1
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
example/main.cpp
+0
-7
0 additions, 7 deletions
example/main.cpp
src/fft_execute.cpp
+2
-2
2 additions, 2 deletions
src/fft_execute.cpp
with
2 additions
and
9 deletions
example/main.cpp
+
0
−
7
View file @
8f79fa0b
...
...
@@ -48,15 +48,8 @@ int runTest(clFFT_Dim3 n, int batchSize, clFFT_Direction dir, clFFT_Dimension di
{
cl_int
err
=
CL_SUCCESS
;
int
iter
;
double
t
;
uint64_t
t0
,
t1
;
int
mx
=
log2
(
n
.
x
);
int
my
=
log2
(
n
.
y
);
int
mz
=
log2
(
n
.
z
);
int
length
=
n
.
x
*
n
.
y
*
n
.
z
*
batchSize
;
double
gflops
=
5e-9
*
((
double
)
mx
+
(
double
)
my
+
(
double
)
mz
)
*
(
double
)
n
.
x
*
(
double
)
n
.
y
*
(
double
)
n
.
z
*
(
double
)
batchSize
*
(
double
)
numIter
;
clFFT_SplitComplex
data_i_split
=
(
clFFT_SplitComplex
)
{
NULL
,
NULL
};
clFFT_SplitComplex
data_cl_split
=
(
clFFT_SplitComplex
)
{
NULL
,
NULL
};
...
...
This diff is collapsed.
Click to expand it.
src/fft_execute.cpp
+
2
−
2
View file @
8f79fa0b
...
...
@@ -85,7 +85,7 @@ clFFT_ExecuteInterleaved( cl_command_queue queue, clFFT_Plan Plan, cl_int batchS
cl_int
err
;
size_t
gWorkItems
,
lWorkItems
;
int
inPlaceDone
;
int
inPlaceDone
=
0
;
cl_int
isInPlace
=
data_in
==
data_out
?
1
:
0
;
...
...
@@ -183,7 +183,7 @@ clFFT_ExecutePlannar( cl_command_queue queue, clFFT_Plan Plan, cl_int batchSize,
cl_int
err
;
size_t
gWorkItems
,
lWorkItems
;
int
inPlaceDone
;
int
inPlaceDone
=
0
;
cl_int
isInPlace
=
((
data_in_real
==
data_out_real
)
&&
(
data_in_imag
==
data_out_imag
))
?
1
:
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment