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
1a8d7f95
Commit
1a8d7f95
authored
Jun 22, 2015
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ocl: temporary restore OpenCL tls data (ocl.cpp without fix)
parent
7213e5f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
precomp.hpp
modules/core/src/precomp.hpp
+4
-4
No files found.
modules/core/src/precomp.hpp
View file @
1a8d7f95
...
...
@@ -265,9 +265,9 @@ struct ImplCollector
struct
CoreTLSData
{
CoreTLSData
()
:
#ifdef HAVE_OPENCL
//
#ifdef HAVE_OPENCL
device
(
0
),
useOpenCL
(
-
1
),
#endif
//
#endif
useIPP
(
-
1
)
{
#ifdef HAVE_TEGRA_OPTIMIZATION
...
...
@@ -276,11 +276,11 @@ struct CoreTLSData
}
RNG
rng
;
#ifdef HAVE_OPENCL
//
#ifdef HAVE_OPENCL
int
device
;
ocl
::
Queue
oclQueue
;
int
useOpenCL
;
// 1 - use, 0 - do not use, -1 - auto/not initialized
#endif
//
#endif
int
useIPP
;
// 1 - use, 0 - do not use, -1 - auto/not initialized
#ifdef HAVE_TEGRA_OPTIMIZATION
int
useTegra
;
// 1 - use, 0 - do not use, -1 - auto/not initialized
...
...
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