expose number of instances

export 'getKeyboardCallback' for chaining
This commit is contained in:
erwin coumans
2013-03-14 12:53:03 -07:00
parent 0aa7c97874
commit 5784d6ce0b
11 changed files with 203 additions and 10 deletions

View File

@@ -40,9 +40,9 @@ void GpuDemo::initCL(int preferredDeviceIndex, int preferredPlatformIndex)
int ciErrNum = 0;
//#ifdef CL_PLATFORM_INTEL
// cl_device_type deviceType = CL_DEVICE_TYPE_ALL;
cl_device_type deviceType = CL_DEVICE_TYPE_ALL;
//#else
cl_device_type deviceType = CL_DEVICE_TYPE_GPU;
//cl_device_type deviceType = CL_DEVICE_TYPE_CPU;
//#endif