Skip to content

Commit ac54a4a

Browse files
authored
[SYCL][Doc] Add a hint how to avoid ABI break when modifying handler (#3580)
1 parent 8aae3d3 commit ac54a4a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sycl/doc/ABIPolicyGuide.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,10 @@ Whenever you need to change the existing ABI, please, follow these steps:
112112
update test files.
113113
3. ~~If Pull Request introduces a breaking change, update the library version~~
114114
~~according to the policies.~~ **(See note above)**
115+
116+
## BKMs on avoiding changing ABI
117+
118+
1. If there is a need to add a new field in `sycl::handler` or/and
119+
`sycl::detail::CG` classes it can be done without breaking ABI using the
120+
approach described in the comment at the beggining of
121+
[cg.hpp](../include/CL/sycl/detail/cg.hpp)

0 commit comments

Comments
 (0)