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

[SYCL][Graph] Reenable L0 interop test on PVC #15493

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

EwanC
Copy link
Contributor

@EwanC EwanC commented Sep 24, 2024

Re-enable the interop-level-zero-launch-kernel.cpp E2E test on PVC by making the following correctness changes to the native L0 code:

  • Both zeKernelSetGroupSize and ZeGroupCount were set to have 1024 in the X dimensions when this is the total size of the USM allocation, and therefore the number of work items we want. Updated to use zeKernelSuggestGroupSize to work calculate the correct group sizes and count.
  • Update zeKernelSetArgumentValue call so that the size parameter is the size of the pointer rather than size of the USM allocation.

Re-enable the interop-level-zero-launch-kernel.cpp E2E test on
PVC by making the following correctness changes to the native L0 code:

* Both `zeKernelSetGroupSize` and `ZeGroupCount` were set to have 1024 in the X
  dimensions when this is the total size of the USM allocation, and therefore
  the number of work items we want. Updated to use `zeKernelSuggestGroupSize`
  to work calculate the correct group sizes and count.
* Update `zeKernelSetArgumentValue` call so that the size parameter is the size
  of the pointer rather than size of the USM allocation.
@EwanC
Copy link
Contributor Author

EwanC commented Sep 30, 2024

@intel/llvm-gatekeepers This is good to merge thanks

@martygrant martygrant merged commit b9eb520 into intel:sycl Sep 30, 2024
12 checks passed
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