compute actual local workgroup size, instead of a hard-coded value
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user