[gegl/wip/threaded-dup-input: 3/4] Bug 783203 - Transform ops are opting out of multi-threading



commit 2e4a1a3fd358f985af3efc8520f44a2792a842f7
Author: Ell <ell_se yahoo com>
Date:   Wed Dec 13 03:46:50 2017 -0500

    Bug 783203 - Transform ops are opting out of multi-threading
    
    After the last commit, multithreaded transform ops are fast than
    single threaded, so reenable multithreading.
    
    Note that this doesn't necessarily mean that the transform ops are
    faster when using GEGL_THREADS>1, rather than GEGL_THREADS=1,
    only that *when* GEGL_THREADS>1, the multithreaded version is
    faster than the single threaded one.  However, GEGL_THREADS>1 seems
    to be consistently faster than GEGL_THREADS=1 when using a non-
    nearest sampler.
    
    This reverts commit b54454fd225c5a807b680dc1be14cba62acfafd7.

 operations/transform/transform-core.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/operations/transform/transform-core.c b/operations/transform/transform-core.c
index 34c6606..91faebf 100644
--- a/operations/transform/transform-core.c
+++ b/operations/transform/transform-core.c
@@ -168,9 +168,7 @@ op_transform_class_init (OpTransformClass *klass)
   op_class->process                   = gegl_transform_process;
   op_class->prepare                   = gegl_transform_prepare;
   op_class->no_cache                  = TRUE;
-  op_class->threaded                  = FALSE; // XXX : at the moment threading
-                                               // produces right result but
-                                               // slows down most transform - and significantly slows down 
scale
+  op_class->threaded                  = TRUE;
 
   klass->create_matrix = NULL;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]