cuda::experimental::dynamic_smem_span
Defined in include/cuda/experimental/__launch/configuration.cuh
-
template<typename Dimensions, typename ...Options>
auto cuda::experimental::dynamic_smem_span(const kernel_config<Dimensions, Options...> &config) noexcept Returns a cuda::std::span object refering to dynamic shared memory region.
This function returns a std::std::span object refering to the dynamic shared memory region configured when launching the kernel. It accepts a kernel_config containing a dynamic_shared_memory_option. It is typed and sized according to the launch option provided as input.