From b00a599d76d406d2f4e77ebeee4ec58ab9e6272d Mon Sep 17 00:00:00 2001 From: Mike Kinsner Date: Wed, 3 Jan 2024 12:05:41 -0400 Subject: [PATCH 1/4] Update hostTaskSynopsis.h --- adoc/headers/hostTask/hostTaskSynopsis.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/adoc/headers/hostTask/hostTaskSynopsis.h b/adoc/headers/hostTask/hostTaskSynopsis.h index d7a66291..412874ac 100644 --- a/adoc/headers/hostTask/hostTaskSynopsis.h +++ b/adoc/headers/hostTask/hostTaskSynopsis.h @@ -41,12 +41,10 @@ class interop_handle { class handler { ... - public - : + public: template - void - host_task(T&& hostTaskCallable); + void host_task(T&& hostTaskCallable); ... }; From 3f08b47eca592fe511004487e0a9627ebd54b36d Mon Sep 17 00:00:00 2001 From: Mike Kinsner Date: Thu, 4 Jan 2024 12:59:52 -0400 Subject: [PATCH 2/4] Update adoc/headers/hostTask/hostTaskSynopsis.h Co-authored-by: Tom Deakin --- adoc/headers/hostTask/hostTaskSynopsis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adoc/headers/hostTask/hostTaskSynopsis.h b/adoc/headers/hostTask/hostTaskSynopsis.h index 412874ac..bdd68db8 100644 --- a/adoc/headers/hostTask/hostTaskSynopsis.h +++ b/adoc/headers/hostTask/hostTaskSynopsis.h @@ -39,7 +39,7 @@ class interop_handle { }; class handler { - ... + // ... public: From cfdc833f88289616e95d1d314f31f21d0863b671 Mon Sep 17 00:00:00 2001 From: Mike Kinsner Date: Thu, 4 Jan 2024 12:59:58 -0400 Subject: [PATCH 3/4] Update adoc/headers/hostTask/hostTaskSynopsis.h Co-authored-by: Tom Deakin --- adoc/headers/hostTask/hostTaskSynopsis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adoc/headers/hostTask/hostTaskSynopsis.h b/adoc/headers/hostTask/hostTaskSynopsis.h index bdd68db8..d35b8658 100644 --- a/adoc/headers/hostTask/hostTaskSynopsis.h +++ b/adoc/headers/hostTask/hostTaskSynopsis.h @@ -46,7 +46,7 @@ class handler { template void host_task(T&& hostTaskCallable); - ... + // ... }; } // namespace sycl From 958d6ad19f61c39f01382b8c6c647dfc6ff743cd Mon Sep 17 00:00:00 2001 From: Greg Lueck Date: Thu, 4 Jan 2024 14:50:22 -0500 Subject: [PATCH 4/4] Some more related tweaks * Update "classHandler/hostTask.h", which has the same problem. * Fix the indentation to match the other synopses. --- adoc/headers/hostTask/classHandler/hostTask.h | 11 +++++------ adoc/headers/hostTask/hostTaskSynopsis.h | 7 +++---- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/adoc/headers/hostTask/classHandler/hostTask.h b/adoc/headers/hostTask/classHandler/hostTask.h index e0d89769..2353fd2a 100644 --- a/adoc/headers/hostTask/classHandler/hostTask.h +++ b/adoc/headers/hostTask/classHandler/hostTask.h @@ -2,12 +2,11 @@ // SPDX-License-Identifier: MIT class handler { - ... + public: + // ... - public - : template - void - host_task(T&& hostTaskCallable); // (1) + template + void host_task(T&& hostTaskCallable); // (1) - ... + // ... }; diff --git a/adoc/headers/hostTask/hostTaskSynopsis.h b/adoc/headers/hostTask/hostTaskSynopsis.h index d35b8658..1f8189dc 100644 --- a/adoc/headers/hostTask/hostTaskSynopsis.h +++ b/adoc/headers/hostTask/hostTaskSynopsis.h @@ -39,12 +39,11 @@ class interop_handle { }; class handler { + public: // ... - public: - - template - void host_task(T&& hostTaskCallable); + template + void host_task(T&& hostTaskCallable); // ... };