MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / allocate

Method allocate

samples/common/sampleDevice.h:268–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266 }
267
268 void allocate(size_t size)
269 {
270 reset();
271 A()(&mPtr, size);
272 }
273
274 void reset(void* ptr = nullptr)
275 {

Callers 4

addBindingMethod · 0.45
allocateMethod · 0.45
allocateMethod · 0.45
reallocateOutputMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected