This structure describes a single required partition of temporary global memory, as well as where to store the allocated pointer.
More...
#include <temp_storage.hpp>
|
layout | get_layout () |
| Compute the required layout for this type and return it.
|
|
void | set_storage (void *const storage) |
| Assigns the final storage for this partition. More...
|
|
|
T ** | dest |
| The location to store the pointer to the partitioned memory.
|
|
layout | storage_layout |
| The required memory layout of the memory that this partition should get.
|
|
template<typename T>
struct detail::temp_storage::simple_partition< T >
This structure describes a single required partition of temporary global memory, as well as where to store the allocated pointer.
- Template Parameters
-
T | - The base type to allocate temporary memory for. |
◆ set_storage()
Assigns the final storage for this partition.
storage
is assumed to have the required alignment and size as described by the layout returned by get_layout()
.
- Parameters
-
storage | - Base pointer to the storage to be used for this partition. |
The documentation for this struct was generated from the following file: