diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-27 18:03:35 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-27 19:12:21 +0200 |
commit | abeef65da71732d8fd401fce52cc37a364aa7781 (patch) | |
tree | d4b06acc478be5beb6c644c9742d119c8cee2a79 /include/opencl | |
parent | 52f9606ed0af7acdf330eb70b84d7c9bd6abdd52 (diff) |
Put the KernelEnv struct inside the opencl namespace, too
Change-Id: I33d51b0e30445c34c792210e7c656c1d48159019
Diffstat (limited to 'include/opencl')
-rw-r--r-- | include/opencl/openclwrapper.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/opencl/openclwrapper.hxx b/include/opencl/openclwrapper.hxx index 6e520a7d0711..5fd76ea724c8 100644 --- a/include/opencl/openclwrapper.hxx +++ b/include/opencl/openclwrapper.hxx @@ -36,6 +36,8 @@ if( status != CL_SUCCESS ) \ #include <cstdio> +namespace opencl { + struct KernelEnv { cl_context mpkContext; @@ -43,8 +45,6 @@ struct KernelEnv cl_program mpkProgram; }; -namespace opencl { - struct GPUEnv { //share vb in all modules in hb library |