Hello
I saw:
*There is an experimental Cilk-style workstealing scheduler available in
recent X10 releases (use x10c++ -WORK_STEALING=true to compile your
program), however it is still in development and may have implementation
limitations that prevent it from working on some input programs.*
I wanted to use this scheduler. I have a program which does say 10,000
tasks. I have parallelized it using say 8 threads.
Each task is independent and there is no communication required for
solving any task. There is no dependency b/w tasks. Once my program is
written, I can use
*x10c++ **-WORK_STEALING=true Program.x10*
I wanted to ask, does my program have to spawn 4 threads and distribute the
tasks specifically & individually to them and use *-WORK_STEALING=true *option;
or is there any other way to use this work-stealing scheduler. In other
words, how do I use this scheduler?
I will be thankful for your reply.
Thanks and Regards
Sparsh Mittal
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users