\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
| 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. |
no outgoing calls
no test coverage detected