id int64 1 6.07M | name stringlengths 1 295 | code stringlengths 12 426k | language stringclasses 1
value | source_file stringlengths 5 202 | start_line int64 1 158k | end_line int64 1 158k | repo dict |
|---|---|---|---|---|---|---|---|
6,901 | nvmlDeviceSetVirtualizationMode | def nvmlDeviceSetVirtualizationMode(handle, virtualization_mode):
fn = _nvmlGetFunctionPointer("nvmlDeviceSetVirtualizationMode")
return fn(handle, virtualization_mode) | python | wandb/vendor/pynvml/pynvml.py | 3,669 | 3,671 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,902 | nvmlDeviceGetSupportedVgpus | def nvmlDeviceGetSupportedVgpus(handle):
# first call to get the size
c_vgpu_count = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlDeviceGetSupportedVgpus")
ret = fn(handle, byref(c_vgpu_count), None)
if ret == NVML_SUCCESS:
# special case, no supported vGPUs
return []
elif ret =... | python | wandb/vendor/pynvml/pynvml.py | 3,674 | 3,698 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,903 | nvmlDeviceGetCreatableVgpus | def nvmlDeviceGetCreatableVgpus(handle):
# first call to get the size
c_vgpu_count = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlDeviceGetCreatableVgpus")
ret = fn(handle, byref(c_vgpu_count), None)
if ret == NVML_SUCCESS:
# special case, no supported vGPUs
return []
elif ret =... | python | wandb/vendor/pynvml/pynvml.py | 3,701 | 3,725 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,904 | nvmlVgpuTypeGetGpuInstanceProfileId | def nvmlVgpuTypeGetGpuInstanceProfileId(vgpuTypeId):
c_profile_id = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuTypeGetGpuInstanceProfileId")
ret = fn(vgpuTypeId, byref(c_profile_id))
_nvmlCheckReturn(ret)
return c_profile_id.value | python | wandb/vendor/pynvml/pynvml.py | 3,728 | 3,733 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,905 | nvmlVgpuTypeGetClass | def nvmlVgpuTypeGetClass(vgpuTypeId):
c_class = create_string_buffer(NVML_DEVICE_NAME_BUFFER_SIZE)
c_buffer_size = c_uint(NVML_DEVICE_NAME_BUFFER_SIZE)
fn = _nvmlGetFunctionPointer("nvmlVgpuTypeGetClass")
ret = fn(vgpuTypeId, c_class, byref(c_buffer_size))
_nvmlCheckReturn(ret)
return c_class.va... | python | wandb/vendor/pynvml/pynvml.py | 3,737 | 3,743 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,906 | nvmlVgpuTypeGetName | def nvmlVgpuTypeGetName(vgpuTypeId):
c_name = create_string_buffer(NVML_DEVICE_NAME_BUFFER_SIZE)
c_buffer_size = c_uint(NVML_DEVICE_NAME_BUFFER_SIZE)
fn = _nvmlGetFunctionPointer("nvmlVgpuTypeGetName")
ret = fn(vgpuTypeId, c_name, byref(c_buffer_size))
_nvmlCheckReturn(ret)
return c_name.value | python | wandb/vendor/pynvml/pynvml.py | 3,747 | 3,753 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,907 | nvmlVgpuTypeGetDeviceID | def nvmlVgpuTypeGetDeviceID(vgpuTypeId):
c_device_id = c_ulonglong(0)
c_subsystem_id = c_ulonglong(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuTypeGetDeviceID")
ret = fn(vgpuTypeId, byref(c_device_id), byref(c_subsystem_id))
_nvmlCheckReturn(ret)
return (c_device_id.value, c_subsystem_id.value) | python | wandb/vendor/pynvml/pynvml.py | 3,756 | 3,762 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,908 | nvmlVgpuTypeGetFramebufferSize | def nvmlVgpuTypeGetFramebufferSize(vgpuTypeId):
c_fb_size = c_ulonglong(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuTypeGetFramebufferSize")
ret = fn(vgpuTypeId, byref(c_fb_size))
_nvmlCheckReturn(ret)
return c_fb_size.value | python | wandb/vendor/pynvml/pynvml.py | 3,765 | 3,770 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,909 | nvmlVgpuTypeGetNumDisplayHeads | def nvmlVgpuTypeGetNumDisplayHeads(vgpuTypeId):
c_num_heads = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuTypeGetNumDisplayHeads")
ret = fn(vgpuTypeId, byref(c_num_heads))
_nvmlCheckReturn(ret)
return c_num_heads.value | python | wandb/vendor/pynvml/pynvml.py | 3,773 | 3,778 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,910 | nvmlVgpuTypeGetResolution | def nvmlVgpuTypeGetResolution(vgpuTypeId):
c_xdim = c_uint(0)
c_ydim = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuTypeGetResolution")
ret = fn(vgpuTypeId, 0, byref(c_xdim), byref(c_ydim))
_nvmlCheckReturn(ret)
return (c_xdim.value, c_ydim.value) | python | wandb/vendor/pynvml/pynvml.py | 3,781 | 3,787 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,911 | nvmlVgpuTypeGetLicense | def nvmlVgpuTypeGetLicense(vgpuTypeId):
c_license = create_string_buffer(NVML_GRID_LICENSE_BUFFER_SIZE)
c_buffer_size = c_uint(NVML_GRID_LICENSE_BUFFER_SIZE)
fn = _nvmlGetFunctionPointer("nvmlVgpuTypeGetLicense")
ret = fn(vgpuTypeId, c_license, c_buffer_size)
_nvmlCheckReturn(ret)
return c_licen... | python | wandb/vendor/pynvml/pynvml.py | 3,791 | 3,797 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,912 | nvmlVgpuTypeGetFrameRateLimit | def nvmlVgpuTypeGetFrameRateLimit(vgpuTypeId):
c_frl_config = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuTypeGetFrameRateLimit")
ret = fn(vgpuTypeId, byref(c_frl_config))
_nvmlCheckReturn(ret)
return c_frl_config.value | python | wandb/vendor/pynvml/pynvml.py | 3,800 | 3,805 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,913 | nvmlVgpuTypeGetMaxInstances | def nvmlVgpuTypeGetMaxInstances(handle, vgpuTypeId):
c_max_instances = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuTypeGetMaxInstances")
ret = fn(handle, vgpuTypeId, byref(c_max_instances))
_nvmlCheckReturn(ret)
return c_max_instances.value | python | wandb/vendor/pynvml/pynvml.py | 3,808 | 3,813 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,914 | nvmlVgpuTypeGetMaxInstancesPerVm | def nvmlVgpuTypeGetMaxInstancesPerVm(vgpuTypeId):
c_max_instances_per_vm = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuTypeGetMaxInstancesPerVm")
ret = fn(vgpuTypeId, byref(c_max_instances_per_vm))
_nvmlCheckReturn(ret)
return c_max_instances_per_vm.value | python | wandb/vendor/pynvml/pynvml.py | 3,816 | 3,821 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,915 | nvmlDeviceGetActiveVgpus | def nvmlDeviceGetActiveVgpus(handle):
# first call to get the size
c_vgpu_count = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlDeviceGetActiveVgpus")
ret = fn(handle, byref(c_vgpu_count), None)
if ret == NVML_SUCCESS:
# special case, no active vGPUs
return []
elif ret == NVML_ER... | python | wandb/vendor/pynvml/pynvml.py | 3,824 | 3,848 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,916 | nvmlVgpuInstanceGetVmID | def nvmlVgpuInstanceGetVmID(vgpuInstance):
c_vm_id = create_string_buffer(NVML_DEVICE_UUID_BUFFER_SIZE)
c_buffer_size = c_uint(NVML_GRID_LICENSE_BUFFER_SIZE)
c_vm_id_type = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetVmID")
ret = fn(vgpuInstance, byref(c_vm_id), c_buffer_size, byref(c... | python | wandb/vendor/pynvml/pynvml.py | 3,852 | 3,859 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,917 | nvmlVgpuInstanceGetUUID | def nvmlVgpuInstanceGetUUID(vgpuInstance):
c_uuid = create_string_buffer(NVML_DEVICE_UUID_BUFFER_SIZE)
c_buffer_size = c_uint(NVML_DEVICE_UUID_BUFFER_SIZE)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetUUID")
ret = fn(vgpuInstance, byref(c_uuid), c_buffer_size)
_nvmlCheckReturn(ret)
return c_... | python | wandb/vendor/pynvml/pynvml.py | 3,863 | 3,869 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,918 | nvmlVgpuInstanceGetMdevUUID | def nvmlVgpuInstanceGetMdevUUID(vgpuInstance):
c_uuid = create_string_buffer(NVML_DEVICE_UUID_BUFFER_SIZE)
c_buffer_size = c_uint(NVML_DEVICE_UUID_BUFFER_SIZE)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetMdevUUID")
ret = fn(vgpuInstance, byref(c_uuid), c_buffer_size)
_nvmlCheckReturn(ret)
r... | python | wandb/vendor/pynvml/pynvml.py | 3,873 | 3,879 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,919 | nvmlVgpuInstanceGetVmDriverVersion | def nvmlVgpuInstanceGetVmDriverVersion(vgpuInstance):
c_driver_version = create_string_buffer(NVML_SYSTEM_DRIVER_VERSION_BUFFER_SIZE)
c_buffer_size = c_uint(NVML_SYSTEM_DRIVER_VERSION_BUFFER_SIZE)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetVmDriverVersion")
ret = fn(vgpuInstance, byref(c_driver_ve... | python | wandb/vendor/pynvml/pynvml.py | 3,883 | 3,889 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,920 | nvmlVgpuInstanceGetLicenseStatus | def nvmlVgpuInstanceGetLicenseStatus(vgpuInstance):
c_license_status = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetLicenseStatus")
ret = fn(vgpuInstance, byref(c_license_status))
_nvmlCheckReturn(ret)
return c_license_status.value | python | wandb/vendor/pynvml/pynvml.py | 3,892 | 3,897 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,921 | nvmlVgpuInstanceGetLicenseInfo_v2 | def nvmlVgpuInstanceGetLicenseInfo_v2(vgpuInstance):
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetLicenseInfo_v2")
c_license_info = c_nvmlVgpuLicenseInfo_t()
ret = fn(vgpuInstance, byref(c_license_info))
_nvmlCheckReturn(ret)
return c_license_info | python | wandb/vendor/pynvml/pynvml.py | 3,900 | 3,905 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,922 | nvmlVgpuInstanceGetLicenseInfo | def nvmlVgpuInstanceGetLicenseInfo(vgpuInstance):
return nvmlVgpuInstanceGetLicenseInfo_v2(vgpuInstance) | python | wandb/vendor/pynvml/pynvml.py | 3,908 | 3,909 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,923 | nvmlVgpuInstanceGetFrameRateLimit | def nvmlVgpuInstanceGetFrameRateLimit(vgpuInstance):
c_frl = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetFrameRateLimit")
ret = fn(vgpuInstance, byref(c_frl))
_nvmlCheckReturn(ret)
return c_frl.value | python | wandb/vendor/pynvml/pynvml.py | 3,912 | 3,917 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,924 | nvmlVgpuInstanceGetEccMode | def nvmlVgpuInstanceGetEccMode(vgpuInstance):
c_mode = _nvmlEnableState_t()
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetEccMode")
ret = fn(vgpuInstance, byref(c_mode))
_nvmlCheckReturn(ret)
return c_mode.value | python | wandb/vendor/pynvml/pynvml.py | 3,920 | 3,925 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,925 | nvmlVgpuInstanceGetType | def nvmlVgpuInstanceGetType(vgpuInstance):
c_vgpu_type = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetType")
ret = fn(vgpuInstance, byref(c_vgpu_type))
_nvmlCheckReturn(ret)
return c_vgpu_type.value | python | wandb/vendor/pynvml/pynvml.py | 3,928 | 3,933 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,926 | nvmlVgpuInstanceGetEncoderCapacity | def nvmlVgpuInstanceGetEncoderCapacity(vgpuInstance):
c_encoder_capacity = c_ulonglong(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetEncoderCapacity")
ret = fn(vgpuInstance, byref(c_encoder_capacity))
_nvmlCheckReturn(ret)
return c_encoder_capacity.value | python | wandb/vendor/pynvml/pynvml.py | 3,936 | 3,941 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,927 | nvmlVgpuInstanceSetEncoderCapacity | def nvmlVgpuInstanceSetEncoderCapacity(vgpuInstance, encoder_capacity):
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceSetEncoderCapacity")
return fn(vgpuInstance, encoder_capacity) | python | wandb/vendor/pynvml/pynvml.py | 3,944 | 3,946 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,928 | nvmlVgpuInstanceGetFbUsage | def nvmlVgpuInstanceGetFbUsage(vgpuInstance):
c_fb_usage = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetFbUsage")
ret = fn(vgpuInstance, byref(c_fb_usage))
_nvmlCheckReturn(ret)
return c_fb_usage.value | python | wandb/vendor/pynvml/pynvml.py | 3,949 | 3,954 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,929 | nvmlVgpuTypeGetCapabilities | def nvmlVgpuTypeGetCapabilities(vgpuTypeId, capability):
c_cap_result = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuTypeGetCapabilities")
ret = fn(vgpuTypeId, _nvmlVgpuCapability_t(capability), byref(c_cap_result))
_nvmlCheckReturn(ret)
return c_cap_result.value | python | wandb/vendor/pynvml/pynvml.py | 3,957 | 3,962 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,930 | nvmlVgpuInstanceGetGpuInstanceId | def nvmlVgpuInstanceGetGpuInstanceId(vgpuInstance):
c_id = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetGpuInstanceId")
ret = fn(vgpuInstance, byref(c_id))
_nvmlCheckReturn(ret)
return c_id.value | python | wandb/vendor/pynvml/pynvml.py | 3,965 | 3,970 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,931 | nvmlVgpuInstanceGetGpuPciId | def nvmlVgpuInstanceGetGpuPciId(vgpuInstance):
c_vgpuPciId = create_string_buffer(NVML_DEVICE_PCI_BUS_ID_BUFFER_SIZE)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetGpuPciId")
ret = fn(
vgpuInstance, c_vgpuPciId, byref(c_uint(NVML_DEVICE_PCI_BUS_ID_BUFFER_SIZE))
)
_nvmlCheckReturn(ret)
... | python | wandb/vendor/pynvml/pynvml.py | 3,973 | 3,980 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,932 | nvmlDeviceGetVgpuUtilization | def nvmlDeviceGetVgpuUtilization(handle, timeStamp):
# first call to get the size
c_vgpu_count = c_uint(0)
c_time_stamp = c_ulonglong(timeStamp)
c_sample_value_type = _nvmlValueType_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetVgpuUtilization")
ret = fn(
handle, c_time_stamp, byref(c_... | python | wandb/vendor/pynvml/pynvml.py | 3,983 | 4,015 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,933 | nvmlDeviceGetP2PStatus | def nvmlDeviceGetP2PStatus(device1, device2, p2pIndex):
c_p2pstatus = _nvmlGpuP2PStatus_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetP2PStatus")
ret = fn(device1, device2, p2pIndex, byref(c_p2pstatus))
_nvmlCheckReturn(ret)
return c_p2pstatus.value | python | wandb/vendor/pynvml/pynvml.py | 4,018 | 4,023 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,934 | nvmlDeviceGetGridLicensableFeatures_v4 | def nvmlDeviceGetGridLicensableFeatures_v4(handle):
c_get_grid_licensable_features = c_nvmlGridLicensableFeatures_v4_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetGridLicensableFeatures_v4")
ret = fn(handle, byref(c_get_grid_licensable_features))
_nvmlCheckReturn(ret)
return c_get_grid_licensable_... | python | wandb/vendor/pynvml/pynvml.py | 4,026 | 4,032 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,935 | nvmlDeviceGetGridLicensableFeatures | def nvmlDeviceGetGridLicensableFeatures(handle):
return nvmlDeviceGetGridLicensableFeatures_v4(handle) | python | wandb/vendor/pynvml/pynvml.py | 4,035 | 4,036 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,936 | nvmlDeviceGetGspFirmwareVersion | def nvmlDeviceGetGspFirmwareVersion(handle, version):
fn = _nvmlGetFunctionPointer("nvmlDeviceGetGspFirmwareVersion")
ret = fn(handle, version)
_nvmlCheckReturn(ret)
return ret | python | wandb/vendor/pynvml/pynvml.py | 4,039 | 4,043 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,937 | nvmlDeviceGetGspFirmwareMode | def nvmlDeviceGetGspFirmwareMode(handle, isEnabled, defaultMode):
fn = _nvmlGetFunctionPointer("nvmlDeviceGetGspFirmwareMode")
ret = fn(handle, isEnabled, defaultMode)
_nvmlCheckReturn(ret)
return ret | python | wandb/vendor/pynvml/pynvml.py | 4,046 | 4,050 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,938 | nvmlDeviceGetEncoderCapacity | def nvmlDeviceGetEncoderCapacity(handle, encoderQueryType):
c_encoder_capacity = c_ulonglong(0)
c_encoderQuery_type = _nvmlEncoderQueryType_t(encoderQueryType)
fn = _nvmlGetFunctionPointer("nvmlDeviceGetEncoderCapacity")
ret = fn(handle, c_encoderQuery_type, byref(c_encoder_capacity))
_nvmlCheckRet... | python | wandb/vendor/pynvml/pynvml.py | 4,053 | 4,060 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,939 | nvmlDeviceGetVgpuProcessUtilization | def nvmlDeviceGetVgpuProcessUtilization(handle, timeStamp):
# first call to get the size
c_vgpu_count = c_uint(0)
c_time_stamp = c_ulonglong(timeStamp)
fn = _nvmlGetFunctionPointer("nvmlDeviceGetVgpuProcessUtilization")
ret = fn(handle, c_time_stamp, byref(c_vgpu_count), None)
if ret == NVML_S... | python | wandb/vendor/pynvml/pynvml.py | 4,063 | 4,086 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,940 | nvmlDeviceGetEncoderStats | def nvmlDeviceGetEncoderStats(handle):
c_encoderCount = c_ulonglong(0)
c_encodeFps = c_ulonglong(0)
c_encoderLatency = c_ulonglong(0)
fn = _nvmlGetFunctionPointer("nvmlDeviceGetEncoderStats")
ret = fn(handle, byref(c_encoderCount), byref(c_encodeFps), byref(c_encoderLatency))
_nvmlCheckReturn(re... | python | wandb/vendor/pynvml/pynvml.py | 4,089 | 4,096 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,941 | nvmlDeviceGetEncoderSessions | def nvmlDeviceGetEncoderSessions(handle):
# first call to get the size
c_session_count = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlDeviceGetEncoderSessions")
ret = fn(handle, byref(c_session_count), None)
if ret == NVML_SUCCESS:
if c_session_count.value != 0:
# typical case
... | python | wandb/vendor/pynvml/pynvml.py | 4,099 | 4,123 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,942 | nvmlDeviceGetFBCStats | def nvmlDeviceGetFBCStats(handle):
c_fbcStats = c_nvmlFBCStats_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetFBCStats")
ret = fn(handle, byref(c_fbcStats))
_nvmlCheckReturn(ret)
return c_fbcStats | python | wandb/vendor/pynvml/pynvml.py | 4,126 | 4,131 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,943 | nvmlDeviceGetFBCSessions | def nvmlDeviceGetFBCSessions(handle):
# first call to get the size
c_session_count = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlDeviceGetFBCSessions")
ret = fn(handle, byref(c_session_count), None)
if ret == NVML_SUCCESS:
if c_session_count.value != 0:
# typical case
... | python | wandb/vendor/pynvml/pynvml.py | 4,134 | 4,158 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,944 | nvmlVgpuInstanceGetEncoderStats | def nvmlVgpuInstanceGetEncoderStats(vgpuInstance):
c_encoderCount = c_ulonglong(0)
c_encodeFps = c_ulonglong(0)
c_encoderLatency = c_ulonglong(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetEncoderStats")
ret = fn(
vgpuInstance, byref(c_encoderCount), byref(c_encodeFps), byref(c_encoder... | python | wandb/vendor/pynvml/pynvml.py | 4,161 | 4,170 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,945 | nvmlVgpuInstanceGetEncoderSessions | def nvmlVgpuInstanceGetEncoderSessions(vgpuInstance):
# first call to get the size
c_session_count = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetEncoderSessions")
ret = fn(vgpuInstance, byref(c_session_count), None)
if ret == NVML_SUCCESS:
if c_session_count.value != 0:
... | python | wandb/vendor/pynvml/pynvml.py | 4,173 | 4,197 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,946 | nvmlVgpuInstanceGetFBCStats | def nvmlVgpuInstanceGetFBCStats(vgpuInstance):
c_fbcStats = c_nvmlFBCStats_t()
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetFBCStats")
ret = fn(vgpuInstance, byref(c_fbcStats))
_nvmlCheckReturn(ret)
return c_fbcStats | python | wandb/vendor/pynvml/pynvml.py | 4,200 | 4,205 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,947 | nvmlVgpuInstanceGetFBCSessions | def nvmlVgpuInstanceGetFBCSessions(vgpuInstance):
# first call to get the size
c_session_count = c_uint(0)
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetFBCSessions")
ret = fn(vgpuInstance, byref(c_session_count), None)
if ret == NVML_SUCCESS:
if c_session_count.value != 0:
... | python | wandb/vendor/pynvml/pynvml.py | 4,208 | 4,232 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,948 | nvmlDeviceGetProcessUtilization | def nvmlDeviceGetProcessUtilization(handle, timeStamp):
# first call to get the size
c_count = c_uint(0)
c_time_stamp = c_ulonglong(timeStamp)
fn = _nvmlGetFunctionPointer("nvmlDeviceGetProcessUtilization")
ret = fn(handle, None, byref(c_count), c_time_stamp)
if ret == NVML_ERROR_INSUFFICIENT_... | python | wandb/vendor/pynvml/pynvml.py | 4,235 | 4,255 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,949 | nvmlVgpuInstanceGetMetadata | def nvmlVgpuInstanceGetMetadata(vgpuInstance):
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetMetadata")
c_vgpuMetadata = c_nvmlVgpuMetadata_t()
c_bufferSize = c_uint(0)
# Make the first NVML API call to get the c_bufferSize value.
# We have already allocated required buffer above.
ret = fn(vg... | python | wandb/vendor/pynvml/pynvml.py | 4,258 | 4,270 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,950 | nvmlDeviceGetVgpuMetadata | def nvmlDeviceGetVgpuMetadata(handle):
fn = _nvmlGetFunctionPointer("nvmlDeviceGetVgpuMetadata")
c_vgpuPgpuMetadata = c_nvmlVgpuPgpuMetadata_t()
c_bufferSize = c_uint(0)
# Make the first NVML API call to get the c_bufferSize value.
# We have already allocated required buffer above.
ret = fn(hand... | python | wandb/vendor/pynvml/pynvml.py | 4,273 | 4,285 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,951 | nvmlGetVgpuCompatibility | def nvmlGetVgpuCompatibility(vgpuMetadata, pgpuMetadata):
fn = _nvmlGetFunctionPointer("nvmlGetVgpuCompatibility")
c_vgpuPgpuCompatibility = c_nvmlVgpuPgpuCompatibility_t()
ret = fn(byref(vgpuMetadata), byref(pgpuMetadata), byref(c_vgpuPgpuCompatibility))
_nvmlCheckReturn(ret)
return c_vgpuPgpuCompa... | python | wandb/vendor/pynvml/pynvml.py | 4,288 | 4,293 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,952 | nvmlDeviceGetPgpuMetadataString | def nvmlDeviceGetPgpuMetadataString(handle):
fn = _nvmlGetFunctionPointer("nvmlDeviceGetPgpuMetadataString")
c_pgpuMetadata = create_string_buffer(NVML_VGPU_PGPU_METADATA_OPAQUE_DATA_SIZE)
c_bufferSize = c_uint(0)
# Make the first NVML API call to get the c_bufferSize value.
# We have already alloca... | python | wandb/vendor/pynvml/pynvml.py | 4,297 | 4,309 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,953 | nvmlSetVgpuVersion | def nvmlSetVgpuVersion(vgpuVersion):
fn = _nvmlGetFunctionPointer("nvmlSetVgpuVersion")
ret = fn(byref(vgpuVersion))
_nvmlCheckReturn(ret)
return ret | python | wandb/vendor/pynvml/pynvml.py | 4,312 | 4,316 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,954 | nvmlGetVgpuVersion | def nvmlGetVgpuVersion(supported, current):
fn = _nvmlGetFunctionPointer("nvmlGetVgpuVersion")
ret = fn(byref(supported), byref(current))
_nvmlCheckReturn(ret)
return ret | python | wandb/vendor/pynvml/pynvml.py | 4,319 | 4,323 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,955 | nvmlVgpuInstanceGetAccountingMode | def nvmlVgpuInstanceGetAccountingMode(vgpuInstance):
c_mode = _nvmlEnableState_t()
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetAccountingMode")
ret = fn(vgpuInstance, byref(c_mode))
_nvmlCheckReturn(ret)
return c_mode.value | python | wandb/vendor/pynvml/pynvml.py | 4,326 | 4,331 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,956 | nvmlVgpuInstanceGetAccountingPids | def nvmlVgpuInstanceGetAccountingPids(vgpuInstance):
c_pidCount = c_uint()
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetAccountingPids")
ret = fn(vgpuInstance, byref(c_pidCount), None)
if ret == NVML_ERROR_INSUFFICIENT_SIZE:
sampleArray = c_pidCount.value * c_uint
c_pidArray = sample... | python | wandb/vendor/pynvml/pynvml.py | 4,334 | 4,345 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,957 | nvmlVgpuInstanceGetAccountingStats | def nvmlVgpuInstanceGetAccountingStats(vgpuInstance, pid):
c_accountingStats = c_nvmlAccountingStats_t()
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceGetAccountingStats")
ret = fn(vgpuInstance, pid, byref(c_accountingStats))
_nvmlCheckReturn(ret)
return c_accountingStats | python | wandb/vendor/pynvml/pynvml.py | 4,348 | 4,353 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,958 | nvmlVgpuInstanceClearAccountingPids | def nvmlVgpuInstanceClearAccountingPids(vgpuInstance):
fn = _nvmlGetFunctionPointer("nvmlVgpuInstanceClearAccountingPids")
ret = fn(vgpuInstance)
_nvmlCheckReturn(ret)
return ret | python | wandb/vendor/pynvml/pynvml.py | 4,356 | 4,360 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,959 | nvmlGetExcludedDeviceCount | def nvmlGetExcludedDeviceCount():
c_count = c_uint()
fn = _nvmlGetFunctionPointer("nvmlGetExcludedDeviceCount")
ret = fn(byref(c_count))
_nvmlCheckReturn(ret)
return c_count.value | python | wandb/vendor/pynvml/pynvml.py | 4,363 | 4,368 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,960 | nvmlGetExcludedDeviceInfoByIndex | def nvmlGetExcludedDeviceInfoByIndex(index):
c_index = c_uint(index)
info = c_nvmlExcludedDeviceInfo_t()
fn = _nvmlGetFunctionPointer("nvmlGetExcludedDeviceInfoByIndex")
ret = fn(c_index, byref(info))
_nvmlCheckReturn(ret)
return info | python | wandb/vendor/pynvml/pynvml.py | 4,371 | 4,377 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,961 | nvmlDeviceGetHostVgpuMode | def nvmlDeviceGetHostVgpuMode(handle):
c_host_vgpu_mode = _nvmlHostVgpuMode_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetHostVgpuMode")
ret = fn(handle, byref(c_host_vgpu_mode))
_nvmlCheckReturn(ret)
return c_host_vgpu_mode.value | python | wandb/vendor/pynvml/pynvml.py | 4,380 | 4,385 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,962 | nvmlDeviceSetMigMode | def nvmlDeviceSetMigMode(device, mode):
c_activationStatus = c_uint()
fn = _nvmlGetFunctionPointer("nvmlDeviceSetMigMode")
ret = fn(device, mode, byref(c_activationStatus))
_nvmlCheckReturn(ret)
return c_activationStatus.value | python | wandb/vendor/pynvml/pynvml.py | 4,388 | 4,393 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,963 | nvmlDeviceGetMigMode | def nvmlDeviceGetMigMode(device):
c_currentMode = c_uint()
c_pendingMode = c_uint()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetMigMode")
ret = fn(device, byref(c_currentMode), byref(c_pendingMode))
_nvmlCheckReturn(ret)
return [c_currentMode.value, c_pendingMode.value] | python | wandb/vendor/pynvml/pynvml.py | 4,396 | 4,402 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,964 | nvmlDeviceGetGpuInstanceProfileInfo | def nvmlDeviceGetGpuInstanceProfileInfo(device, profile, version=2):
if version == 2:
c_info = c_nvmlGpuInstanceProfileInfo_v2_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetGpuInstanceProfileInfoV")
elif version == 1:
c_info = c_nvmlGpuInstanceProfileInfo_t()
fn = _nvmlGetFuncti... | python | wandb/vendor/pynvml/pynvml.py | 4,405 | 4,416 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,965 | nvmlDeviceGetGpuInstanceRemainingCapacity | def nvmlDeviceGetGpuInstanceRemainingCapacity(device, profileId):
c_count = c_uint()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetGpuInstanceRemainingCapacity")
ret = fn(device, profileId, byref(c_count))
_nvmlCheckReturn(ret)
return c_count.value | python | wandb/vendor/pynvml/pynvml.py | 4,423 | 4,428 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,966 | nvmlDeviceGetGpuInstancePossiblePlacements | def nvmlDeviceGetGpuInstancePossiblePlacements(
device, profileId, placementsRef, countRef
):
fn = _nvmlGetFunctionPointer("nvmlDeviceGetGpuInstancePossiblePlacements_v2")
ret = fn(device, profileId, placementsRef, countRef)
_nvmlCheckReturn(ret)
return ret | python | wandb/vendor/pynvml/pynvml.py | 4,431 | 4,437 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,967 | nvmlDeviceCreateGpuInstance | def nvmlDeviceCreateGpuInstance(device, profileId):
c_instance = c_nvmlGpuInstance_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceCreateGpuInstance")
ret = fn(device, profileId, byref(c_instance))
_nvmlCheckReturn(ret)
return c_instance | python | wandb/vendor/pynvml/pynvml.py | 4,440 | 4,445 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,968 | nvmlDeviceCreateGpuInstanceWithPlacement | def nvmlDeviceCreateGpuInstanceWithPlacement(device, profileId, placement):
c_instance = c_nvmlGpuInstance_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceCreateGpuInstanceWithPlacement")
ret = fn(device, profileId, placement, byref(c_instance))
_nvmlCheckReturn(ret)
return c_instance | python | wandb/vendor/pynvml/pynvml.py | 4,448 | 4,453 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,969 | nvmlGpuInstanceDestroy | def nvmlGpuInstanceDestroy(gpuInstance):
fn = _nvmlGetFunctionPointer("nvmlGpuInstanceDestroy")
ret = fn(gpuInstance)
_nvmlCheckReturn(ret)
return ret | python | wandb/vendor/pynvml/pynvml.py | 4,456 | 4,460 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,970 | nvmlDeviceGetGpuInstances | def nvmlDeviceGetGpuInstances(device, profileId, gpuInstancesRef, countRef):
fn = _nvmlGetFunctionPointer("nvmlDeviceGetGpuInstances")
ret = fn(device, profileId, gpuInstancesRef, countRef)
_nvmlCheckReturn(ret)
return ret | python | wandb/vendor/pynvml/pynvml.py | 4,463 | 4,467 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,971 | nvmlDeviceGetGpuInstanceById | def nvmlDeviceGetGpuInstanceById(device, gpuInstanceId):
c_instance = c_nvmlGpuInstance_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetGpuInstanceById")
ret = fn(device, gpuInstanceId, byref(c_instance))
_nvmlCheckReturn(ret)
return c_instance | python | wandb/vendor/pynvml/pynvml.py | 4,470 | 4,475 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,972 | nvmlGpuInstanceGetInfo | def nvmlGpuInstanceGetInfo(gpuInstance):
c_info = c_nvmlGpuInstanceInfo_t()
fn = _nvmlGetFunctionPointer("nvmlGpuInstanceGetInfo")
ret = fn(gpuInstance, byref(c_info))
_nvmlCheckReturn(ret)
return c_info | python | wandb/vendor/pynvml/pynvml.py | 4,478 | 4,483 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,973 | nvmlGpuInstanceGetComputeInstanceProfileInfo | def nvmlGpuInstanceGetComputeInstanceProfileInfo(
device, profile, engProfile, version=2
):
if version == 2:
c_info = c_nvmlComputeInstanceProfileInfo_v2_t()
fn = _nvmlGetFunctionPointer("nvmlGpuInstanceGetComputeInstanceProfileInfoV")
elif version == 1:
c_info = c_nvmlComputeInstanc... | python | wandb/vendor/pynvml/pynvml.py | 4,486 | 4,499 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,974 | nvmlGpuInstanceGetComputeInstanceRemainingCapacity | def nvmlGpuInstanceGetComputeInstanceRemainingCapacity(gpuInstance, profileId):
c_count = c_uint()
fn = _nvmlGetFunctionPointer("nvmlGpuInstanceGetComputeInstanceRemainingCapacity")
ret = fn(gpuInstance, profileId, byref(c_count))
_nvmlCheckReturn(ret)
return c_count.value | python | wandb/vendor/pynvml/pynvml.py | 4,508 | 4,513 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,975 | nvmlGpuInstanceCreateComputeInstance | def nvmlGpuInstanceCreateComputeInstance(gpuInstance, profileId):
c_instance = c_nvmlComputeInstance_t()
fn = _nvmlGetFunctionPointer("nvmlGpuInstanceCreateComputeInstance")
ret = fn(gpuInstance, profileId, byref(c_instance))
_nvmlCheckReturn(ret)
return c_instance | python | wandb/vendor/pynvml/pynvml.py | 4,516 | 4,521 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,976 | nvmlComputeInstanceDestroy | def nvmlComputeInstanceDestroy(computeInstance):
fn = _nvmlGetFunctionPointer("nvmlComputeInstanceDestroy")
ret = fn(computeInstance)
_nvmlCheckReturn(ret)
return ret | python | wandb/vendor/pynvml/pynvml.py | 4,524 | 4,528 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,977 | nvmlGpuInstanceGetComputeInstances | def nvmlGpuInstanceGetComputeInstances(
gpuInstance, profileId, computeInstancesRef, countRef
):
fn = _nvmlGetFunctionPointer("nvmlGpuInstanceGetComputeInstances")
ret = fn(gpuInstance, profileId, computeInstancesRef, countRef)
_nvmlCheckReturn(ret)
return ret | python | wandb/vendor/pynvml/pynvml.py | 4,531 | 4,537 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,978 | nvmlGpuInstanceGetComputeInstanceById | def nvmlGpuInstanceGetComputeInstanceById(gpuInstance, computeInstanceId):
c_instance = c_nvmlComputeInstance_t()
fn = _nvmlGetFunctionPointer("nvmlGpuInstanceGetComputeInstanceById")
ret = fn(gpuInstance, computeInstanceId, byref(c_instance))
_nvmlCheckReturn(ret)
return c_instance | python | wandb/vendor/pynvml/pynvml.py | 4,540 | 4,545 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,979 | nvmlComputeInstanceGetInfo_v2 | def nvmlComputeInstanceGetInfo_v2(computeInstance):
c_info = c_nvmlComputeInstanceInfo_t()
fn = _nvmlGetFunctionPointer("nvmlComputeInstanceGetInfo_v2")
ret = fn(computeInstance, byref(c_info))
_nvmlCheckReturn(ret)
return c_info | python | wandb/vendor/pynvml/pynvml.py | 4,548 | 4,553 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,980 | nvmlComputeInstanceGetInfo | def nvmlComputeInstanceGetInfo(computeInstance):
return nvmlComputeInstanceGetInfo_v2(computeInstance) | python | wandb/vendor/pynvml/pynvml.py | 4,556 | 4,557 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,981 | nvmlDeviceIsMigDeviceHandle | def nvmlDeviceIsMigDeviceHandle(device):
c_isMigDevice = c_uint()
fn = _nvmlGetFunctionPointer("nvmlDeviceIsMigDeviceHandle")
ret = fn(device, byref(c_isMigDevice))
_nvmlCheckReturn(ret)
return c_isMigDevice | python | wandb/vendor/pynvml/pynvml.py | 4,560 | 4,565 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,982 | nvmlDeviceGetGpuInstanceId | def nvmlDeviceGetGpuInstanceId(device):
c_gpuInstanceId = c_uint()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetGpuInstanceId")
ret = fn(device, byref(c_gpuInstanceId))
_nvmlCheckReturn(ret)
return c_gpuInstanceId.value | python | wandb/vendor/pynvml/pynvml.py | 4,568 | 4,573 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,983 | nvmlDeviceGetComputeInstanceId | def nvmlDeviceGetComputeInstanceId(device):
c_computeInstanceId = c_uint()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetComputeInstanceId")
ret = fn(device, byref(c_computeInstanceId))
_nvmlCheckReturn(ret)
return c_computeInstanceId.value | python | wandb/vendor/pynvml/pynvml.py | 4,576 | 4,581 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,984 | nvmlDeviceGetMaxMigDeviceCount | def nvmlDeviceGetMaxMigDeviceCount(device):
c_count = c_uint()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetMaxMigDeviceCount")
ret = fn(device, byref(c_count))
_nvmlCheckReturn(ret)
return c_count.value | python | wandb/vendor/pynvml/pynvml.py | 4,584 | 4,589 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,985 | nvmlDeviceGetMigDeviceHandleByIndex | def nvmlDeviceGetMigDeviceHandleByIndex(device, index):
c_index = c_uint(index)
migDevice = c_nvmlDevice_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetMigDeviceHandleByIndex")
ret = fn(device, c_index, byref(migDevice))
_nvmlCheckReturn(ret)
return migDevice | python | wandb/vendor/pynvml/pynvml.py | 4,592 | 4,598 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,986 | nvmlDeviceGetDeviceHandleFromMigDeviceHandle | def nvmlDeviceGetDeviceHandleFromMigDeviceHandle(migDevice):
device = c_nvmlDevice_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetDeviceHandleFromMigDeviceHandle")
ret = fn(migDevice, byref(device))
_nvmlCheckReturn(ret)
return device | python | wandb/vendor/pynvml/pynvml.py | 4,601 | 4,606 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,987 | nvmlDeviceGetAttributes_v2 | def nvmlDeviceGetAttributes_v2(device):
c_attrs = c_nvmlDeviceAttributes()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetAttributes_v2")
ret = fn(device, byref(c_attrs))
_nvmlCheckReturn(ret)
return c_attrs | python | wandb/vendor/pynvml/pynvml.py | 4,609 | 4,614 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,988 | nvmlDeviceGetAttributes | def nvmlDeviceGetAttributes(device):
return nvmlDeviceGetAttributes_v2(device) | python | wandb/vendor/pynvml/pynvml.py | 4,617 | 4,618 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,989 | nvmlDeviceGetRemappedRows | def nvmlDeviceGetRemappedRows(device):
fn = _nvmlGetFunctionPointer("nvmlDeviceGetRemappedRows")
c_corr = c_uint()
c_unc = c_uint()
c_bpending = c_uint()
c_bfailure = c_uint()
ret = fn(device, byref(c_corr), byref(c_unc), byref(c_bpending), byref(c_bfailure))
_nvmlCheckReturn(ret)
return... | python | wandb/vendor/pynvml/pynvml.py | 4,621 | 4,629 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,990 | nvmlDeviceGetRowRemapperHistogram | def nvmlDeviceGetRowRemapperHistogram(device):
c_vals = c_nvmlRowRemapperHistogramValues()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetRowRemapperHistogram")
ret = fn(device, byref(c_vals))
_nvmlCheckReturn(ret)
return c_vals | python | wandb/vendor/pynvml/pynvml.py | 4,632 | 4,637 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,991 | nvmlDeviceGetArchitecture | def nvmlDeviceGetArchitecture(device):
arch = _nvmlDeviceArchitecture_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetArchitecture")
ret = fn(device, byref(arch))
_nvmlCheckReturn(ret)
return arch.value | python | wandb/vendor/pynvml/pynvml.py | 4,640 | 4,645 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,992 | nvmlDeviceGetBusType | def nvmlDeviceGetBusType(device):
c_busType = _nvmlBusType_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetBusType")
ret = fn(device, byref(c_busType))
_nvmlCheckReturn(ret)
return c_busType.value | python | wandb/vendor/pynvml/pynvml.py | 4,648 | 4,653 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,993 | nvmlDeviceGetIrqNum | def nvmlDeviceGetIrqNum(device):
c_irqNum = c_uint()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetIrqNum")
ret = fn(device, byref(c_irqNum))
_nvmlCheckReturn(ret)
return c_irqNum.value | python | wandb/vendor/pynvml/pynvml.py | 4,656 | 4,661 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,994 | nvmlDeviceGetNumGpuCores | def nvmlDeviceGetNumGpuCores(device):
c_numCores = c_uint()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetNumGpuCores")
ret = fn(device, byref(c_numCores))
_nvmlCheckReturn(ret)
return c_numCores.value | python | wandb/vendor/pynvml/pynvml.py | 4,664 | 4,669 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,995 | nvmlDeviceGetPowerSource | def nvmlDeviceGetPowerSource(device):
c_powerSource = _nvmlPowerSource_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetPowerSource")
ret = fn(device, byref(c_powerSource))
_nvmlCheckReturn(ret)
return c_powerSource.value | python | wandb/vendor/pynvml/pynvml.py | 4,672 | 4,677 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,996 | nvmlDeviceGetMemoryBusWidth | def nvmlDeviceGetMemoryBusWidth(device):
c_memBusWidth = c_uint()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetMemoryBusWidth")
ret = fn(device, byref(c_memBusWidth))
_nvmlCheckReturn(ret)
return c_memBusWidth.value | python | wandb/vendor/pynvml/pynvml.py | 4,680 | 4,685 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,997 | nvmlDeviceGetPcieLinkMaxSpeed | def nvmlDeviceGetPcieLinkMaxSpeed(device):
c_speed = _nvmlPcieLinkMaxSpeed_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetPcieLinkMaxSpeed")
ret = fn(device, byref(c_speed))
_nvmlCheckReturn(ret)
return c_speed.value | python | wandb/vendor/pynvml/pynvml.py | 4,688 | 4,693 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,998 | nvmlDeviceGetAdaptiveClockInfoStatus | def nvmlDeviceGetAdaptiveClockInfoStatus(device):
c_adaptiveClockInfoStatus = _nvmlAdaptiveClockInfoStatus_t()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetAdaptiveClockInfoStatus")
ret = fn(device, byref(c_adaptiveClockInfoStatus))
_nvmlCheckReturn(ret)
return c_adaptiveClockInfoStatus.value | python | wandb/vendor/pynvml/pynvml.py | 4,696 | 4,701 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,999 | nvmlDeviceGetPcieSpeed | def nvmlDeviceGetPcieSpeed(device):
c_speed = c_uint()
fn = _nvmlGetFunctionPointer("nvmlDeviceGetPcieSpeed")
ret = fn(device, byref(c_speed))
_nvmlCheckReturn(ret)
return c_speed.value | python | wandb/vendor/pynvml/pynvml.py | 4,704 | 4,709 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
7,000 | nvmlDeviceGetDynamicPstatesInfo | def nvmlDeviceGetDynamicPstatesInfo(device, c_dynamicpstatesinfo):
fn = _nvmlGetFunctionPointer("nvmlDeviceGetDynamicPstatesInfo")
ret = fn(device, c_dynamicpstatesinfo)
_nvmlCheckReturn(ret)
return ret | python | wandb/vendor/pynvml/pynvml.py | 4,712 | 4,716 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.