Skip to content

Commit

Permalink
Merge pull request #527 from KhronosGroup/mkinsner-hosttasksynop
Browse files Browse the repository at this point in the history
Update hostTaskSynopsis.h
  • Loading branch information
gmlueck authored Jan 11, 2024
1 parent 6951a9a commit d91b975
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
11 changes: 5 additions & 6 deletions adoc/headers/hostTask/classHandler/hostTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
// SPDX-License-Identifier: MIT

class handler {
...
public:
// ...

public
: template <typename T>
void
host_task(T&& hostTaskCallable); // (1)
template <typename T>
void host_task(T&& hostTaskCallable); // (1)

...
// ...
};
13 changes: 5 additions & 8 deletions adoc/headers/hostTask/hostTaskSynopsis.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,13 @@ class interop_handle {
};

class handler {
...

public
:
public:
// ...

template <typename T>
void
host_task(T&& hostTaskCallable);
template <typename T>
void host_task(T&& hostTaskCallable);

...
// ...
};

} // namespace sycl

0 comments on commit d91b975

Please sign in to comment.