Public Types | Public Member Functions | List of all members
rmm::cuda_device_id Struct Reference

Strong type for a CUDA device identifier. More...

#include <cuda_device.hpp>

Public Types

using value_type = int
 

Public Member Functions

constexpr cuda_device_id (value_type dev_id) noexcept
 Construct a cuda_device_id from the specified integer value. More...
 
constexpr value_type value () const noexcept
 Returns the wrapped integer value.
 

Detailed Description

Strong type for a CUDA device identifier.

Constructor & Destructor Documentation

◆ cuda_device_id()

constexpr rmm::cuda_device_id::cuda_device_id ( value_type  dev_id)
inlineexplicitconstexprnoexcept

Construct a cuda_device_id from the specified integer value.

Parameters
idThe device's integer identifier

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