by andrew3726 on 9/19/20, 8:57 AM with 133 comments
by fanf2 on 9/19/20, 11:49 AM
https://github.com/NVIDIA/libcudacxx/blob/main/docs/releases...
by lionkor on 9/19/20, 2:36 PM
Wait NVidia actually get it? Neat!
by lars on 9/19/20, 10:25 AM
by RcouF1uZ4gsC on 9/19/20, 10:37 AM
Seems the big addition of the Libcu++ to Thrust would be synchronization.
by davvid on 9/19/20, 6:10 PM
by jlebar on 9/19/20, 4:37 PM
For those of us who can't adopt it right away, note that you can compile your cuda code with `--expt-relaxed-constexpr` and call any constexpr function from device code. That includes all the constexpr functions in the standard library!
This gets you quite a bit, but not e.g. std::atomic, which is one of the big things in here.
by BoppreH on 9/19/20, 11:12 AM
by einpoklum on 9/19/20, 7:06 PM
2. How compatible is this with libstdc++ and/or libcu++, when used independently?
I'm somewhat suspicious of the presumption of us using NVIDIA's version of the standard library for our host-side work.
Finally, I'm not sure that, for device-side work, libc++ is a better base to start off of than, say, EASTL (which I used for my tuple class: https://github.com/eyalroz/cuda-kat/blob/master/src/kat/tupl... ).
...
partial self-answer to (1.): https://nvidia.github.io/libcudacxx/api.html apparently only a small bit of the library is actually implemented.
by Mr_lavos on 9/19/20, 11:31 AM
by gj_78 on 9/19/20, 12:59 PM
Isn't this exactly what a GPU firmware is expected to do ? Why do they need to run software in the same memory space as my mail reader ?
by scott31 on 9/19/20, 10:31 AM