Skip to content

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

Merged
masahi merged 1 commit intoapache:mainfrom
Lunderberg:vulkan_device_preference
Jul 30, 2021
Merged

[Vulkan] Prioritize discrete GPUs as device_id=0.#8588
masahi merged 1 commit intoapache:mainfrom
Lunderberg:vulkan_device_preference

Conversation

@Lunderberg
Copy link
Copy Markdown
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
Copy Markdown
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 <elunderberg@octoml.ai>
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 <elunderberg@octoml.ai>
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