tensorflow/compiler/mlir/hlo/lib/Transforms/buffer_packing.cc
/// Compute the 64 byte alinged segments of a given Value.
Compute the 64 byte alinged segments of a given Value.
Compute the 64 byte alinged segments of a given Value .
size_t computeAlignedSegments(const Value &v) {
  size_t padding = 64;
  size_t bytes = computeByteSize(v);
  return std::ceil(bytes / (double)padding);
}
size_t computeAlignedSegments ( const Value & v ) { size_t padding = 64 ; size_t bytes = computeByteSize ( v ) ; return std :: ceil ( bytes / ( double ) padding ) ; }
Compute the 64 byte alinged segments of a given Value.
Compute the 64 byte alinged segments of a given Value .