[oclgrind] 03/05: Squelch deprecation warning in vecadd test

James Price jprice-guest at moszumanska.debian.org
Tue Dec 8 19:48:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

jprice-guest pushed a commit to branch master
in repository oclgrind.

commit 391e50f931dbd887378b1142e4ca9fde7af63d34
Author: James Price <j.price at bristol.ac.uk>
Date:   Tue Dec 8 19:29:12 2015 +0000

    Squelch deprecation warning in vecadd test
---
 debian/patches/use-opencl-headers.patch | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/patches/use-opencl-headers.patch b/debian/patches/use-opencl-headers.patch
index 0ed31e9..62e5879 100644
--- a/debian/patches/use-opencl-headers.patch
+++ b/debian/patches/use-opencl-headers.patch
@@ -3676,3 +3676,10 @@ Last-Update: 2015-12-08
 -#endif
 -
 -#endif  /* __CL_PLATFORM_H  */
+--- a/tests/apps/vecadd/vecadd.c
++++ b/tests/apps/vecadd/vecadd.c
+@@ -1,3 +1,4 @@
++#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
+ #include <CL/cl.h>
+ #include <math.h>
+ #include <stdio.h>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/oclgrind.git



More information about the Pkg-opencl-commits mailing list