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

[NATIVECPU] Add Native CPU specific property mechanism and nd_range property #2367

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PietroGhg
Copy link
Contributor

@PietroGhg PietroGhg commented Nov 21, 2024

This PR adds a mechanism to process Native CPU-specific kernel properties, and uses that mechanism to process a kernel property to check whether or not a kernel uses features provided by sycl::nd_range (e.g. get_local_id, local memory, workgroup_barrier).
This information is employed when enqueueing the kernel: if the kernel doesn't use nd_range features, we can restructure the nd_range, allowing us to pack more work items into a work group, which plays well with the vectorization/scheduling process used by Native CPU.

intel/llvm PR: intel/llvm#16152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
native-cpu Native CPU adapter specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant