Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
57
std::string const gSampleName =
"TensorRT.sample_io_formats"
;
58
59
inline int32_t divUp(int32_t a, int32_t b)
60
{
61
return (a + b - 1) / b;
62
}
63
64
template <typename T>
65
std::shared_ptr<T> mallocCudaMem(size_t nbElems)
Callers
1
BufferDesc
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected