|
|
@ -236,6 +236,9 @@ struct CoreTLSData |
|
|
|
{ |
|
|
|
{ |
|
|
|
CoreTLSData() : device(0), useOpenCL(-1), useIPP(-1), useCollection(false) |
|
|
|
CoreTLSData() : device(0), useOpenCL(-1), useIPP(-1), useCollection(false) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
#ifdef HAVE_TEGRA_OPTIMIZATION |
|
|
|
|
|
|
|
useTegra = -1; |
|
|
|
|
|
|
|
#endif |
|
|
|
#ifdef CV_COLLECT_IMPL_DATA |
|
|
|
#ifdef CV_COLLECT_IMPL_DATA |
|
|
|
implFlags = 0; |
|
|
|
implFlags = 0; |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -246,6 +249,9 @@ struct CoreTLSData |
|
|
|
ocl::Queue oclQueue; |
|
|
|
ocl::Queue oclQueue; |
|
|
|
int useOpenCL; // 1 - use, 0 - do not use, -1 - auto/not initialized
|
|
|
|
int useOpenCL; // 1 - use, 0 - do not use, -1 - auto/not initialized
|
|
|
|
int useIPP; // 1 - use, 0 - do not use, -1 - auto/not initialized
|
|
|
|
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
|
|
|
|
|
|
|
|
#endif |
|
|
|
bool useCollection; // enable/disable impl data collection
|
|
|
|
bool useCollection; // enable/disable impl data collection
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef CV_COLLECT_IMPL_DATA |
|
|
|
#ifdef CV_COLLECT_IMPL_DATA |
|
|
|