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

[Vulkan] Prioritize discrete GPUs as device_id=0. #8588

Merged
merged 1 commit into from
Jul 30, 2021

Conversation

Lunderberg
Copy link
Contributor

This previously caused some issues in performance comparison between cuda/vulkan, as device_id=0 referred to different physical hardware.

  • Added device_type to the device-queried information.

  • Sort the vulkan devices by the device_type. Priority is discrete > integrated > virtual > cpu > other

- Added device_type to the device-queried information.

- Sort the vulkan devices by the device_type.  Priority is discrete >
  integrated > virtual > cpu > other.
@Lunderberg
Copy link
Contributor Author

@masahi

@masahi masahi merged commit df96cba into apache:main Jul 30, 2021
@Lunderberg Lunderberg deleted the vulkan_device_preference branch July 30, 2021 09:29
ylc pushed a commit to ylc/tvm that referenced this pull request Sep 29, 2021
- Added device_type to the device-queried information.

- Sort the vulkan devices by the device_type.  Priority is discrete >
  integrated > virtual > cpu > other.

Co-authored-by: Eric Lunderberg <[email protected]>
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
- Added device_type to the device-queried information.

- Sort the vulkan devices by the device_type.  Priority is discrete >
  integrated > virtual > cpu > other.

Co-authored-by: Eric Lunderberg <[email protected]>
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