diff --git a/test/OpenCL/BitonicSort/main.cpp b/test/OpenCL/BitonicSort/main.cpp index 9ca4c0411..fb1494aa0 100644 --- a/test/OpenCL/BitonicSort/main.cpp +++ b/test/OpenCL/BitonicSort/main.cpp @@ -69,82 +69,85 @@ int main(int argc, char* argv[]) cl_context context = b3OpenCLUtils::createContextFromPlatform(platform,deviceType,&ciErrNum); - int numDevices = b3OpenCLUtils::getNumDevices(context); - printf("Num Devices = %d\n", numDevices); - for (int j=0;j keyValuesGPU(context,g_cqCommandQue); - b3AlignedObjectArray keyValuesCPU; - b3AlignedObjectArray keyValuesGold; - int numValues = 8*1024*1024;//2048;//1024; - keyValuesCPU.resize(numValues); - for (int i=0;i keyValuesGPU(context,g_cqCommandQue); + b3AlignedObjectArray keyValuesCPU; + b3AlignedObjectArray keyValuesGold; + int numValues = 8*1024*1024;//2048;//1024; + keyValuesCPU.resize(numValues); + for (int i=0;i