Skip to content

Commit

Permalink
Fix return type of fill
Browse files Browse the repository at this point in the history
Signed-off-by: James Brodman <james.brodman@intel.com>
  • Loading branch information
jbrodman committed Feb 19, 2020
1 parent 69eab08 commit 2428982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/doc/extensions/USM/USM.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -370,14 +370,14 @@ class queue {
public:
...
template <typename T>
void fill(void* ptr, const T& pattern, size_t count);
event fill(void* ptr, const T& pattern, size_t count);
};
----
Parameters::
* `void* ptr` - pointer to the memory to fill
* `const T& pattern` - pattern to be filled. `T` should be trivially copyable.
* `size_t count` - number of times to fill `pattern` into `ptr`
Return value:: Returns an event representing the fill operation.
Return value:: Returns an event representing the fill operation or void if on the `handler`.

'''
==== Restricted USM
Expand Down

0 comments on commit 2428982

Please sign in to comment.