aserio changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar.cct.lsu.edu | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | Buildbot: http://rostam.cct.lsu.edu/ | Log: http://irclog.cct.lsu.edu/
taeguk has quit [Quit: Page closed]
parsa has quit [Quit: Zzzzzzzzzzzz]
EverYoung has quit [Ping timeout: 246 seconds]
taeguk has joined #ste||ar
zbyerly_ has joined #ste||ar
<taeguk> Excuse me, I have a question about scan_partitioner.
<hkaiser> ok
<taeguk> is there a need to pass 'next' to f3?
<taeguk> I want to know why 'next' is passed to f3.
<hkaiser> could it be that one of the algorithms using scan_partitioner needs it? I don't remember
<hkaiser> or simply to keep things alive, perhaps
<taeguk> There is nothing to utilize 'next' in f3.
<hkaiser> none of the algorithms uses next in f3?
<taeguk> Yes, In everything using scan_partitioner, 'next' is just used like:
<hkaiser> interesting
<taeguk> As I think, maybe 'next' in f3 is unnessary.
<hkaiser> does it hurt in any way?
<taeguk> I'm improving scan_partitioner. And 'next' in f3 is the obstacle for my work.
vamatya has quit [Ping timeout: 240 seconds]
<hkaiser> taeguk: give me a sec
<taeguk> In my other version of scan_partitioner which will be utilized in parallel unique, remove, and remove_if, I should create vector storing results of f1 for passing 'next' to f3. This overhead can be removed if we eliminate 'next' in f3.
<hkaiser> taeguk: well, not sure how it can be in the way, but feel free to remove it if you think it's not needed
<taeguk> Okay
<hkaiser> taeguk: can this new scan_partitioner be used for the other algorithms as well?
<taeguk> thank you to answer.
<taeguk> yes.
<taeguk> What I'm doing is creating scan partitioner tag.
<hkaiser> do you think this new algorithm will have better performance?
<hkaiser> taeguk: ^^
<taeguk> no, new scan_partitioner performs f3 sequentially.
<hkaiser> why is that needed?
<taeguk> For implementing unique, remove, and remove_if, f3 must be performed sequentially.
<hkaiser> are you sure?
<taeguk> Yes, because those are in-place algorithms, I can't implement those without sequentially performed f3.
<hkaiser> taeguk: isn't in the current scan_partitioner f3 executed sequentially as well?
<taeguk> If I can implement those fully parallely, that is best case. But I can't found the way.
<taeguk> hkaiser: yes you're right.
<hkaiser> I thought the data dependencies enforce that
<hkaiser> I also think that next is passed to f3 to enforce that data dependency
<hkaiser> but I'd need to get through my notes again
<taeguk> Well, as I think, without 'next' in f3, data dependency is keeped.
<taeguk> And In current, because of some bugs, temporarily scan_partitioner uses launch::sync instead of policy.executor().
<taeguk> So, scan_partitioner executed f3 seqentially for now.
<taeguk> But, this will be fixed in the future.
<hkaiser> I don't think that the sync was enforcing the sequentiality of f3
<hkaiser> 'sync' just means that dataflow will not launch a new thread to invoke it's function but the function will be directly executed by the thread which makes the last future ready
<taeguk> yes, without 'sync', many f3 will be executed concurrently.
<taeguk> I used the naming 'sequentially' for non-concurrently.
<taeguk> I mean that first f3 is performed, and then second f3 is performed, and then thired f3 is performed, .....
<taeguk> For those action, I used the naming 'sequentially'
<hkaiser> next becomes ready whenever the corresponding invocation of f1 has finished running
<hkaiser> and f3 depends on f1
<hkaiser> so it is needed as a dependency
<hkaiser> you need that sequentiality to ensure you don't overwrite data, right?
<taeguk> yes
<taeguk> for only one writer
<taeguk> And f3 depends on f2, no f1.
<taeguk> f3 depends 'prev' in above code.
<hkaiser> ok
<taeguk> As I think 'curr' in above code is unnessary because it will be used for next 'prev'.
<hkaiser> I don't have my notes available right now
<taeguk> okay
<hkaiser> taeguk: for instance copy_if: you are not allowed to star copying a segment (f3) before you have scanned it once to find out which elements to copy (f1) - so f3 depends on f1
<hkaiser> start*
<hkaiser> taeguk: you're saying that f3 indirectly depends on f1 anyways as f2 depends on prev and current f1 and f3 depends on f2
<hkaiser> but f3 depends on f2 from the previous step
<hkaiser> so it f3 depends indirectly through f2 on f1 'prevprev' and f1 'prev'
<hkaiser> but it additionally needs to depend on f1 executed on its own segment
<hkaiser> do I miss something/
<hkaiser> ?
<taeguk> yes you're right. But I can't agree about "but it additionally needs to depend on f1 executed on its own segment"
<hkaiser> sure it needs to
<hkaiser> as I showed with the copy_if example above
<taeguk> because copy_if is out-place algorithm, there is no need.
<hkaiser> you can't start copying befoe you know which to copy
<taeguk> ah
<K-ballo> hkaiser: I was considering waiting for the resource manager to merge before opening the atomics PR
<hkaiser> K-ballo: ok, that will happen soon
<hkaiser> K-ballo: also, there is a atomics PR, isn't there?
<taeguk> hkaiser: you're right. 'next' is needed..
<hkaiser> ok
<taeguk> sorry for my misunderstanding
<hkaiser> no worries - no need to apologize
<K-ballo> uhm, there is? there is.. must have forgotten
<K-ballo> oh right, that's where you left the comment
<hkaiser> #2782, yah
<K-ballo> and I never did found the right spot for -latomic, did I?
<hkaiser> K-ballo: not yet, I think
<K-ballo> ok, good to know... ignore the PR for a little longer
<hkaiser> K-ballo: ok, let me know
<K-ballo> I thought I was just waiting for resource manager
<K-ballo> odd.. I remember finding a "standard library" flags section or something like it
<hkaiser> ahh
<hkaiser> missed that
<K-ballo> ok, just waiting for resource manager then
<hkaiser> K-ballo: let's wait for the RP branch, then?
<K-ballo> I'll rebase after that and fix the conflicts, easier to do on my side
<hkaiser> k
<hkaiser> tks
K-ballo has quit [Quit: K-ballo]
parsa has joined #ste||ar
parsa has quit [Quit: Zzzzzzzzzzzz]
parsa has joined #ste||ar
<taeguk> hkaiser: Excuse me, I have one suspicion about the bug of scan_partitioner (https://github.com/STEllAR-GROUP/hpx/issues/2325):
<taeguk> Is there no possibility that he don't do 'next.get()' in f3?
<taeguk> If in f3, don't do 'next.get' in first line, it can be the problem.
<hkaiser> taeguk: whyis this a bug?
<taeguk> As you said above, 'next' in f3 is needed for data dependency.
<hkaiser> yes
<taeguk> If in f3, 'next.get()' or 'next.wait()' is not performed, there is a possibility to access not-prepared data.
<hkaiser> no
<taeguk> why?
<hkaiser> f3 will be called only after all arguments to dataflow are ready
<hkaiser> that includes next
<taeguk> Like above, external shared data can be existed.
<hkaiser> yes
<taeguk> if f3 access the data before f1 filled correct data into shared area, it can be a bug.
<hkaiser> taeguk: I'm sorry, I have to go
<taeguk> okay.
<hkaiser> could you write it up as an email to hpx-users or to me directly, I'll respond tomorrow
<taeguk> okay, right. See you tomorrow :)
<hkaiser> yes, that exactly the data dependency I was referring to
<hkaiser> but dataflow enforces the dependency
<taeguk> I will write that to the issue.
<hkaiser> ok, thanks
hkaiser has quit [Quit: bye]
parsa has quit [Quit: Zzzzzzzzzzzz]
parsa has joined #ste||ar
parsa has quit [Client Quit]
vamatya has joined #ste||ar
parsa has joined #ste||ar
parsa has quit [Quit: Zzzzzzzzzzzz]
parsa has joined #ste||ar
parsa has quit [Quit: Zzzzzzzzzzzz]
vamatya has quit [Ping timeout: 248 seconds]
zbyerly_ has quit [Ping timeout: 240 seconds]
jaafar_ has joined #ste||ar
jaafar_ has quit [Ping timeout: 276 seconds]
Matombo has joined #ste||ar
david_pfander has joined #ste||ar
<github> [hpx] StellarBot pushed 1 new commit to gh-pages: https://git.io/v7bi0
<github> hpx/gh-pages 3203219 StellarBot: Updating docs
bikineev has quit [Remote host closed the connection]
bikineev has joined #ste||ar
denis_blank has joined #ste||ar
bikineev_ has joined #ste||ar
bikineev has quit [Read error: Connection reset by peer]
K-ballo has joined #ste||ar
bikineev has joined #ste||ar
bikineev_ has quit [Read error: No route to host]
hkaiser has joined #ste||ar
eschnett has quit [Quit: eschnett]
eschnett has joined #ste||ar
bikineev has quit [Ping timeout: 240 seconds]
bikineev has joined #ste||ar
aserio has joined #ste||ar
bikineev has quit [Ping timeout: 276 seconds]
bikineev has joined #ste||ar
akheir has joined #ste||ar
bikineev_ has joined #ste||ar
bikineev has quit [Ping timeout: 276 seconds]
david_pfander has quit [Ping timeout: 240 seconds]
mcopik has quit [Ping timeout: 246 seconds]
mcopik has joined #ste||ar
aserio has quit [Ping timeout: 246 seconds]
aserio has joined #ste||ar
<aserio> wash[m]: Will you be joining us today?
parsa has joined #ste||ar
<wash[m]> I am on skype
parsa has quit [Ping timeout: 246 seconds]
parsa has joined #ste||ar
zbyerly_ has joined #ste||ar
parsa has quit [Client Quit]
parsa has joined #ste||ar
parsa has quit [Quit: Zzzzzzzzzzzz]
zbyerly_ has quit [Ping timeout: 246 seconds]
pree has joined #ste||ar
bikineev has joined #ste||ar
parsa has joined #ste||ar
parsa has quit [Client Quit]
bikineev_ has quit [Ping timeout: 246 seconds]
EverYoung has joined #ste||ar
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
aserio has quit [Ping timeout: 255 seconds]
bikineev has quit [Remote host closed the connection]
aserio has joined #ste||ar
pree has quit [Ping timeout: 240 seconds]
pree has joined #ste||ar
<diehlpk_work> August 21 - 29, 2017 Students Submit Code and Evaluations denis_blank taeguk thundergroudon[m pree
<diehlpk_work> Please check the guide lines for the submission!
<pree> diehlpk_work : copied. Thanks
<denis_blank> diehlpk_work
<denis_blank> diehlpk_work: Thank you for the reminder
aserio has quit [Ping timeout: 240 seconds]
jaafar_ has joined #ste||ar
jfbastien_ has quit [Ping timeout: 246 seconds]
bikineev has joined #ste||ar
twwright has quit [Quit: twwright]
twwright has joined #ste||ar
aserio has joined #ste||ar
EverYoung has quit [Ping timeout: 276 seconds]
<github> [hpx] Naios opened pull request #2840: Remove constexpr from a void function (master...constexpr_void) https://git.io/v7NxD
bikineev has quit [Remote host closed the connection]
denis_blank2 has joined #ste||ar
bikineev has joined #ste||ar
denis_blank has quit [Ping timeout: 240 seconds]
bikineev has quit [Remote host closed the connection]
eschnett has quit [Quit: eschnett]
titzi has quit [Remote host closed the connection]
titzi has joined #ste||ar
bikineev has joined #ste||ar
eschnett has joined #ste||ar
<github> [hpx] hkaiser force-pushed resource_partitioner from a9d2f7b to df54dd7: https://git.io/v7lfK
<github> hpx/resource_partitioner df54dd7 Hartmut Kaiser: Fix exception handling, fix more than one locality/node
pree has quit [Quit: AaBbCc]
bikineev has quit [Remote host closed the connection]
bikineev has joined #ste||ar
eschnett has quit [Quit: eschnett]
K-ballo has quit [Quit: K-ballo]
K-ballo has joined #ste||ar
bikineev has quit [Remote host closed the connection]
eschnett has joined #ste||ar
akheir has quit [Remote host closed the connection]
aserio has quit [Quit: aserio]
EverYoung has joined #ste||ar
EverYoung has quit [Remote host closed the connection]
EverYoung has joined #ste||ar
denis_blank2 has quit [Quit: denis_blank2]
K-ballo has quit [Quit: K-ballo]
K-ballo has joined #ste||ar
<github> [hpx] hkaiser created fixing_2839 (+1 new commit): https://git.io/v7ABe
<github> hpx/fixing_2839 1fe411c Hartmut Kaiser: Fix usage of std::aligned_storage
<github> [hpx] hkaiser opened pull request #2841: Fix usage of std::aligned_storage (master...fixing_2839) https://git.io/v7ABT
<github> [hpx] hkaiser force-pushed fixing_2839 from 1fe411c to 29a4c05: https://git.io/v7ABY
<github> hpx/fixing_2839 29a4c05 Hartmut Kaiser: Fix usage of std::aligned_storage
<github> [hpx] hkaiser force-pushed fixing_2839 from 29a4c05 to 46ded39: https://git.io/v7ABY
<github> hpx/fixing_2839 46ded39 Hartmut Kaiser: Fix usage of std::aligned_storage
<K-ballo> uh oh, so that does actually happen
<hkaiser> nod
<taeguk> hkaiser: Excuse me, Can I say something to you?
parsa has joined #ste||ar