MCPcopy Create free account
hub / github.com/CRVI/OpenCLIPP / CalculateStep

Function CalculateStep

Bench/src/CImage.cpp:166–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166uint CalculateStep(uint W, uint C, uint D, uint Align)
167{
168 size_t Bytes = W * D * C / 8;
169 align(Bytes, Align);
170 return (uint) Bytes;
171}

Callers 1

CreateMethod · 0.70

Calls 1

alignFunction · 0.85

Tested by

no test coverage detected