freestanding
freestanding copied to clipboard
More Modern C++ Primitives
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::arrayandstd::tuple(and their iterators) - bonus container:
std::vectorof 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.
Yes, I get this 100%. We're working on it.