Skip to content

Commit

Permalink
prep for 11.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzamora committed Feb 15, 2023
1 parent a370b59 commit f704587
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pynvml/nvml.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#####
# Copyright (c) 2011-2022, NVIDIA Corporation. All rights reserved.
# Copyright (c) 2011-2023, NVIDIA Corporation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
Expand Down Expand Up @@ -337,9 +337,9 @@
NVML_TOPOLOGY_SYSTEM = 50

_nvmlGpuP2PCapsIndex_t = c_uint
NVML_P2P_CAPS_INDEX_READ = 0,
NVML_P2P_CAPS_INDEX_READ = 0
NVML_P2P_CAPS_INDEX_WRITE = 1
NVML_P2P_CAPS_INDEX_NVLINK =2
NVML_P2P_CAPS_INDEX_NVLINK = 2
NVML_P2P_CAPS_INDEX_ATOMICS = 3
NVML_P2P_CAPS_INDEX_PROP = 4
NVML_P2P_CAPS_INDEX_LOOPBACK = 5
Expand Down Expand Up @@ -699,11 +699,11 @@
NVML_GRID_LICENSE_FEATURE_CODE_COMPUTE = 4

_nvmlGridLicenseExpiryStatus_t = c_uint8
NVML_GRID_LICENSE_EXPIRY_NOT_AVAILABLE = 0, # Expiry information not available
NVML_GRID_LICENSE_EXPIRY_INVALID = 1, # Invalid expiry or error fetching expiry
NVML_GRID_LICENSE_EXPIRY_VALID = 2, # Valid expiry
NVML_GRID_LICENSE_EXPIRY_NOT_APPLICABLE = 3, # Expiry not applicable
NVML_GRID_LICENSE_EXPIRY_PERMANENT = 4, # Permanent expiry
NVML_GRID_LICENSE_EXPIRY_NOT_AVAILABLE = 0 # Expiry information not available
NVML_GRID_LICENSE_EXPIRY_INVALID = 1 # Invalid expiry or error fetching expiry
NVML_GRID_LICENSE_EXPIRY_VALID = 2 # Valid expiry
NVML_GRID_LICENSE_EXPIRY_NOT_APPLICABLE = 3 # Expiry not applicable
NVML_GRID_LICENSE_EXPIRY_PERMANENT = 4 # Permanent expiry

_nvmlVgpuCapability_t = c_uint
NVML_VGPU_CAP_NVLINK_P2P = 0 # vGPU P2P over NVLink is supported
Expand Down

0 comments on commit f704587

Please sign in to comment.