hkaiser changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar-group.org | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | This channel is logged: irclog.cct.lsu.edu
Yorlik__ has joined #ste||ar
Yorlik_ has quit [Ping timeout: 248 seconds]
hkaiser has quit [Quit: Bye!]
<rtohid[m]>
<matrixb01x> "what problems JIT can have in..." <- Many of HPX facilities are template functions, so it is not possible to create bindings for them ahead of time. Here is a simple example demonstrating the issue: https://github.com/pybind/pybind11/issues/199
<rtohid[m]>
This is where JIT compilation, as suggested by @gonidelis, comes into play. pyhpx must include a code generation framework to generate the bindings on the fly. So, it's the solution not the problem...
<rtohid[m]>
I'm interested to know the thoughts of others and see if there are other solutions
<matrixb0tx>
can someone tell me why there are 2 differnet folders libs/full and libs/core and why libs/src empty
<gonidelis[m]>
full is for distributed hpx and core is for single core hpx
<gonidelis[m]>
what would you exepct to have in libs/src?
<matrixb0tx>
I dont know . but why there empty folder if it has no code in ti
<gonidelis[m]>
i don't see it being empty
<gonidelis[m]>
i think it's there for conformance reasons though
matrixb0tx has quit [Ping timeout: 260 seconds]
AbhishekYadav[m] has quit [Quit: You have been kicked for being idle]
matrixb0tx has joined #ste||ar
<matrixb0tx>
rtohid[m] what about this Use PYBIND11_MAKE_OPAQUE(T) to disable the template-based conversion
<matrixb0tx>
machinery of types, thus rendering them opaque.
<matrixb0tx>
making the object opaque, I can ensure that it is only accessed through C++ functions that you explicitly expose to Python.
<matrixb0tx>
any thoughts onthis
<satacker[m]>
Instead of this, you can instantiate templates and allow only specific types like numpy arrays, python lists, tuples etc (Iterables supported)
<satacker[m]>
That is to create a predefined interface
Yorlik__ has quit [Read error: Connection reset by peer]
prakhar has joined #ste||ar
<matrixb0tx>
I would have to write custom binding for for every .hpp containing templates (all of them) and not templates can be . I am thinking a way to automate it this was the easiest way to do it by making is opaque . and cppyy . there so many differnt things you can do deciding which is right out is hard
Yorlik has joined #ste||ar
tufei has quit [Remote host closed the connection]