Skip to content

Commit

Permalink
Update list of card brands (#35)
Browse files Browse the repository at this point in the history
* Update list of card brands. Fixes #34

Co-authored-by: Jarek Samic <[email protected]>
  • Loading branch information
nemosupremo and Cldfire authored Nov 26, 2022
1 parent 89aa6b7 commit e21ff12
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions nvml-wrapper/src/enum_wrappers/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ pub enum Brand {
#[wrap(c_variant = "NVML_BRAND_NVS")]
NVS,
/// Targeted at virtualization (vGPUs).
///
/// Deprecated from API reporting, still here for backwards compatibility.
#[wrap(c_variant = "NVML_BRAND_GRID")]
GRID,
/// Targeted at gaming.
Expand All @@ -93,6 +95,40 @@ pub enum Brand {
/// Targeted at... people who don't quite need quadros?
#[wrap(c_variant = "NVML_BRAND_TITAN")]
Titan,
/// Targeted at virtualized apps.
#[wrap(c_variant = "NVML_BRAND_NVIDIA_VAPPS")]
VApps,
/// Targeted at virtualized pcs.
#[wrap(c_variant = "NVML_BRAND_NVIDIA_VPC")]
VPC,
/// Targeted at virtualized servers.
#[wrap(c_variant = "NVML_BRAND_NVIDIA_VCS")]
VCS,
/// Targeted at virtualized work stations.
#[wrap(c_variant = "NVML_BRAND_NVIDIA_VWS")]
VWS,
/// Targeted at cloud gaming servers.
#[wrap(c_variant = "NVML_BRAND_NVIDIA_CLOUD_GAMING")]
CloudGaming,
/// Deprecated from API reporting, still here for backwards compatibility.
/// Symlinks to [`Brand::CloudGaming`].
#[wrap(c_variant = "NVML_BRAND_NVIDIA_VGAMING")]
VGaming,
/// Targeted at Quadro RTX cards.
#[wrap(c_variant = "NVML_BRAND_QUADRO_RTX")]
QuadroRTX,
/// Targeted at RTX cards.
#[wrap(c_variant = "NVML_BRAND_NVIDIA_RTX")]
NvidiaRTX,
/// Nvidia
#[wrap(c_variant = "NVML_BRAND_NVIDIA")]
Nvidia,
/// Targeted at gaming RTX cards.
#[wrap(c_variant = "NVML_BRAND_GEFORCE_RTX")]
GeForceRTX,
/// Targeted at Titan RTX cards.
#[wrap(c_variant = "NVML_BRAND_TITAN_RTX")]
TitanRTX,
}

/**
Expand Down

0 comments on commit e21ff12

Please sign in to comment.