What is the role of "scratchpad memory" in some specialized embedded and GPU architectures, compared to traditional cache?
Correct! Well done.
Incorrect.
The correct answer is A) Scratchpad memory is a fast, on-chip memory explicitly managed by software (the programmer or compiler decides what data goes there), unlike a cache, which is managed automatically by hardware based on access patterns
Correct Answer
Scratchpad memory is a fast, on-chip memory explicitly managed by software (the programmer or compiler decides what data goes there), unlike a cache, which is managed automatically by hardware based on access patterns
Unlike caches, which transparently and automatically cache data based on access patterns, scratchpad memories require explicit software management of what data resides where, offering predictable timing at the cost of increased programming complexity — common in GPUs (shared memory) and DSPs.