Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 29 2019 20:11
    AAAlvesJr commented #1
  • Jan 29 2019 20:11
    AAAlvesJr commented #1
  • Nov 07 2017 04:11

    AAAlvesJr on master

    Chains fixed. Stack clean up... (compare)

  • Nov 06 2017 15:58

    AAAlvesJr on master

    chains fix... (compare)

  • Nov 06 2017 13:15

    AAAlvesJr on master

    Decays container fixed. Fix Ch… (compare)

  • Nov 03 2017 16:29

    AAAlvesJr on master

    decay fixes... (compare)

  • Nov 03 2017 12:13

    AAAlvesJr on master

    fix Decays container... (compare)

  • Nov 03 2017 12:11

    AAAlvesJr on master

    fix Decays container... (compare)

  • Nov 02 2017 16:53

    AAAlvesJr on master

    decay fixes... Merge branch 'master' of https:… decay fixes... (compare)

  • Nov 02 2017 11:01

    AAAlvesJr on master

    fix Decays container... (compare)

  • Nov 01 2017 14:44

    AAAlvesJr on master

    Decays.h fixes/update ... (compare)

  • Nov 01 2017 09:52

    AAAlvesJr on master

    fix Decays container... (compare)

  • Oct 31 2017 15:59

    AAAlvesJr on master

    decay fixes... (compare)

  • Oct 31 2017 12:48

    AAAlvesJr on master

    fix Decays container... (compare)

  • Oct 30 2017 14:51

    AAAlvesJr on master

    clang host compiler test... clang host compiler test... decay fixes... (compare)

  • Oct 30 2017 07:36

    AAAlvesJr on master

    fixes... fix Decays container... (compare)

  • Oct 27 2017 21:06

    AAAlvesJr on master

    polymorphic containers examples… (compare)

  • Oct 25 2017 23:47

    AAAlvesJr on master

    cuda 9 passing fine + new faste… (compare)

  • Oct 24 2017 10:36

    AAAlvesJr on master

    cuda 9 testing ... (compare)

  • Oct 23 2017 21:02

    AAAlvesJr on master

    tuple fixes ... (compare)

Deepanshu Thakur
@Deepanshu2017
Now At line number 83
Antonio Augusto Alves Junior
@AAAlvesJr
????????
Deepanshu Thakur
@Deepanshu2017
typedef std::variant< Array_t<2>, Array_t<3>, Array_t<4>, Array_t<5>, Array_t<6> > arrays_t;
Here you created the custom objects of template type with values from 2 to 6
Antonio Augusto Alves Junior
@AAAlvesJr
i did not created anything
creation (stack/heap allocation) is postponed to ctor time
Deepanshu Thakur
@Deepanshu2017
I am talking about Array_t<2> to Array_t<6>
Now how will you generalize this to accept any number of arguments?
Sorry if I am not getting this right
Antonio Augusto Alves Junior
@AAAlvesJr
this is just a typedef for conveniency
@Deepanshu2017 Me too. As i told, no creation only playing with types
any number of arguments in this context means N=2,3...6
but extending arrays_t to higher rank can get N of any order
Deepanshu Thakur
@Deepanshu2017

but extending arrays_t to higher rank can get N of any order

How?

Antonio Augusto Alves Junior
@AAAlvesJr
typedef std::variant< Array_t<2>, Array_t<3>, Array_t<4>, Array_t<5>, Array_t<6>, Array_t<7>... Array_t<100>> arrays_t;
for example
Deepanshu Thakur
@Deepanshu2017
right so Hydra can have N = 100 or N = 1000 or whatever
Antonio Augusto Alves Junior
@AAAlvesJr
yes
but analyse the model
i bound many different types of Array_t in a typesafe way
and can alocate all than from the same variant
Deepanshu Thakur
@Deepanshu2017

typedef std::variant< Array_t<2>, Array_t<3>, Array_t<4>, Array_t<5>, Array_t<6>, Array_t<7>... Array_t<100>> arrays_t;

So we are going to limit the number N here or it can be anything like Hydra?

i bound many different types of Array_t in a typesafe way

That is nice!

Antonio Augusto Alves Junior
@AAAlvesJr
can also provide custom visitors and alter the state of an Array_t
Deepanshu Thakur
@Deepanshu2017
That I understand
Antonio Augusto Alves Junior
@AAAlvesJr
i can trick some template machinery to instantiate it up to a certain number
or can leave hard coded
whatever
Deepanshu Thakur
@Deepanshu2017
Right here is the point! So we will hard code it for certain limit like in HyPy
Antonio Augusto Alves Junior
@AAAlvesJr
implementer will only need to bind the variant
Deepanshu Thakur
@Deepanshu2017
Am I right?
Antonio Augusto Alves Junior
@AAAlvesJr
not necessarily right
as I told can make some template clever trick and leave it for be decided in compile time, via a flag
Deepanshu Thakur
@Deepanshu2017
Ahh Okay now I got it!
Antonio Augusto Alves Junior
@AAAlvesJr
Eduardo are you following?
Deepanshu Thakur
@Deepanshu2017
This implementation will surely make HyPy more clear IMHO
Antonio Augusto Alves Junior
@AAAlvesJr
easier to maintain i think
@Deepanshu2017 progress on travis?
Deepanshu Thakur
@Deepanshu2017
And what about merging the HyPy with Hydra?
Will we later merge HyPy directly into Hydra?
Antonio Augusto Alves Junior
@AAAlvesJr
@Deepanshu2017 will you post the issue
?
Deepanshu Thakur
@Deepanshu2017
The travis thing I need some help from @eduardo-rodrigues
Antonio Augusto Alves Junior
@AAAlvesJr
yes, I think it is better to merge it in future
not now
Deepanshu Thakur
@Deepanshu2017
Yes! Working on that only! But I still need to rethink about the way Travis work. Maybe I could find a way to work it with existing CMake otherwise I will create an issue with the suggesting changes to make it work with HyPy
But it is more likely that we need some changes in CMake!
Antonio Augusto Alves Junior
@AAAlvesJr
@Deepanshu2017 please, open an issue documenting the problem you find. I think all travis need are
Deepanshu Thakur
@Deepanshu2017
I will think again tonight otherwise by tomorrow afternoon I will create the issue
Antonio Augusto Alves Junior
@AAAlvesJr
install directives in cmakelist.txt
Deepanshu Thakur
@Deepanshu2017
Actually if it is only for python3 or python2 than existing CMake can work but we need to make sure, it works with both py2 and py3. So more or less I eventually need to create an issue only! ;)
Btw I am also looking at some other build checking systems too like Circle-CI
Antonio Augusto Alves Junior
@AAAlvesJr
ok
Eduardo Rodrigues
@eduardo-rodrigues
Yes, am following with a time offset, meaning I just now read the last 20-ish messages. Nice.