-
Notifications
You must be signed in to change notification settings - Fork 787
[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
Conversation
Signed-off-by: Sarnie, Nick <[email protected]>
sycl/test-e2e/lit.cfg.py
Outdated
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") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
@aelovikov-intel or @intel/llvm-reviewers-runtime Ping on this one, thanks! |
sycl/test-e2e/lit.cfg.py
Outdated
if lit_config.params.get("gpu-intel-pvc", False) or \ | ||
lit_config.params.get("gpu-intel-pvc-vg", False) : |
There was a problem hiding this comment.
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...
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...
There was a problem hiding this comment.
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]>
I chose
gpu-intel-pvc-vg
instead ofgpu-intel-pvcvg
to match the device_arch here.