Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • Zhunping ZhangSeptember 14, 2011 8:39 PM PDT   
    Can we expose parallelism in reduce function?

    Hi I am developping a software where the reducer's reduce function has some parallelism I'd like to expose. Before stepping into the development, I just wonder if anyone know if we can use cilk keywords inside a reduce function? Or that I can't do it because the reduce function has to be serial?

    Many thanks!
    Justin


    Barry Tannenbaum (Intel)September 15, 2011 6:33 AM PDT
    Rate
     
    Can we expose parallelism in reduce function?

    You can use the Cilk keywords, but the runtime disables stealing while executing your reduce function so your code will always execute serially.

    How important is the use of parallelism within your reduce function?

         - Barry


Forum jump:  

Intel Software Network Forums Statistics

17,025 users have contributed to 48,319 threads and 172,758 posts to date.

In the past 24 hours, we have 11 new thread(s) 54 new posts(s), and 47 new user(s).

In the past 3 days, the most popular thread for everyone has been Optimalization of sine function\'s taylor expansion The most posts were made to Most likely, the issue is that The post with the most views is Optimalization of sine function\'s taylor expansion

Please welcome our newest member redfruit83


For more complete information about compiler optimizations, see our Optimization Notice.