MCPcopy Create free account
hub / github.com/MirrorYuChen/ncnn_example / alignSize

Function alignSize

include/linux/ncnn/allocator.h:54–57  ·  view source on GitHub ↗

Aligns a buffer size to the specified number of bytes The function returns the minimum number that is greater or equal to sz and is divisible by n sz Buffer size to align n Alignment size that must be a power of two

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

MatMethod · 0.70
reshapeMethod · 0.70
createMethod · 0.70
VkMatMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected