From 88b540aff2c79f9c2fba8b2cf0bfa917b39434dc Mon Sep 17 00:00:00 2001 From: John Pennycook Date: Fri, 6 Dec 2024 13:33:22 +0000 Subject: [PATCH] Restart numbering at 1 in each synopsis block --- .../sycl_khr_free_function_commands.adoc | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/adoc/extensions/sycl_khr_free_function_commands.adoc b/adoc/extensions/sycl_khr_free_function_commands.adoc index f577cd24..0893d0df 100644 --- a/adoc/extensions/sycl_khr_free_function_commands.adoc +++ b/adoc/extensions/sycl_khr_free_function_commands.adoc @@ -589,22 +589,22 @@ namespace sycl::khr { template void copy(sycl::handler& h, const SrcT* src, - sycl::accessor dest); (3) + sycl::accessor dest); (1) template void copy(sycl::handler& h, std::shared_ptr src, - sycl::accessor dest); (4) + sycl::accessor dest); (2) template void copy(sycl::queue q, const SrcT* src, - sycl::accessor dest); (5) + sycl::accessor dest); (3) template void copy(sycl::queue q, std::shared_ptr src, - sycl::accessor dest); (6) + sycl::accessor dest); (4) } ---- @@ -623,9 +623,9 @@ _Preconditions_: * [code]#src# points to an allocation of at least as many bytes as the range represented by [code]#dest#. -_Effects (3-4)_: Equivalent to [code]#h.copy(src, dest)#. +_Effects (1-2)_: Equivalent to [code]#h.copy(src, dest)#. -_Effects (5-6)_: Equivalent to [code]#q.submit([&](handler& h) { copy(h, src, +_Effects (3-4)_: Equivalent to [code]#q.submit([&](handler& h) { copy(h, src, dest) })# ''' @@ -638,22 +638,22 @@ namespace sycl::khr { template void copy(sycl::handler& h, sycl::accessor src, - DestT* dest); (7) + DestT* dest); (1) template void copy(sycl::handler& h, sycl::accessor src, - std::shared_ptr dest); (8) + std::shared_ptr dest); (2) template void copy(sycl::queue q, sycl::accessor src, - DestT* dest); (9) + DestT* dest); (3) template void copy(sycl::queue q, sycl::accessor src, - std::shared_ptr dest); (10) + std::shared_ptr dest); (4) } ---- @@ -672,9 +672,9 @@ _Preconditions_: * [code]#dest# points to an allocation of at least as many bytes as the range represented by [code]#src#. -_Effects (7-8)_: Equivalent to [code]#h.copy(src, dest)#. +_Effects (1-2)_: Equivalent to [code]#h.copy(src, dest)#. -_Effects (9-10)_: Equivalent to [code]#q.submit([&](handler& h) { copy(h, src, +_Effects (3-4)_: Equivalent to [code]#q.submit([&](handler& h) { copy(h, src, dest); })#. ''' @@ -688,13 +688,13 @@ template void copy(sycl::queue q, sycl::accessor src, - sycl::accessor dest); (11) + sycl::accessor dest); (1) template void copy(sycl::queue q, sycl::accessor src, - sycl::accessor dest); (12) + sycl::accessor dest); (1) } ---- @@ -709,9 +709,9 @@ _Constraints_: * [code]#DestMode# is [code]#access_mode::write# or [code]#access_mode::read_write#. -_Effects (11)_: Equivalent to [code]#h.copy(src, dest)#. +_Effects (1)_: Equivalent to [code]#h.copy(src, dest)#. -_Effects (12)_: Equivalent to [code]#q.submit([&](handler& h) { copy(h, src, +_Effects (2)_: Equivalent to [code]#q.submit([&](handler& h) { copy(h, src, dest); })#. _Throws_: A synchronous [code]#exception# with the [code]#errc::invalid# error