freestanding icon indicating copy to clipboard operation
freestanding copied to clipboard

More Modern C++ Primitives

Open ax3l opened this issue 6 years ago • 1 comments

Hi @ogiroux,

thank you for your work, these free-standing functions are useful.

But I have to admit, what we really need and what we are constantly re-implementing are modern C++ primitives with __host__ __device__ annotations such as:

  • containers: std::array and std::tuple (and their iterators)
  • bonus container: std::vector of which one does actually just need its iterators on device, no resize needed
  • type: std::complex

One does not need to take thrust for those, those types should just work out-of-the box with CUDA in a standard-compatible way.

ax3l avatar Jan 14 '19 07:01 ax3l

Yes, I get this 100%. We're working on it.

ogiroux avatar Jan 15 '19 16:01 ogiroux