-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Vulkan][Target] Change error to warning for "vulkan -from_device=0"
Previously, this would give an error if used on a system without vulkan support enabled, or without a vulkan-compatible device. This causes issues in building a `tvm.target.Target` object on a CPU-only device, such as when determining the pytest marks needed for a given target. This is now a warning, defaulting to a minimum vulkan 1.0-compliant target if no device is present.
- Loading branch information
1 parent
373d8d1
commit 0ab1190
Showing
2 changed files
with
25 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters