CARB_PREFETCH

Defined in carb/Defines.h

CARB_PREFETCH(addr, write, level)

Attempts to prefetch from memory using a compiler intrinsic.

Parameters
  • addr – The address to prefetch

  • write – Pass true if writing to the address is intended; false otherwise.

  • level – The carb::PrefetchLevel hint.