From be7d4608fb31c616a305402c354b4d18c9620e89 Mon Sep 17 00:00:00 2001 From: "KUANG, Fangjun" Date: Sun, 12 Mar 2017 16:13:00 +0100 Subject: [PATCH] Add more comments to the members of CoreTLSData related to OpenCL. --- modules/core/src/precomp.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/precomp.hpp b/modules/core/src/precomp.hpp index 69446beb2a..6a63e84ef6 100644 --- a/modules/core/src/precomp.hpp +++ b/modules/core/src/precomp.hpp @@ -272,8 +272,8 @@ struct CoreTLSData RNG rng; //#ifdef HAVE_OPENCL - int device; - ocl::Queue oclQueue; + int device; // device index of an array of devices in a context, see also Device::getDefault + ocl::Queue oclQueue; // the queue used for running a kernel, see also getQueue, Kernel::run int useOpenCL; // 1 - use, 0 - do not use, -1 - auto/not initialized //#endif int useIPP; // 1 - use, 0 - do not use, -1 - auto/not initialized