We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69eab08 commit 2428982Copy full SHA for 2428982
sycl/doc/extensions/USM/USM.adoc
@@ -370,14 +370,14 @@ class queue {
370
public:
371
...
372
template <typename T>
373
- void fill(void* ptr, const T& pattern, size_t count);
+ event fill(void* ptr, const T& pattern, size_t count);
374
};
375
----
376
Parameters::
377
* `void* ptr` - pointer to the memory to fill
378
* `const T& pattern` - pattern to be filled. `T` should be trivially copyable.
379
* `size_t count` - number of times to fill `pattern` into `ptr`
380
-Return value:: Returns an event representing the fill operation.
+Return value:: Returns an event representing the fill operation or void if on the `handler`.
381
382
'''
383
==== Restricted USM
0 commit comments