From abeef65da71732d8fd401fce52cc37a364aa7781 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 27 Nov 2014 18:03:35 +0200 Subject: Put the KernelEnv struct inside the opencl namespace, too Change-Id: I33d51b0e30445c34c792210e7c656c1d48159019 --- include/opencl/openclwrapper.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/opencl/openclwrapper.hxx') 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 +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 -- cgit