A numeric designator of an architectural generation of CUDA devices.
More...
#include <device_properties.hpp>
|
const char * | name () const |
|
constexpr bool | is_valid () const noexcept |
|
|
unsigned | major |
| A compute_capability_t has a "major" and a "minor" number, with "major" indicating the architecture; so this struct only has a "major" number.
|
|
A numeric designator of an architectural generation of CUDA devices.
- Note
- See this listing of nVIDIA GPU microarchitectures; cf. compute_capability_t .
◆ is_valid()
constexpr bool cuda::device::compute_architecture_t::is_valid |
( |
| ) |
const |
|
noexcept |
- Returns
- true if major is indeed a number of a known/recognized NVIDIA GPU microarchitecture.
◆ name()
const char* cuda::device::compute_architecture_t::name |
( |
| ) |
const |
- Returns
- the name NVIDIA has given this microarchitecture
- Note
- NVIDIA names their microarchitecture after famous scientists like "Tesla", "Pascal" etc.
The documentation for this struct was generated from the following file: