sync nvml.h with CUDA version 13.1.2#182
Open
tariq1890 wants to merge 1 commit into
Open
Conversation
tariq1890
commented
May 14, 2026
| return device.ReadPRMCounters_v1(counterList) | ||
| } | ||
|
|
||
| func (device nvmlDevice) ReadPRMCounters_v1(counterList *PRMCounterList_v1) Return { |
Contributor
Author
There was a problem hiding this comment.
@klueska Acknowledged that I need to rework the input params of this method. Before I do that, I think we need to convert the *PRMCounterList_v1 pointer type in C to a go slice. Does c-for-go support this?
Contributor
Author
There was a problem hiding this comment.
never mind. I think I got the idea of the *PRMCounterList struct now. Please let me know what you think of the latest iteration of ReadPRMCounters_v1
tariq1890
commented
May 14, 2026
| return device.SetRusdSettings_v1(settings) | ||
| } | ||
| func (device nvmlDevice) SetRusdSettings_v1(settings RusdSettings_v1) Return { | ||
| settings.Version = STRUCT_VERSION(settings, 1) |
Contributor
Author
There was a problem hiding this comment.
setting the STRUCT_VERSION as requested in the earlier PR
c553002 to
4029ba3
Compare
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
4029ba3 to
4256c7d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR synchronises the
nvml.hfile with that of the CUDA 13.1 toolkit.The nvml header file can be found here