GetSectorCacheLineSize
Description
Obtains the size of the platform sector cache line, in bytes. The value is half of the cache line size.
Prototype
template <typename T> uint32_t GetSectorCacheLineSize([[maybe_unused]] const T *context)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
context |
Input |
Tiling context, of TilingContext or TilingParseContext type. |
Return Value
uint32_t: size of the sector cache line on the platform (128 bytes currently).
Constraints
None.
Example
The following sample code is for reference only. Do not copy and run it.
1 | compileInfo->sectorCacheLineSize = GetSectorCacheLineSize(context_); |
Parent topic: platform