svn path=/trunk/boinc/; revision=22066

This commit is contained in:
Tuan Le 2010-07-26 21:37:08 +00:00
parent e2be96ff76
commit 56abe73118
1 changed files with 2 additions and 2 deletions

View File

@ -457,9 +457,9 @@ int initialize_cl(void) {
cl_int status = 0;
size_t deviceListSize;
localThreads[0] = 400;
localThreads[0] = LOCAL_WORK_SIZE;
// rounded up to the nearest multiple of the LocalWorkSize
globalThreads[0] = shrRoundUp(400,width*height);
globalThreads[0] = shrRoundUp((int)(localThreads[0]),width*height);
/*
* Have a look at the available platforms and pick either