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

Function divUp

samples/sampleIOFormats/sampleIOFormats.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57std::string const gSampleName = "TensorRT.sample_io_formats";
58
59inline int32_t divUp(int32_t a, int32_t b)
60{
61 return (a + b - 1) / b;
62}
63
64template <typename T>
65std::shared_ptr<T> mallocCudaMem(size_t nbElems)

Callers 1

BufferDescMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected