Skip to content

[SYCL][E2E] Add gpu-intel-pvc-vg LIT param #12981

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 2 commits into from
Mar 15, 2024
Merged

[SYCL][E2E] Add gpu-intel-pvc-vg LIT param #12981

merged 2 commits into from
Mar 15, 2024

Conversation

sarnex
Copy link
Contributor

@sarnex sarnex commented Mar 11, 2024

I chose gpu-intel-pvc-vg instead of gpu-intel-pvcvg to match the device_arch here.

@sarnex sarnex temporarily deployed to WindowsCILock March 11, 2024 18:56 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock March 11, 2024 19:18 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock March 11, 2024 19:18 — with GitHub Actions Inactive
@sarnex sarnex marked this pull request as ready for review March 11, 2024 19:57
@sarnex sarnex requested a review from a team as a code owner March 11, 2024 19:57
@sarnex sarnex requested review from sergey-semenov and a team March 11, 2024 19:57
Comment on lines 160 to 163
if lit_config.params.get("gpu-intel-pvc", False):
config.available_features.add("gpu-intel-pvc")
else:
config.available_features.add("gpu-intel-pvc-vg")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of E2E tests using 'gpu-intel-pvc' now, need to use 'gpu-intel-pvc || gpu-intel-pvc-vg' to start on pvc-vg, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want them to run on both PVC and PVC-VG, yes. I don't think there's any getting around that, right now as far as I see we only ever have one gpu-intel* true for a given device, having both gpu-intel-pvc and gpu-intel-pvc-vg be true would be a first and might cause problems.

@sarnex
Copy link
Contributor Author

sarnex commented Mar 14, 2024

@aelovikov-intel or @intel/llvm-reviewers-runtime Ping on this one, thanks!

Comment on lines 158 to 159
if lit_config.params.get("gpu-intel-pvc", False) or \
lit_config.params.get("gpu-intel-pvc-vg", False) :
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we "merge" the handling here? I'd prefer each to be processed on its own.

nit: I think...

Suggested change
if lit_config.params.get("gpu-intel-pvc", False) or \
lit_config.params.get("gpu-intel-pvc-vg", False) :
if (lit_config.params.get("gpu-intel-pvc", False) or
lit_config.params.get("gpu-intel-pvc-vg", False)):

is a more idiomatic formatting, but I'm no expert in snakes...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i thought it would make it cleaner but yeah probably it did not, fixed in latest commit i think

i removed the multiline if so the second comment should be indirectly addressed

thx!

Signed-off-by: Sarnie, Nick <[email protected]>
@sarnex sarnex temporarily deployed to WindowsCILock March 15, 2024 17:17 — with GitHub Actions Inactive
@sarnex sarnex merged commit 1953dcf into intel:sycl Mar 15, 2024
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.

3 participants