clover: Avoid warnings from references to deprecated CL 1.1 APIs.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 26 Apr 2014 11:19:37 +0000 (13:19 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 29 Apr 2014 11:01:37 +0000 (13:01 +0200)
Acked-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/state_trackers/clover/api/dispatch.hpp

index 9dfb2b9d022fa7729facb620a8f5cd8f01261c79..47f9e3916efa82310978018925e0e3cf69e56747 100644 (file)
@@ -23,6 +23,8 @@
 #ifndef API_DISPATCH_HPP
 #define API_DISPATCH_HPP
 
+#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
+
 #include "CL/cl.h"
 #include "CL/cl_ext.h"
 #include "CL/cl_gl.h"