MCPcopy 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
90template <typename A, typename B>
91inline A divUp(A x, B n)
92{
93 return (x + n - 1) / n;
94}
95
96inline int64_t volume(nvinfer1::Dims const& d)
97{

Callers 2

volumeFunction · 0.70
BufferManagerMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected