to_arch_id#

inline constexpr arch_id cuda::to_arch_id(
compute_capability __cc
) noexcept#

Converts the compute capability to the architecture id.

Parameters:

__cc – The compute capability. Must have a corresponding architecture id.

Returns:

The architecture id.