demo-variants
A plain CMake project with a variant space: exactly one implementation, host or gpu, and MPI
optionally. Its CMakeLists.txt lists the four variants for cpdocs and describes each of them, so
the reference shows which declarations exist in which variant.
demo::scaleexists in every variant; the overload taking a communicator only withmpi, and the CUDA overload taking a stream only withgpu.demo::streamexists only withgpu.
The API reference lists every published version.