Skip to content

[SYCL] Corrected formatting. #2051

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

Merged
merged 1 commit into from
Jul 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sycl/doc/KernelParameterPassing.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ The compiler-generated code for a call to such a lambda function would look like
When offloading the kernel to a device, the lambda/function object's
function operator cannot be directly called with a capture object address.
Instead, the code generated for the device is in the form of a
kernel caller and a kernel callee.
"kernel caller" and a "kernel callee".
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It turned out that it's not the only problem.
https://github.com/intel/llvm/runs/847989560

Could you try to build the documentation locally to verify the fix?

The callee is a clone of the SYCL kernel object.
The caller is generated in the form of an OpenCL kernel function.
It receives the lambda capture object in pieces, assembles the pieces
Expand Down