Allocator for testing arguments. More...
Public Member Functions | |
| bool | hasRealloc (MemoryAllocationArgs args) const override |
| AllocatedMemoryInfo | allocate (MemoryAllocationArgs args, Int64 new_size) override |
| AllocatedMemoryInfo | reallocate (MemoryAllocationArgs args, AllocatedMemoryInfo current_ptr, Int64 new_size) override |
| void | deallocate (MemoryAllocationArgs args, AllocatedMemoryInfo ptr) override |
| Int64 | adjustedCapacity (MemoryAllocationArgs args, Int64 wanted_capacity, Int64 element_size) const override |
| size_t | guaranteedAlignment (MemoryAllocationArgs args) const override |
| void | notifyMemoryArgsChanged (MemoryAllocationArgs old_args, MemoryAllocationArgs new_args, AllocatedMemoryInfo ptr) override |
Static Private Member Functions | |
| static void | _checkValid (MemoryAllocationArgs args) |
Private Attributes | |
| DefaultMemoryAllocator3 | m_default_allocator |
Allocator for testing arguments.
Allows verification that it was called with the correct arguments. It should only be called with args.memoryLocationHint() which equals eMemoryLocationHint::None or eMemoryLocationHint::HostAndDeviceMostlyRead
Definition at line 1192 of file TestArray.cc.
|
inlinestaticprivate |
Definition at line 1243 of file TestArray.cc.
|
inlineoverride |
Definition at line 1217 of file TestArray.cc.
|
inlineoverride |
Definition at line 1202 of file TestArray.cc.
|
inlineoverride |
Definition at line 1212 of file TestArray.cc.
|
inlineoverride |
Definition at line 1222 of file TestArray.cc.
|
inlineoverride |
Definition at line 1197 of file TestArray.cc.
|
inlineoverride |
Definition at line 1228 of file TestArray.cc.
|
inlineoverride |
Definition at line 1207 of file TestArray.cc.
|
private |
Definition at line 1239 of file TestArray.cc.