diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-27 17:56:21 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-27 19:12:21 +0200 |
commit | 52f9606ed0af7acdf330eb70b84d7c9bd6abdd52 (patch) | |
tree | c0b6bf2eb7bf80167552ca5f4e79ed06a476206c /opencl | |
parent | 598f25c85793aab78b5ecce733c65a66860d0c5c (diff) |
The OpenCLEnv struct is used only inside openclwrapper.cxx
Change-Id: I95fbee302213e6ced469dd7a2a1c254178159357
Diffstat (limited to 'opencl')
-rw-r--r-- | opencl/source/openclwrapper.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/opencl/source/openclwrapper.cxx b/opencl/source/openclwrapper.cxx index b1813754e6c4..9ce248136e4d 100644 --- a/opencl/source/openclwrapper.cxx +++ b/opencl/source/openclwrapper.cxx @@ -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 ) |