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

Method getDeviceBuffer

samples/common/buffers.h:295–298  ·  view source on GitHub ↗

\brief Returns the device buffer corresponding to tensorName. Returns nullptr if no such tensor can be found.

Source from the content-addressed store, hash-verified

293 //! Returns nullptr if no such tensor can be found.
294 //!
295 void* getDeviceBuffer(const std::string& tensorName) const
296 {
297 return getBuffer(false, tensorName);
298 }
299
300 //!
301 //! \brief Returns the host buffer corresponding to tensorName.

Callers 1

addBindingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected