MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / getAddress

Function getAddress

src/fastertransformer/utils/allocator.h:113–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 virtual ReallocType isReMalloc(void* address, size_t size) const = 0;
112
113 void* getAddress(void* ptr) const
114 {
115 return ptr;
116 }
117};
118
119template<AllocatorType AllocType_>

Callers 7

reMallocMethod · 0.85
mallocMethod · 0.85
freeMethod · 0.85
mallocMethod · 0.85
freeMethod · 0.85
mallocMethod · 0.85
freeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected