Lightning Talk: Making Friends With CUDA Programmers (please constexpr all the things)
summary
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
related talks
01h 02mPractical constexpr
01h 03mUnlocking the value of C++20
01h 02mEmbedded Friendly C++: Features That Make a Difference
01h 00mC++ on GPUs done right?
01h 02mC++20 - My Favorite Code Examples
01h 16mPaying for Lunch: C++ in the ManyCore Age
05mVector to Array
01h 05mThe Most Important Optimizations to Apply in Your C++ Programs
