Skip to content

Commit 8fa7715

Browse files
authored
Merge pull request #510 from gmlueck/gmlueck/reflow-ch
[reflow] Abbreviation "ch." does not end sentence
2 parents ff6268f + 0ea0955 commit 8fa7715

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

adoc/chapters/opencl_backend.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,9 +1157,9 @@ All content in this section is non-normative.
11571157

11581158
=== Work-item functions
11591159

1160-
The OpenCL 1.2 specification document <<opencl12, ch.
1161-
6.12.1 in Table 6.7>> defines work-item functions that tell various information
1162-
about the currently executing work-item in an OpenCL kernel.
1160+
The OpenCL 1.2 specification document <<opencl12, ch. 6.12.1 in Table 6.7>>
1161+
defines work-item functions that tell various information about the currently
1162+
executing work-item in an OpenCL kernel.
11631163
SYCL provides equivalent functionality through the item and group classes that
11641164
are defined in <<subsec:item.class>>, <<nditem-class>> and <<group-class>>.
11651165

adoc/chapters/programming_interface.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20587,8 +20587,7 @@ determined by their linear id.
2058720587

2058820588
In SYCL the OpenCL math functions are available in the namespace [code]#sycl# on
2058920589
host and device with the same precision guarantees as defined in the OpenCL 1.2
20590-
specification document <<opencl12, ch.
20591-
7>> for host and device.
20590+
specification document <<opencl12, ch. 7>> for host and device.
2059220591
For a SYCL platform the numerical requirements for host need to match the
2059320592
numerical requirements of the OpenCL math built-in functions.
2059420593

adoc/scripts/reflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
# A single letter followed by a period, typically a middle initial.
5454
endInitial = re.compile(r'^[A-Z]\.$')
5555
# An abbreviation, which does not (usually) end a line.
56-
endAbbrev = re.compile(r'(e\.g|i\.e|c\.f|vs|co|ltd)\.$', re.IGNORECASE)
56+
endAbbrev = re.compile(r'(e\.g|i\.e|c\.f|\bvs\b|\bco\b|\bltd\b|\bch\b)\.$', re.IGNORECASE)
5757

5858
# Explicit Valid Usage list item with one or more leading asterisks
5959
# The re.DOTALL is needed to prevent vuPat.search() from stripping

0 commit comments

Comments
 (0)