Constant scratchpad::CACHE_ALIGNMENT[][src]

pub const CACHE_ALIGNMENT: usize = 64;

Assumed cache line byte alignment.

This may vary from the actual cache line alignment, which can vary between processors types, including those of the same architecture. 64 bytes is typically assumed to be a "safe" target to ensure cache alignment.

Note that since the repr(align) attribute doesn't support named constants, this value is duplicated in the declaration of CacheAligned, so it must be updated in both locations if changed.