Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14355,9 +14355,6 @@ All of the accessors defined in <<command-group-scope>> take as a parameter an
instance of the <<handler>>, and all the kernel invocation functions are member
functions of this class.

The constructors of the SYCL [code]#handler# class are described in
<<table.constructors.handler>>.

It is disallowed for an instance of the SYCL [code]#handler# class to be moved
or copied.

Expand All @@ -14368,21 +14365,6 @@ include::{header_dir}/commandGroupHandler.h[lines=4..-1]
----


[[table.constructors.handler]]
.Constructors of the [code]#handler# class
[width="100%",options="header",separator="@",cols="65%,35%"]
|====
@ Constructor @ Description
a@
[source]
----
handler(___unspecified___)
----
a@ Unspecified implementation-defined constructor.

|====


[[sub.section.requirement]]
==== SYCL functions for adding requirements

Expand Down
12 changes: 8 additions & 4 deletions adoc/headers/commandGroupHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@
namespace sycl {

class handler {
private:
// implementation defined constructor
handler(___unspecified___);

public:
handler() = delete;

// A handler cannot be moved or copied.
handler(const handler&) = delete;
handler(handler&&) = delete;
handler& operator=(const handler&) = delete;
handler& operator=(handler&&) = delete;

template <typename DataT, int Dimensions, access_mode AccessMode,
target AccessTarget, access::placeholder IsPlaceholder>
void require(
Expand Down