[oclgrind] 01/01: Fix signed char issue causing several test failures

James Price jprice-guest at moszumanska.debian.org
Fri Jan 20 10:45:49 UTC 2017


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

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

commit b1fe97797f9d83f9bfcc20f7058a9850699dfb6c
Author: James Price <j.price at bristol.ac.uk>
Date:   Fri Jan 20 10:42:47 2017 +0000

    Fix signed char issue causing several test failures
---
 debian/changelog                 |  6 ++++++
 debian/patches/series            |  1 +
 debian/patches/signed-char.patch | 15 +++++++++++++++
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3165c6e..ff57a6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+oclgrind (16.10-3) unstable; urgency=low
+
+  * Fix signed char issue causing several test failures
+
+ -- James Price <j.price at bristol.ac.uk>  Fri, 20 Jan 2017 10:41:03 +0000
+
 oclgrind (16.10-2) unstable; urgency=low
 
   * Fix armhf test failures (Closes: #851828)
diff --git a/debian/patches/series b/debian/patches/series
index 69b1ca1..719d209 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ use-opencl-headers.patch
 altivec-fix.patch
 align-alloc.patch
 big-endian.patch
+signed-char.patch
diff --git a/debian/patches/signed-char.patch b/debian/patches/signed-char.patch
new file mode 100644
index 0000000..ba9c6e2
--- /dev/null
+++ b/debian/patches/signed-char.patch
@@ -0,0 +1,15 @@
+Author: James Price <j.price at bristol.ac.uk>
+Description: Fix signed char issue
+Origin: upstream commit 9df2d17
+Last-Update: 2017-01-20
+--- a/src/kernel/Simulation.cpp
++++ b/src/kernel/Simulation.cpp
+@@ -748,7 +748,7 @@
+ 
+     switch (itr->type)
+     {
+-      DUMP_TYPE(TYPE_CHAR, char);
++      DUMP_TYPE(TYPE_CHAR, int8_t);
+       DUMP_TYPE(TYPE_UCHAR, uint8_t);
+       DUMP_TYPE(TYPE_SHORT, int16_t);
+       DUMP_TYPE(TYPE_USHORT, uint16_t);

-- 
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