Clarifying comments
authorAlexander Karsakov <alexander.karsakov@itseez.com>
Thu, 6 Mar 2014 07:16:38 +0000 (11:16 +0400)
committerAlexander Karsakov <alexander.karsakov@itseez.com>
Thu, 6 Mar 2014 12:44:46 +0000 (16:44 +0400)
modules/ocl/src/cl_context.cpp

index 4edf1f7..156fa99 100644 (file)
@@ -598,7 +598,7 @@ protected:
 #ifdef CL_VERSION_1_2
 #ifdef WIN32
         // if process is on termination stage (ExitProcess was called and other threads were terminated)
-        // then disable command queue release because it may cause program hang
+        // then disable device release because it may cause program hang
         if (!__termination)
 #endif
         {
@@ -624,7 +624,7 @@ protected:
 
 #ifdef WIN32
         // if process is on termination stage (ExitProcess was called and other threads were terminated)
-        // then disable command queue release because it may cause program hang
+        // then disable context release because it may cause program hang
         if (!__termination)
 #endif
         {