[beignet] 02/06: Fix debug-build-breaking typo in test suite
Rebecca Palmer
rnpalmer-guest at moszumanska.debian.org
Mon Nov 17 22:29:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
rnpalmer-guest pushed a commit to branch master
in repository beignet.
commit f382611880a2edb72a079e1536d476555901ebe5
Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
Date: Mon Nov 17 16:15:57 2014 +0000
Fix debug-build-breaking typo in test suite
http://lists.freedesktop.org/archives/beignet/2014-November/004494.html
---
debian/patches/Enable-test-debug.patch | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/debian/patches/Enable-test-debug.patch b/debian/patches/Enable-test-debug.patch
index aa5ec80..9eba999 100644
--- a/debian/patches/Enable-test-debug.patch
+++ b/debian/patches/Enable-test-debug.patch
@@ -177,6 +177,15 @@ Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
float gpu_data[max_function * count_input] = {0}, cpu_data[max_function * count_input] = {0};
for(i=0; i<count_input_ori;i++)
+@@ -75,7 +75,7 @@
+ #if udebug
+ if ( (isinf(cpu_data[index_cur]) && !isinf(gpu_data[index_cur])) ||
+ (isnan(cpu_data[index_cur]) && !isnan(gpu_data[index_cur])) ||
+- (fabs(gpu_data[index_cur] - cpu_data[index_cur]) > cl_FLT_ULP(cpu_data[index_cur]) * ULPSIZE_FACTOR.) )
++ (fabs(gpu_data[index_cur] - cpu_data[index_cur]) > cl_FLT_ULP(cpu_data[index_cur]) * ULPSIZE_FACTOR) )
+ {
+ printf_c("%d/%d: x:%f, y:%f -> gpu:%f cpu:%f\n", k, i, input_data1[k], input_data2[k], gpu_data[index_cur], cpu_data[index_cur]);
+ }
@@ -93,6 +94,7 @@ static void builtin_pow(void)
#endif
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/beignet.git
More information about the Pkg-opencl-commits
mailing list