Commit f9d0115f authored by Peter Eastman's avatar Peter Eastman
Browse files

Switched back to always using the bundled cl.hpp, since the previous code...

Switched back to always using the bundled cl.hpp, since the previous code didn't work on some OpenCL implementations
parent aea33abb
......@@ -36,22 +36,7 @@
// Prevent Windows from defining macros that interfere with other code.
#define NOMINMAX
#endif
#if defined(__APPLE__) || defined(__MACOSX)
#include <OpenCL/opencl.h>
#else
#include <CL/opencl.h>
#endif
#ifdef CL_VERSION_1_1
// OpenCL C++ bindings are included with OpenCL 1.1
#if defined(__APPLE__) || defined(__MACOSX)
#include <OpenCL/cl.hpp>
#else
#include <CL/cl.hpp>
#endif
#else
// OpenCL C++ bindings are not included with OpenCL 1.0 so use a local copy.
#include <cl.hpp>
#endif
#include <cl.hpp>
#include "openmm/internal/windowsExport.h"
#include "OpenCLPlatform.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment