compute actual local workgroup size, instead of a hard-coded value

This commit is contained in:
erwin coumans
2013-05-01 10:04:56 -07:00
parent 6d21d10cb4
commit 3438d1c8f6
3 changed files with 13 additions and 0 deletions

View File

@@ -6,15 +6,20 @@
struct b3BitonicSortInfo
{
cl_command_queue m_cqCommandQue;
cl_device_id dev;
cl_kernel bitonicSortLocal;
cl_kernel bitonicSortLocal1;
cl_kernel bitonicSortMergeGlobal;
cl_kernel bitonicSortMergeLocal;
unsigned int dir;
unsigned int localSizeLimit;
b3BitonicSortInfo()
{
dev = 0;
m_cqCommandQue = 0;
bitonicSortLocal=0;
bitonicSortLocal1=0;
bitonicSortMergeGlobal=0;