Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 889f249f authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Document the default alignment and padding value." am: 40122ae5

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1641200

Change-Id: I740c37737d0250521390a70ea2dacc185f8b6c1b
parents 3d79c11c 40122ae5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -35,6 +35,11 @@ package android.hardware.neuralnetworks;
 * total size of the writable region of the output data, and padding specifies the extra bytes at
 * the end of the memory region that may be used by the device to access memory in chunks, for
 * efficiency, but must not be used to hold any output data.
 *
 * When used in RequestArgument, clients should prefer to align and pad the sub-region to
 * 64 bytes when possible; this may allow the device to access the sub-region more efficiently.
 * The sub-region is aligned to 64 bytes if the value of offset is a multiple of 64.
 * The sub-region is padded to 64 bytes if the sum of length and padding is a multiple of 64.
 */
@VintfStability
parcelable DataLocation {