add OpenCL PairBench (missing GUI, so not really useful)

This commit is contained in:
erwincoumans
2015-05-01 00:18:49 -07:00
parent aec360f158
commit aad9a5a396
9 changed files with 1174 additions and 3 deletions

View File

@@ -0,0 +1,27 @@
#ifndef GPU_DEMO_INTERNAL_DATA_H
#define GPU_DEMO_INTERNAL_DATA_H
#include "Bullet3OpenCL/Initialize/b3OpenCLInclude.h"
struct GpuDemoInternalData
{
cl_platform_id m_platformId;
cl_context m_clContext;
cl_device_id m_clDevice;
cl_command_queue m_clQueue;
bool m_clInitialized;
char* m_clDeviceName;
GpuDemoInternalData()
:m_platformId(0),
m_clContext(0),
m_clDevice(0),
m_clQueue(0),
m_clInitialized(false),
m_clDeviceName(0)
{
}
};
#endif