arch_traits_for#

Overloads#

arch_traits_for(__id)#

inline constexpr arch_traits_t cuda::arch_traits_for(arch_id __id)

Gets the architecture traits for the given architecture id __id.

Throws:

cuda::cuda_error – if the __id is not a known architecture.

arch_traits_for(__cc)#

inline constexpr arch_traits_t cuda::arch_traits_for(
compute_capability __cc
)

Gets the architecture traits for the given compute capability __cc.

Throws:

cuda::cuda_error – if the __cc doesn’t have a corresponding architecture id.