Skip to content

Conversation

ilya-zlobintsev
Copy link
Contributor

This PR adds wrappers for the following functions:

  • nvmlDeviceGetClockOffsets
  • nvmlDeviceSetClockOffsets
  • nvmlDeviceGetSupportedPerformanceStates
  • nvmlDeviceGetMinMaxClockOfPState
  • nvmlDeviceGetMinMaxFanSpeed

Tests for the new wrappers are also added and unwrapped_functions.txt is updated.

All the device enum wrappers also now have Copy derived, as there's no reason not to have it for plain C integer enums.

@ilya-zlobintsev ilya-zlobintsev mentioned this pull request May 18, 2025
@brayniac brayniac merged commit e6b5840 into rust-nvml:main May 28, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants