[gnome-photos/gnome-3-24] gegl: Disable OpenCL
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-24] gegl: Disable OpenCL
- Date: Mon, 6 Nov 2017 17:12:53 +0000 (UTC)
commit 0e3f57229f2bd314c5908d3d4dfe28bc59f9c39a
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Nov 2 09:26:48 2017 +0100
gegl: Disable OpenCL
The OpenCL code paths are not that well tested across multiple GPU
drivers, and can generate faulty output. Moreover, until there's
OpenCL coverage for all the operations that are used it's not going to
have the expected performance boost due to memory transfers between
the CPU and GPU. In fact, today, for many cases using the GPU is
measurably, sometimes significantly so, slower than the CPU.
src/photos-gegl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-gegl.c b/src/photos-gegl.c
index 2110561..6ccaec3 100644
--- a/src/photos-gegl.c
+++ b/src/photos-gegl.c
@@ -311,6 +311,7 @@ photos_gegl_init (void)
config = gegl_config ();
g_object_set (config, "threads", threads, NULL);
+ g_object_set (config, "use-opencl", FALSE, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]