Skip to content

feat: probe all supported mem and graphics frequencies#135

Open
rootfs wants to merge 1 commit into
NVIDIA:mainfrom
Climatik-Project:supported-frequency
Open

feat: probe all supported mem and graphics frequencies#135
rootfs wants to merge 1 commit into
NVIDIA:mainfrom
Climatik-Project:supported-frequency

Conversation

@rootfs
Copy link
Copy Markdown

@rootfs rootfs commented Nov 7, 2024

Fix issue #134

There is a hack in this fix, the generated api is manually modified, since I don't know how it is generated in the first place.

Signed-off-by: Huamin Chen <hchen@redhat.com>
Copy link
Copy Markdown
Contributor

@rajatchopra rajatchopra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing the return type of existing API would mean a breaking change. Cannot do so unless we introduce a version on the API with a backward compatible translator.

Although the existing API has a misleading name, we may have to live with the confusing option of creating another API (with another name) that does the right thing. e.g. DeviceGetAllSupportedMemoryClocks()

@klueska
Copy link
Copy Markdown
Collaborator

klueska commented May 7, 2026

Actually, for this one, I would call it a bug and fix it. Just returning a single uint32 is meaningless for the purpose of the original C API, and was implemented incorrectly when reflected into the go API. It should always have been returning a list.

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.

3 participants