cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
Public Member Functions | Public Attributes | List of all members
cuda::device::compute_architecture_t Struct Reference

A numeric designator of an architectural generation of CUDA devices. More...

#include <device_properties.hpp>

Public Member Functions

const char * name () const
 
constexpr bool is_valid () const noexcept
 

Public Attributes

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.
 

Detailed Description

A numeric designator of an architectural generation of CUDA devices.

Note
See this listing of nVIDIA GPU microarchitectures. Also see compute_capability_t .

The documentation for this struct was generated from the following file: