FPGA Local Memory Function
template <typename T, typename Group> multi_ptr<T, Group::address_space> group_local_memory_for_overwrite(Group g)
Constructs an object of type
Tin an address space accessible by all work items in the workgroup
g, using the default initialization. The object is initialized upon or before the first call to the
group_local_memory_for_overwritefunction. The storage for the object is allocated upon or before the first call to the
group_local_memory_for_overwritefunction, and deallocated when all work items in the workgroup have completed executing the kernel.
All arguments in
argsmust be the same for all work items in the group. Group must be
Tmust be trivially destructible.