Skip to content

Commit 36433dd

Browse files
Pennycookgmlueck
andauthored
Remove Param::return_type and argument_types
Co-authored-by: Greg Lueck <[email protected]>
1 parent f9570bb commit 36433dd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

sycl/doc/extensions/proposed/sycl_ext_oneapi_launch_queries.asciidoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ namespace sycl {
122122
class kernel {
123123
public:
124124
template <typename Param, typename... T>
125-
typename Param::return_type ext_oneapi_get_info(T... args) const;
125+
/*return-type*/ ext_oneapi_get_info(T... args) const;
126126
};
127127
128128
}
@@ -131,19 +131,18 @@ class kernel {
131131
[source,c++]
132132
----
133133
template <typename Param, typename... T>
134-
typename Param::return_type ext_oneapi_get_info(T... args) const;
134+
/*return-type*/ ext_oneapi_get_info(T... args) const;
135135
----
136136
_Constraints_: Available only when the types `+T...+` described by the parameter
137-
pack match the type list defined by `Param::argument_types`, which must be
138-
defined in accordance with the table below. The representation of
139-
`Param::argument_types` is unspecified.
137+
pack match the types defined in the table below.
140138

141139
_Preconditions_: `Param` must be one of the `info::kernel` descriptors defined
142140
in this extension, and the type alias `Param::return_type` must be defined in
143141
accordance with the table below.
144142

145143
_Returns_: Information about the kernel that applies when the kernel is
146144
submitted with the configuration described by the parameter pack `+T...+`.
145+
The return type is defined in the table below.
147146

148147
This extension adds several new queries to this interface, many of which
149148
already have equivalents in the `kernel_device_specific` or `device`

0 commit comments

Comments
 (0)