Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use COM template #224

Merged
merged 3 commits into from
Nov 10, 2024
Merged

Use COM template #224

merged 3 commits into from
Nov 10, 2024

Conversation

jp7677
Copy link
Owner

@jp7677 jp7677 commented Nov 9, 2024

This should take care of calling Release(). The members have been reordered to ensure that release order doesn't change.

While at it, also move ResourceFactory to nvapi, I don't see us sharing this since it would pull nvml and lfx into nvofapi.

@jp7677 jp7677 force-pushed the move-resource-factory branch 2 times, most recently from 6e5e732 to 745bba4 Compare November 9, 2024 20:08
@jp7677 jp7677 marked this pull request as ready for review November 9, 2024 20:12
@jp7677 jp7677 requested a review from Saancreed November 9, 2024 20:12
Copy link
Collaborator

@Saancreed Saancreed left a comment

Choose a reason for hiding this comment

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

Looks reasonable, just one style nitpick.

@@ -2,6 +2,7 @@ nvapi_src = files([
'../src/util/util_string.cpp',
'../src/util/util_env.cpp',
'../src/util/util_log.cpp',
'../src/nvapi/resource_factory.cpp',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Indentation mismatch?

Also change member order to ensure deconstruction
(and thus release) in the original order.
@jp7677 jp7677 force-pushed the move-resource-factory branch from 745bba4 to 5434f06 Compare November 10, 2024 07:38
@jp7677 jp7677 merged commit 5434f06 into master Nov 10, 2024
4 checks passed
@jp7677 jp7677 deleted the move-resource-factory branch November 10, 2024 07:53
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