Mesa (master): clover: Avoid warnings from references to deprecated CL 1.1 APIs.
Francisco Jerez
currojerez at kemper.freedesktop.org
Tue Apr 29 11:05:11 UTC 2014
Module: Mesa
Branch: master
Commit: df985cc8f649fa533737ac71b60db00b9b0c6d41
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=df985cc8f649fa533737ac71b60db00b9b0c6d41
Author: Francisco Jerez <currojerez at riseup.net>
Date: Sat Apr 26 13:19:37 2014 +0200
clover: Avoid warnings from references to deprecated CL 1.1 APIs.
Acked-by: Tom Stellard <thomas.stellard at amd.com>
---
src/gallium/state_trackers/clover/api/dispatch.hpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/state_trackers/clover/api/dispatch.hpp b/src/gallium/state_trackers/clover/api/dispatch.hpp
index 9dfb2b9..47f9e39 100644
--- a/src/gallium/state_trackers/clover/api/dispatch.hpp
+++ b/src/gallium/state_trackers/clover/api/dispatch.hpp
@@ -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"
More information about the mesa-commit
mailing list