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

[urinfo] Use urDeviceGetSelected #1389

Merged
merged 3 commits into from
Mar 12, 2024
Merged

Commits on Feb 23, 2024

  1. [urinfo] Use urDeviceGetSelected

    Now that oneapi-src#740 is merged, actually use `urDeviceGetSelected` in the
    `urinfo` tool to mirror the behaviour of the `sycl-ls` tool.
    kbenzie committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    4957bd0 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. [ODS] Fix not returning invalid values

    After allowing urDeviceGetSelected to return zero devices rather than
    returning an error, a number of unit tests started failing. This patch
    fixes these tests by returning the expected error code during parsing,
    rather than after processing all ODS terms. This has the caveat of not
    processing all ODS terms before reporting an error and should be
    revisited once more robust testing is in place.
    kbenzie committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    5fe75aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    198b7c2 View commit details
    Browse the repository at this point in the history