Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
addBinding
Method · 0.45
allocate
Method · 0.45
allocate
Method · 0.45
reallocateOutput
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected