From 64f268c8c77c428beb87c27e76fc216cb5335488 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Fri, 24 Jun 2011 17:00:54 +1000 Subject: [PATCH] Display correct worksize. --- ocl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocl.c b/ocl.c index a6d99ed8..108d6c73 100644 --- a/ocl.c +++ b/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)