Kaydet (Commit) 52f9606e authored tarafından Tor Lillqvist's avatar Tor Lillqvist

The OpenCLEnv struct is used only inside openclwrapper.cxx

Change-Id: I95fbee302213e6ced469dd7a2a1c254178159357
üst 598f25c8
......@@ -45,14 +45,6 @@ struct KernelEnv
namespace opencl {
struct OpenCLEnv
{
cl_platform_id mpOclPlatformID;
cl_context mpOclContext;
cl_device_id mpOclDevsID;
cl_command_queue mpOclCmdQueue;
};
struct GPUEnv
{
//share vb in all modules in hb library
......
......@@ -254,6 +254,14 @@ bool generatBinFromKernelSource( cl_program program, const char * clFileName )
namespace {
struct OpenCLEnv
{
cl_platform_id mpOclPlatformID;
cl_context mpOclContext;
cl_device_id mpOclDevsID;
cl_command_queue mpOclCmdQueue;
};
bool initOpenCLAttr( OpenCLEnv * env )
{
if ( gpuEnv.mnIsUserCreated )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment