cuda::experimental::dynamic_smem_ref
Defined in include/cuda/experimental/__launch/configuration.cuh
-
template<typename Dimensions, typename ...Options>
auto &cuda::experimental::dynamic_smem_ref(const kernel_config<Dimensions, Options...> &config) noexcept Returns a reference to shared memory variable in dynamic shared memory.
This function returns a reference to a variable placed in dynamic shared memory. It accepts a kernel_config containing a dynamic_shared_memory_option. Its only usable when dynamic shared memory option is holding a single object.