Skip to content

Commit be7d460

Browse files
committed
Add more comments to the members of CoreTLSData related to OpenCL.
1 parent 08c6ffa commit be7d460

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/core/src/precomp.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ struct CoreTLSData
272272

273273
RNG rng;
274274
//#ifdef HAVE_OPENCL
275-
int device;
276-
ocl::Queue oclQueue;
275+
int device; // device index of an array of devices in a context, see also Device::getDefault
276+
ocl::Queue oclQueue; // the queue used for running a kernel, see also getQueue, Kernel::run
277277
int useOpenCL; // 1 - use, 0 - do not use, -1 - auto/not initialized
278278
//#endif
279279
int useIPP; // 1 - use, 0 - do not use, -1 - auto/not initialized

0 commit comments

Comments
 (0)