众所周知,Power8 支持相干加速器处理器接口(interface) (CAPI):https://www.nextplatform.com/2015/06/22/the-secret-of-power8-capi-is-addressing/
Hardware Managed Cache Coherence
- Enables the accelerator to participate in “Locks” as a normal thread Lowers Latency over IO communication model
https://www.microway.com/download/presentation/IBM_POWER8_CPU_Architecture.pdf
“锁”是什么意思?这是否意味着我们可以使用自旋锁来保护共享内存,以便从 CPU 核心和 PCIe 设备(ASIC、FPGA 等)安全地访问它?
即这是否意味着我们可以在 PCI Express 总线上使用自旋锁、原子操作,甚至 LL/SC 原子操作?
最佳答案
因此,P8 不支持 PCIe sig(PCIe 的可选功能)定义的 PCIe 原子。
它确实支持 CAPI 使用的一些专有原子原语。我不知道是否可以从 P8 上的非 CAPI 适配器利用它们。
关于device - Power8可以使用原子操作与通过PCI Express连接的ASIC/FPGA进行通信吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44465085/