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 876 of file TestArray.cc.
|
inlinestaticprivate |
Definition at line 927 of file TestArray.cc.
|
inlineoverride |
Definition at line 901 of file TestArray.cc.
|
inlineoverride |
Definition at line 886 of file TestArray.cc.
|
inlineoverride |
Definition at line 896 of file TestArray.cc.
|
inlineoverride |
Definition at line 906 of file TestArray.cc.
|
inlineoverride |
Definition at line 881 of file TestArray.cc.
|
inlineoverride |
Definition at line 912 of file TestArray.cc.
|
inlineoverride |
Definition at line 891 of file TestArray.cc.
|
private |
Definition at line 923 of file TestArray.cc.