Skip to content

[SYCL] properly report supported device partitioning in Level-Zero #2751

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

Merged
merged 3 commits into from
Nov 12, 2020

Conversation

smaslov-intel
Copy link
Contributor

@smaslov-intel smaslov-intel commented Nov 9, 2020

Make adhere to SYCL spec:

  1. [info::device::partition_properties]: returns the partition properties
    supported by this SYCL device; a vector of info::partition_property. If this
    SYCL device cannot be partitioned into at least two sub devices then the
    returned vector must be empty.

  2. [create_sub_devices()]: If the SYCL device
    does not support info::partition_property::partition_by_affinity_domain or the
    SYCL device does not support the info::partition_affinity_domain provided, an
    exception with the feature_not_supported error code must be thrown.

Signed-off-by: Sergey V Maslov [email protected]

@smaslov-intel smaslov-intel requested a review from a team as a code owner November 9, 2020 19:11
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
@againull againull self-requested a review November 12, 2020 03:14
@romanovvlad
Copy link
Contributor

run_on_host_intel2 is a known issue which is being fixed in #2766

@romanovvlad
Copy link
Contributor

@smaslov-intel Can we wait until #2766 is merged or we need this ASAP?

@smaslov-intel
Copy link
Contributor Author

@smaslov-intel Can we wait until #2766 is merged or we need this ASAP?

It can wait.

@bader
Copy link
Contributor

bader commented Nov 12, 2020

I think #2766 can be merged right away to unblock pre-commit testing of other PRs.

@againull
Copy link
Contributor

#2766 merged, can you please rebase this PR.

@bader
Copy link
Contributor

bader commented Nov 12, 2020

#2766 merged, can you please rebase this PR.

Or just re-run sycl-win-x64-pr job.

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.

4 participants