You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by XiaoXuanwen via Apache TVM Discuss <no...@discuss.tvm.ai> on 2021/11/28 13:34:33 UTC

[Apache TVM Discuss] [Questions] Cache coherency on ZCU102


Hello all:

First of all, please forgive me for my poor English.

We try to test VTA on ZCU102, a problem was found. 

When HPC on PL reads or writes data, the hardware cache coherency can not work.

Modify function VTAMemAlloc:
   void * VTAMemAlloc(size_t size, int cached) {
      ......
      // return cma_alloc(size, cached);
      return cma_alloc( size, 0 );
   }

The VTA can work normally, but the speed is more than ten times slower.


I found hardware cache coherency support by CCI, need to confirm two register values for CCI:
   Snoop Control Register
   Control Override Register

Because the BSP is downloaded from Xilinx's official website, so I think values of these two registers should be correct, and it's hard to confirm its value.

Who knows the reason, can you tell me?

XiaoXuanwen





---
[Visit Topic](https://discuss.tvm.apache.org/t/cache-coherency-on-zcu102/11576/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/45f9d64d74f60b0a18a60aabdbc90115812f3ebb71b51d6c88ff7a6a2010b6ca).