2 Replies Latest reply on Jun 7, 2009 1:14 PM by Raistmer
      • Big slowdown from domain of execution using? (reduction kernel)
        gaurav.garg

        Domain of execution works with reduction, but domain of execution defines the output positions and not the input. So, domain of execution for reduction should be <= reduction output size.

        In your case, with single element output stream, domain of execution should be invalid on reduction.

         

          • Big slowdown from domain of execution using? (reduction kernel)
            Raistmer
            Originally posted by: gaurav.garg

            Domain of execution works with reduction, but domain of execution defines the output positions and not the input. So, domain of execution for reduction should be <= reduction output size.




            In your case, with single element output stream, domain of execution should be invalid on reduction.




             



            Thanks, I already realized that (hence so big slowdown - probably it really tried to perform reduction as many times as domain size dictated).
            Correctnes of app saved only fact that after reduction check for non-zero performed, no matter how big that non-zero number is.