summaryrefslogtreecommitdiff
path: root/include/opencl
diff options
context:
space:
mode:
Diffstat (limited to 'include/opencl')
-rw-r--r--include/opencl/openclwrapper.hxx4
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