gem5-gpu教程04 高速缓存一致性协议和缓存拓扑
高速缓存一致性协议
gem5-gpu 的一大贡献是允许用户灵活地定义 GPU 和 GPU-CPU 间的缓存一致性协议。此功能由 gem5 的 Ruby 模块实现,该模块使用 SLICC 语言定义一致性协议。更多信息请访问 gem5 wiki:[[http://gem5.org/Ruby]]。
缓存拓扑
The topology of the cache hierarchy in gem5-gpu is implemented with Ruby. gem5-gpu //should// be able to use any topology that Ruby supports (mesh, pt2pt, crossbar, etc).
However, these topologies were created with homogeneous CPU cores in mind.
Using these topologies may result in strange behavior.
For instance, you may have GPU and CPU cores scattered throughout the mesh randomly.
Pt2Pt and crossbar should work fine since they are completely flat topologies.
If you’re interested in using mesh, torus, etc topologies with gem5-gpu send an email to gem5-gpu-dev.
For protocols other than VI_hammer, you can change the topology with the Ruby option --topology.
See gem5/configs