cuda::experimental::arch_traits

Defined in /home/runner/work/cccl/cccl/cudax/include/cuda/experimental/__device/arch_traits.cuh

inline constexpr arch_traits_t cuda::experimental::arch_traits(unsigned int __sm_version)

Retrieve architecture traits of the specified architecture.

Parameters

__sm_version – Compute capability in 100 * major + 10 * minor format for which the architecture traits are requested

Throws

cuda_error – if the requested architecture is unknown