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-MLIR][clang] Attach SYCLKernelObjFunc to kernel body functions #12345

Merged

Conversation

victor-eds
Copy link
Contributor

SemaSYCL introduces kernels calling user-provided kernel body functions to avoid OpenCL limitations on kernel arguments. Mark the original kernel body functions with a new SYCLKernelObjFunc attribute to handle them in codegen.

`SemaSYCL` introduces kernels calling user-provided kernel body
functions to avoid OpenCL limitations on kernel arguments. Mark the
original kernel body functions with a new `SYCLKernelObjFunc`
attribute to handle them in codegen.

Signed-off-by: Victor Perez <victor.perez@codeplay.com>
@victor-eds victor-eds added the sycl-mlir Pull requests or issues for sycl-mlir branch label Jan 10, 2024
@victor-eds victor-eds self-assigned this Jan 10, 2024
@victor-eds victor-eds requested a review from a team as a code owner January 10, 2024 13:04
@victor-eds victor-eds changed the title [SYCL-MLIR][clang] Attack SYCLKernelObjFunc to kernel body functions [SYCL-MLIR][clang] Attach SYCLKernelObjFunc to kernel body functions Jan 10, 2024
@victor-eds victor-eds merged commit 61b96ba into intel:sycl-mlir Jan 10, 2024
6 checks passed
@victor-eds victor-eds deleted the attack-sycl-kernel-obj-func-attr branch January 10, 2024 14:51
iclsrc pushed a commit that referenced this pull request Aug 15, 2024
This script linkifies (i.e. makes clickable in the terminal) text that appears
to be a pull request or issue reference (e.g. #12345 or PR12345) or a
40-character commit hash (e.g. abc123). You can configure git to automatically
send the output of commands that pipe their output through a pager, such as
`git log` and `git show`, through this script by running this command from
within your LLVM checkout:

git config core.pager 'llvm/utils/git/linkify | pager'

The pager command is run from the root of the repository even if the git
command is run from a subdirectory, so the relative path should always work.

It requires OSC 8 support in the terminal. For a list of compatible terminals,
see https://github.com/Alhadis/OSC8-Adoption

Reviewers: MaskRay

Reviewed By: MaskRay

Pull Request: llvm/llvm-project#103496
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sycl-mlir Pull requests or issues for sycl-mlir branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants