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

Method setMemoryPoolLimit

include/NvInfer.h:9714–9717  ·  view source on GitHub ↗

\brief Set the memory size for the memory pool. TensorRT layers access different memory pools depending on the operation. This function sets in the IBuilderConfig the size limit, specified by \p poolSize, for the corresponding memory pool, specified by \p pool. TensorRT will build a plan file that is constrained by these limits or report which constraint caused the failure. If the size of the po

Source from the content-addressed store, hash-verified

9712 //! \see getMemoryPoolLimit, MemoryPoolType
9713 //!
9714 void setMemoryPoolLimit(MemoryPoolType pool, std::size_t poolSize) noexcept
9715 {
9716 mImpl->setMemoryPoolLimit(pool, poolSize);
9717 }
9718
9719 //!
9720 //! \brief Get the memory size limit of the memory pool.

Callers 1

setMemoryPoolLimitsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected