Class ScatterList
java.lang.Object
dev.engine_room.flywheel.backend.engine.indirect.ScatterList
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoiddelete()booleanisEmpty()longptr()voidpush(long sizeBytes, long srcOffsetBytes, long dstOffsetBytes) voidpushTransfer(TransferList transfers, int transferIndex) Breaks a transfer into many smaller scatter commands if it is too large, and appends them to this list.voidreset()long
-
Field Details
-
STRIDE
public static final long STRIDE- See Also:
-
maxBytesPerScatter
public final long maxBytesPerScatter
-
-
Constructor Details
-
ScatterList
public ScatterList()
-
-
Method Details
-
pushTransfer
Breaks a transfer into many smaller scatter commands if it is too large, and appends them to this list.- Parameters:
transfers- The list of transfers to push.transferIndex- The index of the transfer to push.
-
push
public void push(long sizeBytes, long srcOffsetBytes, long dstOffsetBytes) -
copyCount
public int copyCount() -
usedBytes
public long usedBytes() -
isEmpty
public boolean isEmpty() -
reset
public void reset() -
ptr
public long ptr() -
delete
public void delete()
-