aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-02-20 17:41:47 +0100
committerThomas White <taw@bitwiz.org.uk>2010-02-20 17:41:47 +0100
commit9323166cf7efccb6c3f74a9f2fefa4efb934436c (patch)
treef1986f869a3d22af8dc5a33cb734f6df21e8bbe7 /src
parentfc78b8c7c8c8b8c240a2861142627cc3877c26e7 (diff)
Nicer branching
Diffstat (limited to 'src')
-rw-r--r--src/diffraction-gpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/diffraction-gpu.c b/src/diffraction-gpu.c
index 8a7bad32..7896c2d5 100644
--- a/src/diffraction-gpu.c
+++ b/src/diffraction-gpu.c
@@ -129,7 +129,8 @@ static cl_program load_program(const char *filename, cl_context ctx,
return 0;
}
- r = clBuildProgram(prog, 0, NULL, "-Werror -I"DATADIR"/crystfel/",
+ r = clBuildProgram(prog, 0, NULL,
+ "-Werror -I"DATADIR"/crystfel/ -cl-no-signed-zeros",
NULL, NULL);
if ( r != CL_SUCCESS ) {
ERROR("Couldn't build program '%s'\n", filename);