Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ divUp
Function
divUp
samples/common/safeCommon.h:91–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
90
template <typename A, typename B>
91
inline A divUp(A x, B n)
92
{
93
return (x + n - 1) / n;
94
}
95
96
inline int64_t volume(nvinfer1::Dims const& d)
97
{
Callers
2
volume
Function · 0.70
BufferManager
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected