~/lightning

Lightning Talk: Making Friends With CUDA Programmers (please constexpr all the things)

Lightningat CppCon 2023 · on Monday, 2023-10-02· [rust]
links:none on file
slides:none on file

Claim: nvcc’s --expt-relaxed-constexpr lets constexpr functions run on device so libraries don’t need __device__ everywhere. Demo builds a hello GPU, replaces a device square with constexpr and it runs. Passing a std::array into a kernel computes a cumulative sum but initially fails calling operator[] until compiling with a newer C++ standard that makes operator[] constexpr. Also shows using Boost.Rational (constexpr) and a chart of growing constexpr usage.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.