Skip to content

Commit fe53fcc

Browse files
author
Colin Davidson
committed
Update after review comments
1 parent 864cd5c commit fe53fcc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

sycl/doc/design/SYCLNativeCPUPipeline.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ run in `llvm::sycl::utils::addSYCLNativeCPUBackendPasses`. All of the compiler
99
pipeline code can be found under
1010
[llvm/lib/SYCLNativeCPUUtils](https://github.com/intel/llvm/tree/sycl/llvm/lib/SYCLNativeCPUUtils),
1111
with the code which originated from the [oneAPI Construction
12-
Kit](https://github.com/uxlfoundation/oneapi-construction-kit/tree/main), under
12+
Kit](https://github.com/uxlfoundation/oneapi-construction-kit), under
1313
`compiler_passes` in that directory.
1414

1515

@@ -21,13 +21,13 @@ execution when invoked by the host-side runtime. The assumptions placed
2121
on the input and output kernels is as follows:
2222

2323
1. The original kernel is assumed to adhere to an implicit **SIMT**
24-
execution model; it runs once per each *work-item* in an
25-
**NDRange**.
24+
execution model; it runs once per each *work-item* in an
25+
**NDRange**.
2626
2. It is passed a state struct which contains information about the scheduling.
2727
3. All builtins which do not relate to scheduling have been processed and we are
2828
left with some scheduling related calls to "mux builtins".
2929
4. The final compiled kernel is assumed to be invoked from the
30-
host-side runtime once per *work-group* in the **NDRange**.
30+
host-side runtime once per *work-group* in the **NDRange**.
3131

3232
The inner-most function is the original input kernel, which is *wrapped*
3333
by new functions in successive phases, until it is ready in a form to be

sycl/doc/design/SYCLNativeCPUPipelinePasses.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ up in a triple-nested loop over all work-items in the work-group. Thus,
5353
kernels scheduled by this pass can be invoked once per work-group.
5454

5555
The order in which work-items are executed is fairly flexible, but generally in
56-
ascending order from [0] to [N-1] through the innermost [X] dimension, followed
57-
by the [Y] dimension, and lastly the [Z] dimension.
56+
ascending order from \[0\] to \[N-1\] through the innermost \[X\] dimension, followed
57+
by the \[Y\] dimension, and lastly the \[Z\] dimension.
5858

5959
Conceptually, the pass transforms `old_kernel` into `new_kernel` in the
6060
example below:

0 commit comments

Comments
 (0)