hkaiser changed the topic of #ste||ar to: The topic is '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/
hkaiser has joined #ste||ar
<Yorlik> hkaiser: Nice addition at #4395 :)
<hkaiser> Yorlik: hth
<Yorlik> ?
diehlpk has joined #ste||ar
<diehlpk> hkaiser, If I use --hpx:ini=hpx.stacks.use_guard_pages=0 --hpx:bind=numa-balanced --hpx:options-file=../agas-pfx-counters.cfg --hpx:print-counter-interval=3600000
<diehlpk> I get hpx::init: std::exception caught: Invalid command line option --hpx:print-counter-interval, valid in conjunction with --hpx:print-counter only
<hkaiser> darn
<hkaiser> try adding the interval option to the cfg file at the end
<hkaiser> I'll look into why that happens
<hkaiser> diehlpk: ^^
<diehlpk> Ok, adding to the file worked
<hkaiser> ok
diehlpk has quit [Ping timeout: 240 seconds]
hkaiser has quit [Quit: bye]
mdiers_ has quit [Remote host closed the connection]
mdiers_ has joined #ste||ar
heller1 has joined #ste||ar
simbergm has joined #ste||ar
rori has joined #ste||ar
simbergm has quit [Quit: authenticating]
simbergm1 has joined #ste||ar
hkaiser has joined #ste||ar
hkaiser has quit [Ping timeout: 240 seconds]
hkaiser has joined #ste||ar
<hkaiser> simbergm1: sorry for the confusions on #4380, I need more coffee
<simbergm1> hkaiser: no worries :P
<simbergm1> you are right about at least one of the structs (the definitions could be moved to the cpp file, not the declaration though)
hkaiser has quit [Quit: bye]
nikunj97 has joined #ste||ar
nikunj97 has quit [Ping timeout: 260 seconds]
hkaiser has joined #ste||ar
<Yorlik> Any way to make line 42 work instead of 41 ?? https://godbolt.org/z/kn4Pgy
<hkaiser> why the (void*) cast ?
<hkaiser> in line 42, I mean
<Yorlik> Doesn't new require a void*
<hkaiser> Yorlik: std::move("1234567890") is UB, btw
<Yorlik> The big picture is, I want to put just anything into that monotonic resource and ditch it all end of the frame.
<hkaiser> sure, it's a forwarding reference anyways, so why use std::move on a constant character sequence?
<hkaiser> if you remove the move and tell your put function to collapse the array it will work: put<char const*>("...")
<Yorlik> It was the only construct which finally gave something that sortof worked. I'm flying somewhat blind here.
<hkaiser> or add an overload for arrays
<Yorlik> I want the interface to be idiot proof in the end.
<hkaiser> Yorlik: as said, don't use move on a const character sequence, add an overload to put that handles arrays
* Yorlik sweats
<Yorlik> It doesn't like this one either: pmr_buffer::put< T[]>(T&& thing[]) -> T * {
<Yorlik> Seems this one is still beyond me.
<hkaiser> I said: add an overload
nikunj has quit [Read error: Connection reset by peer]
nikunj has joined #ste||ar
<Yorlik> So - not a template specialization but a new tempülate for arrays?
* Yorlik is puzzled.
nikunj has quit [Ping timeout: 268 seconds]
nikunj has joined #ste||ar
nikunj has quit [Read error: Connection reset by peer]
nikunj has joined #ste||ar
nikunj has quit [Quit: Bye]
nikunj97 has joined #ste||ar
K-ballo has quit [Ping timeout: 240 seconds]
K-ballo has joined #ste||ar
K-ballo has quit [Read error: Connection reset by peer]
K-ballo has joined #ste||ar
<hkaiser> Yorlik: well, you will have to hanlde arrays separately to specify the array size
<Yorlik> I see. I don't understand why it' can't deduce the length of the array from the function parameter
<Yorlik> Seems it really only passes a typed pointer.
<Yorlik> And the typesystem cannot see the length, though everything is const.
<Yorlik> Seems there is no way to prevent the collapsing array phenomenon
<hkaiser> yes, and that prevents from knowing how large the array is
<hkaiser> you could try template <typename T, size_t N> auto put(T (thing&)[N]) {... } as a overload, though
<Yorlik> I did that but this is all unsatifactory.
nikunj97 has quit [Ping timeout: 240 seconds]
<Yorlik> Yup - hkaiser - I ended up with this . but it kinda sucks: https://godbolt.org/z/yxeQCe
<hkaiser> k
<Yorlik> It won't have many practical implications, since it is meant for polymorphic structs, still it's ugly. :(
K-ballo has quit [Read error: Connection reset by peer]
K-ballo has joined #ste||ar
K-ballo has quit [Read error: Connection reset by peer]
K-ballo has joined #ste||ar
K-ballo has quit [Read error: Connection reset by peer]
diehlpk has joined #ste||ar
K-ballo has joined #ste||ar
diehlpk has quit [Ping timeout: 260 seconds]
hkaiser has quit [Quit: bye]
diehlpk has joined #ste||ar
diehlpk has quit [Ping timeout: 248 seconds]
hkaiser has joined #ste||ar
K-ballo has quit [Read error: Connection reset by peer]
K-ballo has joined #ste||ar