Browse Source

Display correct worksize.

ckolivas 14 years ago
parent
commit
64f268c8c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ocl.c

+ 2 - 2
ocl.c

@@ -341,8 +341,8 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
 	} else if (opt_debug)
 		applog(LOG_DEBUG, "cl_amd_media_ops not found, will not BFI_INT patch");
 
-	applog(LOG_INFO, "Initialising kernel with%s BFI_INT patching, %d vectors and %d worksize",
-	       hasBitAlign ? "" : "out", clState->preferred_vwidth, clState->max_work_size);
+	applog(LOG_INFO, "Initialising kernel with%s BFI_INT patching, %d vectors and worksize %d",
+	       hasBitAlign ? "" : "out", clState->preferred_vwidth, clState->max_work_size / clState->preferred_vwidth);
 
 	clState->program = clCreateProgramWithSource(clState->context, 1, (const char **)&source, sourceSize, &status);
 	if(status != CL_SUCCESS)