Skip to content

[SYCL] platform.has(aspect) fix for empty platforms. #7922

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

Conversation

cperkinsintel
Copy link
Contributor

@cperkinsintel cperkinsintel commented Jan 5, 2023

platform::has(aspect) should be false if there are no devices at all.

This will fix the failure we are seeing in select_device.cpp allowing us to revert intel/llvm-test-suite#1483
for which I've opened a PR here: intel/llvm-test-suite#1488

@cperkinsintel
Copy link
Contributor Author

converting to draft while I investigate a different avenue.

@cperkinsintel cperkinsintel temporarily deployed to aws January 5, 2023 02:04 — with GitHub Actions Inactive
@cperkinsintel cperkinsintel temporarily deployed to aws January 5, 2023 02:35 — with GitHub Actions Inactive
@cperkinsintel cperkinsintel deleted the cperkins-empty-has-aspect-false branch February 2, 2023 00:55
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.

1 participant