cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
Classes | Namespaces | Macros | Typedefs | Functions
device_properties.hpp File Reference

Classes for holding CUDA device properties and CUDA compute capability values. More...

#include "constants.hpp"
#include "pci_id.hpp"
#include "types.hpp"
#include <cuda_runtime_api.h>
#include <stdexcept>
#include "detail/device_properties.hpp"
Include dependency graph for device_properties.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cuda::device::compute_architecture_t
 A numeric designator of an architectural generation of CUDA devices. More...
 
struct  cuda::device::compute_capability_t
 A numeric designator of the computational capabilities of a CUDA device. More...
 
struct  cuda::device::properties_t
 A structure holding a collection various properties of a device. More...
 

Namespaces

 cuda
 All definitions and functionality wrapping the CUDA Runtime API.
 
 cuda::device
 Definitions and functionality related to CUDA devices (not including the device wrapper type device_t itself)
 

Typedefs

using cuda::device::multiprocessor_count_t = int
 Type of the number of mutiprocessors within a single GPU.
 

Functions

constexpr compute_capability_t cuda::device::make_compute_capability (unsigned combined) noexcept
 A named constructor idiom for {compute_capability_t}. More...
 
constexpr compute_capability_t cuda::device::make_compute_capability (unsigned major, unsigned minor) noexcept
 A named constructor idiom for {compute_capability_t}.
 

Detailed Description

Classes for holding CUDA device properties and CUDA compute capability values.