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 D3DKMTEnumAdapters3 for adapter enumeration #397

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

jbujak
Copy link

@jbujak jbujak commented Mar 8, 2024

D3DKMTEnumAdapters3 is required to enumerate MCDM compute-only adapters

@elezar elezar self-requested a review March 11, 2024 07:37
@elezar elezar self-assigned this Mar 11, 2024
@elezar elezar requested a review from klueska March 11, 2024 07:38
Copy link
Member

@elezar elezar left a comment

Choose a reason for hiding this comment

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

Thanks @jbujak. I think the mechanics look good. I have one question on the filter applied for the EnumAdapters3 implementation.

Also, is favouring the EnumAdapters3 what we want -- under which conditions should this function not be used?

internal/dxcore/dxcore.c Show resolved Hide resolved
D3DKMTEnumAdapters3 is required to enumerate MCDM compute-only adapters

Signed-off-by: Jakub Bujak <[email protected]>
Copy link
Member

@elezar elezar left a comment

Choose a reason for hiding this comment

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

Thanks @jbujak!

Could you add the same comment to NVIDIA/libnvidia-container#247

@elezar elezar merged commit e30ddb3 into NVIDIA:main Mar 12, 2024
5 of 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