Skip to content

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 <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