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

Method setDLACore

include/NvInfer.h:9355–9358  ·  view source on GitHub ↗

\brief Sets the DLA core used by the network. Defaults to -1. \param dlaCore The DLA core to execute the engine on, in the range [0,getNbDlaCores()). This function is used to specify which DLA core to use via indexing, if multiple DLA cores are available. \warning if getNbDLACores() returns 0, then this function does nothing. \see IRuntime::setDLACore() getDLACore()

Source from the content-addressed store, hash-verified

9353 //! \see IRuntime::setDLACore() getDLACore()
9354 //!
9355 void setDLACore(int32_t dlaCore) noexcept
9356 {
9357 mImpl->setDLACore(dlaCore);
9358 }
9359
9360 //!
9361 //! \brief Get the DLA core that the engine executes on.

Callers 3

getMethod · 0.45
setupNetworkAndConfigFunction · 0.45
enableDLAFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected