tglite.op.preload

tglite.op.preload(blk: TBlock, use_pin=True)

Prefetch data (e.g. features, memory, mails) needed by the TBlock and its subsequent blocks for computations.

Parameters:
  • blk

  • use_pin – whether to pin memory