MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / GetLogicalBlockSize

Function GetLogicalBlockSize

oneflow/core/embedding/persistent_table.cpp:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120uint32_t GetLogicalBlockSize(uint32_t physical_block_size, uint32_t value_size) {
121 return physical_block_size >= value_size ? physical_block_size
122 : RoundUp(value_size, physical_block_size);
123}
124
125class AlignedBuffer final {
126 public:

Callers 1

PersistentTableImplMethod · 0.85

Calls 1

RoundUpFunction · 0.85

Tested by

no test coverage detected