在应用时遇到cache一致性问题:
1,我定义的全局变量放在L2内存中,在程序运行时更新L2内存中数据,L1D cache中数据并未更新。TI资料说明L1D cache和L2 MEM的cache一致性是硬件维护的,但我测试时发现并没有。
2,下图是我在memory browser中观察到的数据,我勾选L1D cache选项发现L2中的数据在变化,以此判断数据是否一致,不知道这种方式对不对。
a:L2中的数据(红色数据)
b:勾选L1D cache选项时红色的数据在变化
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.