alpaka-group / cupla

C++ User interface for the Platform independent Library Alpaka :arrows_clockwise:
Other
37 stars 18 forks source link

Adds __popc and __max #116

Open tdd11235813 opened 5 years ago

tdd11235813 commented 5 years ago

Change or extend as you like.

Edit there is also __max, which has to be seen as hotfix. The problem was, that max and min cannot be used as macro, it conflicted user methods with same name. Maybe we use just a global function instead when max and min are not defined respectively, this should be better than this hotfix now.

sbastrakov commented 4 years ago

Note: alpaka now has popcount.