Print the backend as part of print_device_info.#409
Merged
Conversation
Contributor
|
Built, ran, got: Perhaps it would be useful to combine Backend/Device_Type into fully specified filter selector string, kind of like in intel/llvm#3611, using our relative_id routine ? |
oleksandr-pavlyk
previously approved these changes
Apr 28, 2021
Contributor
Author
Where is the relative_id routine? Makes sense to do it right the first time. |
Contributor
|
00955bb to
68f20ac
Compare
Contributor
Author
Done. |
added 2 commits
May 4, 2021 15:27
- print_device_info now prints the filter string. Device type
is no longer separately printed out. Device profile is not
printed any more.
- print_platform_info now has various verbosity levels to
control amount of information that is printed.
68f20ac to
bde3ff2
Compare
oleksandr-pavlyk
approved these changes
May 4, 2021
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #293
Improvements to the
print_*_info()functions in both C and Python APIs.The
print_device_info()function now prints the full filter string.The
print_platform_info()function now supports verbosity levels that can be0, 1, 2. The default verbosity level is set to 0.The behaviour of the
lsplatformfunction is also modified. Verbosity levels are supported by this function as well and the default level is set to 0. The earlier level of detail is now only printed at verbosity level 2.