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

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

#include <per_device_resource.hpp>

Public Types

using value_type = int
 

Public Member Functions

constexpr cuda_device_id (value_type 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  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: