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.

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

Throws :

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.

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

Throws :