cuda::experimental::make_config

Defined in /home/runner/work/cccl/cccl/cudax/include/cuda/experimental/__launch/configuration.cuh

template<typename ...Levels, typename ...Opts>
constexpr auto cuda::experimental::make_config(const hierarchy_dimensions<Levels...> &dims, const Opts&... opts) noexcept

Construct kernel configuration.

This function takes thread hierarchy dimensions description and any number of launch options and combines them into kernel configuration object. It can be then used along with kernel function and its argument to launch that kernel with the specified dimensions and options

Parameters
  • dims – Object describing dimensions of the thread hierarchy in the resulting kernel configuration object

  • opts – Variadic number of launch configuration options to be included in the resulting kernel configuration object