Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
dcf7a694
Commit
dcf7a694
authored
Feb 26, 2013
by
Andrey Kamaev
Committed by
OpenCV Buildbot
Feb 26, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #555 from bitwangyaoyao:2.4_fixFft
parents
0d12f451
04faaa9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
fft.cpp
modules/ocl/src/fft.cpp
+4
-0
initialization.cpp
modules/ocl/src/initialization.cpp
+2
-0
No files found.
modules/ocl/src/fft.cpp
View file @
dcf7a694
...
...
@@ -54,6 +54,10 @@ void cv::ocl::dft(const oclMat&, oclMat&, Size, int)
{
CV_Error
(
CV_StsNotImplemented
,
"OpenCL DFT is not implemented"
);
}
namespace
cv
{
namespace
ocl
{
void
fft_teardown
();
}}
void
cv
::
ocl
::
fft_teardown
(){}
#else
#include "clAmdFft.h"
namespace
cv
...
...
modules/ocl/src/initialization.cpp
View file @
dcf7a694
...
...
@@ -65,6 +65,7 @@ namespace cv
{
namespace
ocl
{
extern
void
fft_teardown
();
/*
* The binary caching system to eliminate redundant program source compilation.
* Strictly, this is not a cache because we do not implement evictions right now.
...
...
@@ -877,6 +878,7 @@ namespace cv
}
void
Info
::
release
()
{
fft_teardown
();
if
(
impl
->
oclplatform
)
{
impl
->
oclplatform
=
0
;
...
...
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