Skip to content

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.

@EwanC EwanC force-pushed the ewan/L0_native_graph_test branch from da73b30 to 86217f8 Compare September 26, 2024 13:50
@EwanC EwanC force-pushed the ewan/L0_native_graph_test branch from 86217f8 to 1406b30 Compare September 26, 2024 17:21
@EwanC EwanC force-pushed the ewan/L0_native_graph_test branch from 1406b30 to ba08697 Compare September 27, 2024 08:40
@EwanC EwanC force-pushed the ewan/L0_native_graph_test branch from ba08697 to bf980a2 Compare September 27, 2024 08:43
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 EwanC force-pushed the ewan/L0_native_graph_test branch from bf980a2 to f85c9f7 Compare September 27, 2024 09:45
@EwanC EwanC marked this pull request as ready for review September 27, 2024 11:37
@EwanC EwanC requested a review from a team as a code owner September 27, 2024 11:37
@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