Skip to content

Commit add3318

Browse files
committed
Clarify behavior of overwrite with no args
1 parent 90e2d35 commit add3318

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/doc/extensions/LocalMemory/LocalMemory.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ multi_ptr<T, Group::address_space> group_local_memory_for_overwrite(Group g);
149149
multi_ptr<T, Group::address_space> group_local_memory(Group g, Args&&... args)` |
150150
Constructs an object of type `T` in an address space accessible by all
151151
work-items in group _g_, forwarding _args_ to the constructor's parameter list.
152+
If _args_ is empty, the object is value initialized.
152153
The constructor is called once per group, upon or before the first call to
153154
`group_local_memory`. The storage for the object is allocated upon or before
154155
the first call to `group_local_memory`, and deallocated when all work-items in

0 commit comments

Comments
 (0)