From 149388bfe5069aaefe7bbcd43cca59703e42531d Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 10 Mar 2013 15:47:28 +0000 Subject: Commit POURRI : problème de synchro pb GPU/CPU MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/svn/2013-gpudataviz/trunk@21 371a6b4a-a258-45f8-9dcc-bdd82ce0ac9d --- src/opencl_mesh_kit.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/opencl_mesh_kit.hpp') diff --git a/src/opencl_mesh_kit.hpp b/src/opencl_mesh_kit.hpp index f99c6c2..ee6bfa5 100644 --- a/src/opencl_mesh_kit.hpp +++ b/src/opencl_mesh_kit.hpp @@ -3,6 +3,7 @@ #include #include #include +#include #ifndef STRINGIFY #define STRINGIFY(x) #x @@ -14,7 +15,7 @@ class OpenCLMeshKit //RAII is violated but it is really triky to do differently cl_int initCL(intptr_t gl_display, intptr_t gl_context, intptr_t gl_vbo, size_t meshWidth, size_t meshHeight, size_t groupSize); cl_int compileKernels(std::list names, const char source[], size_t sourceLen); - cl_int execKernel(std::string kernelName, float time); + cl_int execKernel(std::string kernelName, float karg_time); void releaseKernels(); size_t getMeshWidth(); -- cgit v1.2.3