Kaydet (Commit) 726ff5d2 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin unused OPENCLWRAPPER_CL_MAP_WRITE_FLAG

Change-Id: I004836b811ddac5a62215507e280e460ad50e8fa
üst 2435dfef
...@@ -23,20 +23,6 @@ ...@@ -23,20 +23,6 @@
#include "clcc/clew.h" #include "clcc/clew.h"
// CL_MAP_WRITE_INVALIDATE_REGION is new in OpenCL 1.2.
// When compiling against an older OpenCL, use CL_MAP_WRITE.
// FIXME: But what if this code has been compiled against OpenCL 1.2
// headers but then runs against an OpenCL 1.1 implementation?
// Probably the code should check at run-time the version of the
// OpenCL implementation and choose which flag to use based on that.
#ifdef CL_MAP_WRITE_INVALIDATE_REGION
#define OPENCLWRAPPER_CL_MAP_WRITE_FLAG CL_MAP_WRITE_INVALIDATE_REGION
#else
#define OPENCLWRAPPER_CL_MAP_WRITE_FLAG CL_MAP_WRITE
#endif
#define MaxTextExtent 4096 #define MaxTextExtent 4096
//support AMD opencl //support AMD opencl
#define CL_QUEUE_THREAD_HANDLE_AMD 0x403E #define CL_QUEUE_THREAD_HANDLE_AMD 0x403E
......
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